I have a RedHat 5.0 server, with kernel 2.0.36, and
all the firewalling, masquerading, etc, options compiled in.
IP Forwarding is also on. I tried this same config with a
Redhat 4.2 server, and the problem repeated itself. This
server connects to internet on a dialup, and is on a lan
(10.0.0.0/8). The input and output rules are accept all.
Forwarding is thus configured:
ipfwadm -F -a m -S 10.0.0.0/8 -D 0/0
Masquerading works for services like ping and telnet,
but FTP doesn't work for all FTP servers. I have ip_masq_ftp
module loaded.. but still i have problems when not in PASV
mode. DIR's and file transfers work for most servers (for ex
ftp.cdrom.com, ftp.redhat.com), in normal (not PASV) mode..
but for a few servers on my ISP, it doesn't. The two servers
are proftp (linux) and Serv-U (NT).. they work from
non-masqueraded hosts fine.
I have tested with diferent FTP clients: ftp from linux,
windows95 ftp, CuteFTP, and the behaviour is the same for all..
PASV mode works fine, but active mode (for those servers)
does not. The funny thing is that if i use LS instead of DIR,
even in active mode, it works.. if i use ls -l, it does not.
I put a sniffer to work, and it shows that it's masquerading
fine... the server attempts a connection from port 20 to my IP,
etc. This data connection is accepted OK, but it only sends
7 bytes of data, then stops (without a FIN, or RST), until the
connection times out...
I dont have a clue as to what else to try... and i need
it to work in active mode, as we will be using clients that
dont have passive mode...
Thanks for any help!
Cristiano Lincoln Mattos Recife / PE / Brazil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]