So it looks like you have a problem getting out on port 22 on the remote box, yes?
On the firewall do..
iptables -t nat -A PREROUTING -i eth? -s 188.8.131.52 -p tcp --dport 443 -j REDIRECT --to-ports 22
It is recommended using the -i eth? specifier to restrict the rule to the inernet interface.
Change the ? to the eth number.. You can read man iptables to get an explanation of REDIRECT
Of course using port 80, the remote ip number will not be able to browse the web server at your address..
I have suggested using port 443, usually used for https. It should be open at the remote site..
You may encounter an http proxy at the remote end which may block this working..
Depending on restrictions at the remote end, you may have to find a free port, eg 123 ntp time..
Last edited by peter_robb; 02-22-2005 at 08:31 AM.