Re: firewall config file?

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

 



On Tue, 2004-07-20 at 13:37, Jonathan T. Steadman wrote:
> How do I make it so I dont have to redo firewall settings everytime I
> restart, is there a config file?  some ports stay open, but like pop and
> imap I have to redo every time manually.  

You can do this several different ways.

You can edit the file /etc/sysconfig/iptables and add rules to that
file.  When you do issue a service iptables restart to read the file
again.

Another way if you prefer a GUI is to run system-config-securitylevel. 
At the bottom of the window you can add what ever ports you need in the
form of 110:tcp, 137:udp, 138:udp, 139:tcp, 445:tcp  etc.  (note there
are commas between the ports.

The GUI will write out the /etc/sysconfig/iptables file for you and I
believe restarts iptables with the new rules.  The GUI also has a few
standard ports you can just select like ftp, ssh, smtp, http.

-- 
Scot L. Harris
webid@xxxxxxxxxx

Comedy, like Medicine, was never meant to be practiced by the general public. 



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

  Powered by Linux