I am trying to find out how to use my Linux server as a proxy for VNC (or any app really) for the many workstations I have on my network.
My network is set up like this:
|- Workstation A
|- Workstation B
|- etc. etc....
I have only one NIC on my Linux server.
I can configure all the forwarding with my ADSL router, but this is a pain in the backside and means I have to use static/reserved IP addresses, which isn't ideal for me.
I run a script every 5 mins which updates my hosts file with all the NetBIOS names, so I can address machines by name.
I've looked hard at iptables, but it's so damn confusing I'm really stuck for ideas.
In plain English, what I want to be able to do is:
Forward a range of ports from my ADSL router, to my Linux box (I can do this).
For one port in this range on the Linux box, forward the packet to a different port on a specific workstation. And another port to another specific workstation etc.
Any help would be greatly appreciated.