webbie wrote:
Hello.
Im trying to help a friend in need. Their school only allow port 80 out and he needs to reach his machine on port 22 and 8800. Is there a way, perhaps in iptables, to create a "multible forwarder"?
He has set up a line in PREROUTING that forwards all packets to port 80 from his ipserie to port 22, but he needs it for port 8800 too. Is there a way to make iptables shuffle the packets to the right place depending on hostname (he has only one ip) or something?
- Per Eriksson
If he can ssh to his machine with the existing redirect, he can set up tunnels for whatever else he needs. With just ssh from work to my home system, I can do full screen remote vnc sessions by setting up a tunnel for port 5910. My work PC does this by connecting to "localhost:5910" after the tunnel is set up. Thats how I'm on my home system now. In Linux just add "-L 5910:localhost:5910" to the ssh command. Replace localhost with a different internal address if you need to get to something else behind your firewall. Replace the ports with whatever ports you need. Repeat the -L switch as many times as needed for other ports. If he is stuck with M$ at school, try putty. Its a free ssh client for windows that allows for setting up tunnels pretty easily. -- Louis D. Richards LDR Interactive Technologies