> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Dennis M. Gray
> Sent: Wednesday, 18 December 2002 5:44 PM
> To: 'David'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [SLUG] configuring ftpaccess
>
>
> I think it has to do with my ipchains settings. I have not
> been able to
> figure out entry for allowing ftp. If I turn off ipchains, I can
> connect.
>
> The current entry is ACCEPT     tcp  -y----  anywhere
> anywhere              any ->   ftp
>
> (I intend to restrict it further once I get the entry working but with
> this one, I still cannot connect.)

I've not used ipchains for a very long time... but hrmm I think this rule
would do it, or atleast be close.

UNPRIV="1024:65535"
FTP="20 21"

ipchains -A input -s $ALL $UNPRIV -d 203.x.x.x(an ip on an interface)
$FTP -p tcp -j ACCEPT

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to