[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with Firewall and FTP



Hi all,

I've a (for me) confusing problem with my Firewall and FTP.

I can connect to the server, list files, download files and so on, it all
works fine, but when I try to access the server with dselect for updating
my system or installing new files, I only get tomeouts :(
When I shut down the Firewall, all works fine..dselect and normal ftp..

Thiss seems to tell me, that the problem is the firewall, but why does it
work with manual ftp, but doesent with dselect?

I'm green to ipchains and the protocols, but I think the following lines
(which I have in my Firewall config.) should allow active and passive ftp:

"-A output -s [$myIP] 1024: --dport 21 -p tcp -i eth0 -j ACCEPT"
"-A input --sport 21 -d [$myIP] 1024: -p tcp -i eth0 -j ACCEPT ! -y"
"-A output -s [$myIP] 1024: --dport 20 -p tcp -i eth0 -j ACCEPT ! -y"
"-A input --sport 20 -d [$myIP] 1024: -p tcp -i eth0 -j ACCEPT"

Did I miss anything? Is there a failure?
Would be nice if someone can help me..

So long
Sebastian Heckrodt




Reply to: