Cheers Wayne, I was interested in using the single IP address and doing port forwarding but I was not sure if I could change the VNC viewer target port address as I could not see it in the options pane on the version running on my Linux box. If it is a command line switch then that would be great, I could even write a shell script that takes names as a parameter and does the port numbers for me i.e.
./vncview.sh "username"
I refer to the users mostly by name. This script could then execute vncviewer with the correct port switch and then solve my problem.
BT does charge an extra £10 per month for the addresses (up to 5). At the moment the client has network 1000 which is overkill as it comes with it's own router and up to 5 static IP's, I could downgrade the package and make them some savings as they only really need one static IP address if I use the above solution. The problem I have is that the contract is up soon and I think they only allow downgrading at end of contract, this is fine except that I go on holiday on Tues for two weeks and the contract gets renewed on 2nd September which means I will still be away.
The network 1000 has some 8hr service level guarantee which for the sake of £30 may not be sacrificing. hmmm....
But then again....The next package down is only £30 and after the upgrade of the hardware with a newer netgear router/modem they will not be using the BT supplied router anyway so perhaps the 8hr reponse will be wasted as this is mainly used to replace the hardware. The 2mb £30 business broadband package can have static IP address too, if I use NAT and port forwarding I could save them £35 each month and give them a better soution at the same time, I could use the surplus to buy a backup netgear router and configure and keep ready to swap out incase of a hardware failure. I am thinking I could up the consultancy fee here......savings and that!
Wayne Stallwood wrote:
On Sun, 2005-08-21 at 00:58 +0100, David Simon Cooper wrote:
What I meant about the static IP's was this. I get three static IP addresses assigned, create static routes on the router then connect straight through to the boxes individually just using the static IP's and static NAT. I would of course only allow in the VNC ports. I thought this combined with the user app being loaded and unloaded on request would mean a fairly secure and simple solution. I have never used a VPN and do not know what it is, I may read up on it and learn the functionality before making a decision.
Rather than doing that I would go with NAT and Port Forwarding.
i.e You have an internal address range of say 192.168.0.1-255.255.255.0 You then set up your router to forward a different port to each machine so 5901 goes to a machine on 192.168.0.2 5902 goes to 192.168.0.3 and so on.
On Netgear's I don't think you can do a port redirection at the same time as port forwarding (you can't on our one at work anyway) so you would have to set the vnc server on each machine to run on the correct port for that machine (so machine 192.168.0.3 would need the vnc server running on 5902.)
With this way you would connect to a single fixed ip address but have different machines available in the same way that user sessions are on a Linux VNC host. i.e. customeripaddrees:1 would be machine 1 customeripaddress:2 would be machine 2
This works because without the :number vnc assumes port 5900 (default for Windows because there is only one session) and the bit after the colon defines the session specific port hence you get 5901 5902 etc.
The advantage of doing it this way is that it is more scalable because you don't have to ask the ISP for another address every time you add a machine (also I seem to remember BT charging monthly for extra fixed IP addresses)
But I'd still look into the VPN option, it may be overkill for your current needs..but they are still very useful things to understand.
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!