Hello,
I am having some trouble with configurating my Linux firewall (Redhat -A input -i eth1 -p TCP -s <my IP nr> 1024: -d 0.0.0.0/0 ftp-data -j -A input -i eth0 -p TCP -s 172.16.0.0/16 1024: -d 0.0.0.0/0 auth -j ftp from my Linux firewall to for example: ftp.xs4all.nl goes well ========================================================== 230 Anonymous access granted, restrictions apply. If I use my "sniffer" I see that my NT machine is making the following Does anybody has an idee to solve this problem? Sandro
6.0). I am using the following chains for ftp:
===========================================================================
-A input -i eth1 -p TCP -s <my IP nr> 1024: -d 0.0.0.0/0 ftp -j ACCEPT
-A input -i eth1 -p TCP -s 0.0.0.0/0 ftp -d <my IP nr> 1024: -j ACCEPT
-A input -i eth0 -p TCP -s 172.16.0.0/16 1024: -d 0.0.0.0/0 ftp -j
ACCEPT
-A input -i eth0 -p TCP -s 0.0.0.0/0 ftp -d 172.16.0.0/16 1024: -j
ACCEPT
ACCEPT
-A input -i eth1 -p TCP -s 0.0.0.0/0 ftp-data -d <my IP nr> 1024: -j
ACCEPT
-A input -i eth0 -p TCP -s 172.16.0.0/16 1024: -d 0.0.0.0/0 ftp-data -j
ACCEPT
-A input -i eth0 -p TCP -s 0.0.0.0/0 ftp-data -d 172.16.0.0/16 1024: -j
ACCEPT
ACCEPT
-A input -i eth0 -p TCP -s 0.0.0.0/0 auth -d 172.16.0.0/16 1024: -j
ACCEPT
(this is a must for ftp-ing from NT to my Linux firewall)
===========================================================================
ftp from my NT to my Linux firewall goes well
but ftp from my NT to "ftp.xs4all.nl" fails with the following error:
E:\>ftp ftp.xs4all.nl
Connected to reflectix.xs4all.nl.
220 ProFTPD 1.2.0pre8 Server (XS4ALL FTP Server) [refle
User (reflectix.xs4all.nl:(none)): anonymous
331 Anonymous login ok, send your complete e-mail addre
Password:
230-
Welkom op de FTP server van XS4ALL
----------------------------------
ftp> ls
500 Illegal PORT command.
425 Can't build data connection: Connection refused
==========================================================
actions:
Thanx for reading my problem.
> Resp. to Port 61078, '500 Illegal PORT command'
> Req. from Port 61078, 'NLST'
> Resp. to Port 61078, '425 Can't build data connection: Conn.......