14,958
edits
| Line 16: | Line 16: | ||
** OS firewall | ** OS firewall | ||
*** {{Linux}} | *** {{Linux}} | ||
**** (1) {{kbd | key = iptables -L}} to list all rules<ref>[http://wiki.centos.org/HowTos/Network/IPTables HowTos/Network/IPTables - CentOS Wiki]</ref> (2) rule with lower line-number will override the rule with higherer line-number<ref>[https://fedoraproject.org/wiki/How_to_edit_iptables_rules?rd=User_talk:Rforlot How to edit iptables rules - FedoraProject]</ref> | **** [http://linux.die.net/man/8/iptables iptables]: (1) {{kbd | key = iptables -L}} to list all rules<ref>[http://wiki.centos.org/HowTos/Network/IPTables HowTos/Network/IPTables - CentOS Wiki]</ref> (2) rule with lower line-number will override the rule with higherer line-number<ref>[https://fedoraproject.org/wiki/How_to_edit_iptables_rules?rd=User_talk:Rforlot How to edit iptables rules - FedoraProject]</ref> | ||
**** [https://fedoraproject.org/wiki/FirewallD FirewallD] rules ex: {{kbd | key = <nowiki>firewall-cmd --list-all-zones</nowiki>}}<ref>[https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7 How To Set Up a Firewall Using FirewallD on CentOS 7 | DigitalOcean]</ref> | **** [https://fedoraproject.org/wiki/FirewallD FirewallD] rules ex: {{kbd | key = <nowiki>firewall-cmd --list-all-zones</nowiki>}}<ref>[https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7 How To Set Up a Firewall Using FirewallD on CentOS 7 | DigitalOcean]</ref> | ||
**** [http://linux.die.net/man/8/semanage SELinux Policy Management] e.g.: {{kbd | key = <nowiki>semanage port -l</nowiki>}} to list open ports | **** [http://linux.die.net/man/8/semanage SELinux Policy Management] e.g.: {{kbd | key = <nowiki>semanage port -l</nowiki>}} to list open ports | ||