I have 2.2.x kernel and I'm using ipchains and ipmasqadm --
I want to forward the ftp port from one computer to another computer but
it doesn't want to do it.  I know about the active and passive modes but I
still cannot get certain commands to act correctly for ftp.  (Things like
ls will not work.)

Here's what I've done (from what I understood):

$ ipchains -I forward -p udp -s 192.168.1.21/32 21 -j MASQ
$ ipchains -I forward -p tcp -s 192.168.1.21/32 21 -j MASQ
$ ipmasqadm portfw -a -P udp -L 192.168.1.1 21 -R 192.168.1.21 21
$ ipmasqadm portfw -a -P tcp -L 192.168.1.1 21 -R 192.168.1.21 21

This doesn't work and I think it has to do with the passive
mode.... anyone let me know what I'm doing wrong please.

Thanks!
Beverly



_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to