Re: iptables question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux