centos 6 server port/firewall
#5

Rules are matched top to bottom. Therefore lo0 should be first or you're going to screw yourself over. Then you need to allow traffic with a connection state "related" or "established" and then you can start checking the ports. And instead of blacklisting use whitelisting: make exceptions for the things you want to allow through and then have an unconditional drop as the final rule (you can also set the default policy as drop, but that's dangerous).
Reply


Messages In This Thread
centos 6 server port/firewall - by fiha4155 - 19.06.2017, 09:28
Re: centos 6 server port/firewall - by fiha4155 - 19.06.2017, 09:32
Re: centos 6 server port/firewall - by Astralis - 19.06.2017, 10:05
Re: centos 6 server port/firewall - by Sew_Sumi - 19.06.2017, 10:18
Re: centos 6 server port/firewall - by Vince - 19.06.2017, 10:55
Re: centos 6 server port/firewall - by Blackaslan - 22.06.2017, 08:18

Forum Jump:


Users browsing this thread: 1 Guest(s)