Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: daniel klumpp on May 17, 2002, 04:01:19 PM

Title: ssh port forwarding
Post by: daniel klumpp 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 ?
Title: Re: ssh port forwarding
Post by: daniel klumpp on May 18, 2002, 05:46:10 PM
ok, it's good, thx ;)