On Fri, 21 Mar 2003, P H wrote:
>
>
>
>
> Hello,
>
> I am using shorewall 1.4.0
> 2 interface setup.
> Also using Nat.
>
> My external ip on the gateway firewall is 213.94.193.*.
> Internal ip on that pc is 10.10.1.3
> I want to be able to ssh telnet to the above ip from work, but the only
port
> that seems to be open in work is 21.
> So is it possible that if i ssh telnet from work to the above ip on port 21
> at home that it will route it to port 22.
>
Yes -- to run sshd on the firewall, use:
REDIRECT net 22 tcp 21 - 213.94.193.x
Note that this means that you cannot run an FTP server on that port.
-Tom
--
Tom Eastep \ Shorewall - iptables made easy
Shoreline, \ http://shorewall.sf.net
Washington USA \ teastep@shorewall.net