iptables question
Thomas Sapp
tpsapp at hotmail.com
Tue Jul 27 02:21:05 UTC 2004
On Mon, 2004-07-26 at 19:07, Christopher K. Johnson wrote:
> Thomas Sapp wrote:
>
> >Can anyone help me with what I am doing wrong? How do I add the ACCEPT
> >and the state? I have tried --state but it keeps telling me that it is
> >an incorrect option.
> >
> >
> >
> Edit /etc/sysconfig/iptables and insert your "-s 204.99.118.0/24" into
> the ssh rule there, then duplicate it and change the port number for
> each of your desired tcp services.
>
> Notice that the magic is to put "-m state" before "--state..."
>
> Also if you are running an ftp server you may need to edit
> /etc/sysconfig/iptables-config to load the ip_nat_ftp module.
>
> --
> -----------------------------------------------------------
> "Spend less! Do more! Go Open Source..." -- Dirigo.net
> Chris Johnson, RHCE #807000448202021
Thank you very much. That worked perfectly. I'll try to see what else
I can learn but this is a good start. :-)
--
Thanks,
Tom Sapp
http://www.sappsworld.com
More information about the users
mailing list