ammad
2005-12-20, 07:34 AM CST
i have problem and getting this a bug.(may be)
i am using linux box as firewall+forwarding clients requests to internet. my
problem is that a server of windows ftp2003, and clients are unable to
browse ftp site, while they are able to connect any linux base ftp server on
net. i am also using squid. all of that there isn't any restriction in squid
or iptables.
i can connect from linux box to windows 2003 ftp server.
i flushed all rules, deleted all chains. and default policy to ACCEPT.
and atleast i used this rule but still getting error from client side, when
i check on client
c:\> netstat -a
tcp 172.16.0.22:1044 202.145.23.3:ftp SYN_SENT
and at least connection time out
i am using these two rules only (two)
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -p tcp --dport 21 -j ACCEPT
i am using linux box as firewall+forwarding clients requests to internet. my
problem is that a server of windows ftp2003, and clients are unable to
browse ftp site, while they are able to connect any linux base ftp server on
net. i am also using squid. all of that there isn't any restriction in squid
or iptables.
i can connect from linux box to windows 2003 ftp server.
i flushed all rules, deleted all chains. and default policy to ACCEPT.
and atleast i used this rule but still getting error from client side, when
i check on client
c:\> netstat -a
tcp 172.16.0.22:1044 202.145.23.3:ftp SYN_SENT
and at least connection time out
i am using these two rules only (two)
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -p tcp --dport 21 -j ACCEPT