Re: ftp over RH router

Terry Unger <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
On Wed, Mar 12, 2003 at 12:00:23PM -0500, Keith Mastin wrote:
> 
> >
> > Hello all, I have a problem with a RH72 box that I am using as a router
> > with ipchains but I can not get ftp to work from any windows boxes
> > behind the router. ftp works fine from the server, but when I use it in
> > windows I get connected to a site but when I type "ls" I get this:
> >
> > 502 Illegal PORT Command
> > 425 Can't build data connection: Connection refused.
> >
> > I have my firewall accept all input and output and forward set to MASQ
> > all from inside and it still hapens.
> >
> > I remember reading something about needing to load certain modules for
> > some things to be masqued but I have another box where it works fine and
> > I thought with v7.2 it would have been compiled into the kernel anyway.
> >
> >
> > Any advice would be greatly appreciated.
> > Thanks.
> 
> do you have the firewall set to ACCEPT anything from the INT_NET to the
> INT_NET?
> 

yep. This is what I got:

:input ACCEPT
:forward ACCEPT
:output ACCEPT
-A forward -s 192.168.0.0/255.255.255.0 -d 0.0.0.0/0.0.0.0 -i eth1 -j MASQ
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.