Hello, When i did the basic CentOS install i selected incoming ssh, ftp, www, and smtp in the configuration dialog. Now my needs have changed and i'd like to add to those rules with samba, this box runs it, and bacula the client. I was wondering a howto on what to put, i know the ports i need, or a web configuration util? Thanks. Dave.
Hi,
I believe:
/usr/bin/system-config-securitylevel
does what you need.
A.
Hello, When i did the basic CentOS install i selected incoming ssh, ftp, www, and smtp in the configuration dialog. Now my needs have changed and i'd like to add to those rules with samba, this box runs it, and bacula the client. I was wondering a howto on what to put, i know the ports i need, or a web configuration util? Thanks. Dave.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hello, Thanks for your reply. I used system-config-securitylevel during the initial install, now i'd like to add tcp and udp ports. When adding rules am i going to have to reenter rules for dhcp/dns/ntp? I'd still like those services to work. What i mean is if i run system-config-securitylevel or another app will it overwrite my file and i have to reenter all my rules? Thanks. Dave.
----- Original Message ----- From: "Andrew Bogecho" andrewb@cs.mcgill.ca To: "CentOS mailing list" centos@centos.org Sent: Wednesday, April 11, 2007 9:57 PM Subject: Re: [CentOS] CentOS Firewall configuration
Hi,
I believe:
/usr/bin/system-config-securitylevel
does what you need.
A.
Hello, When i did the basic CentOS install i selected incoming ssh, ftp, www, and smtp in the configuration dialog. Now my needs have changed and i'd like to add to those rules with samba, this box runs it, and bacula the client. I was wondering a howto on what to put, i know the ports i need, or a web configuration util? Thanks. Dave.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hello, Thanks for your reply. I used system-config-securitylevel during the initial install, now i'd like to add tcp and udp ports. When adding rules am i going to have to reenter rules for dhcp/dns/ntp? I'd still like those services to work. What i mean is if i run system-config-securitylevel or another app will it overwrite my file and i have to reenter all my rules? Thanks. Dave.
Hi Dave,
system-config-securitylevel updates the /etc/sysconfig/iptables file. It will show you your current state when you start the app, and any changes you make will be saved to the file as well as affect your firewall state.
If you were already editing rules by hand, then it is probably best to continue that way. You can also have a look at what Ford mentioned for more complex needs.
Best of luck.
A.
----- Original Message ----- From: "Andrew Bogecho" andrewb@cs.mcgill.ca To: "CentOS mailing list" centos@centos.org Sent: Wednesday, April 11, 2007 9:57 PM Subject: Re: [CentOS] CentOS Firewall configuration
Hi,
I believe:
/usr/bin/system-config-securitylevel
does what you need.
A.
Hello, When i did the basic CentOS install i selected incoming ssh, ftp, www, and smtp in the configuration dialog. Now my needs have changed and i'd like to add to those rules with samba, this box runs it, and bacula the client. I was wondering a howto on what to put, i know the ports i need, or a web configuration util? Thanks. Dave.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hello, You can give this a try: system-config-securitylevel-tui
However, I highly suggest you spend some time reading up on how to control iptables yourself. There are some decent scripts out there such as monmotha's firewall, or fwbuilder, and another one that was curses based that I had run across not too long ago.
Also, Webmin has an OK interface to iptables, however, you need somewhat of an understanding to create a decent firewall. There is also shorwall, but that would probably be overkill for what you need.
-Ford
Dave wrote:
Hello, When i did the basic CentOS install i selected incoming ssh, ftp, www, and smtp in the configuration dialog. Now my needs have changed and i'd like to add to those rules with samba, this box runs it, and bacula the client. I was wondering a howto on what to put, i know the ports i need, or a web configuration util? Thanks. Dave.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos