Koozali.org: home of the SME Server

ssh port forwarding

daniel klumpp

ssh port forwarding
« on: May 17, 2002, 04:01:19 PM »
Hi,

I want to redirect the 5000 port of my e-smith server to an local computer (adress : 192.168.0.201) ssh port (22)

I download and install ipport forwarding contributed rpm, and write the appropriated line. The result in /etc/rc.d/init.d/masq is :

 /usr/sbin/ipmasqadm portfw -a -P tcp -L 195.132.229.216 5000 -R 192.168.0.201 22
    /sbin/ipchains --append input -p tcp -s 0/0 -d $OUTERNET 5000 -j ACCEPT
   
But it doesn't work, connection was refused ... Could anybody help me ?

daniel klumpp

Re: ssh port forwarding
« Reply #1 on: May 18, 2002, 05:46:10 PM »
ok, it's good, thx ;)