* problem related to ftp
@ 2005-12-20 14:31 ammad
2005-12-21 12:57 ` Rob Sterenborg
0 siblings, 1 reply; 2+ messages in thread
From: ammad @ 2005-12-20 14:31 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: problem related to ftp
2005-12-20 14:31 problem related to ftp ammad
@ 2005-12-21 12:57 ` Rob Sterenborg
0 siblings, 0 replies; 2+ messages in thread
From: Rob Sterenborg @ 2005-12-21 12:57 UTC (permalink / raw)
To: ammad; +Cc: netfilter
On Tue, December 20, 2005 15:31, ammad wrote:
> 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
Do you have a passive/active ftp problem ? Did you try to switch from
passive to active (active to passive) and see if it works ?
> 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
Do you load "ip_conntrack_ftp" ?
After reading your email I'm not sure if you need ip_nat_ftp : which
is behind the (iptables) firewall, the client or the server ?
Gr,
Rob
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-21 12:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-20 14:31 problem related to ftp ammad
2005-12-21 12:57 ` Rob Sterenborg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.