i posted allot of threads related to ftp and iptables but unable to resolve problem yet. i am using fc4 and rhel 4.
current configuration
1. removed all rules and default policy to ACCEPT
2. only squid is running
ftp_user
squid@home.net
ftp_passive on
ftp_sanitycheck on
acl home 10.0.0.0/8
http_access allow home
3. no protocol restriction/block
clients are able to browse any http site and ftp sites.
e.g
ftp://204.152.191.5/pub/software/web/bwgraph/
kernel.org ftp site
but a client using its personal ftp server on net with username/password authentication.
he is getting ftp problem. the error meesage is
"Windows cannot access this folder. Make sure you typed the file name correctly an that you have permission to access the folder Details: The operation timed out"
i am using anonymous user the default of MSIE,
but when i use dialup on system directly connected on internet the ftp server prompts for username and password.
and when i am behind linux squid windows system doesn't prompt me for authenticaion and gives above problem.
note that i flushed all rules. but in problem.
if i use only this rule
[B]iptables -t nat A POSTROUTING -j MASQUERADE [\B]
every thing works fine. and i don't want to use nat.
if any one knows this problem please help me.