Open ports of Linux Firewall
I. Linux firewall configuration files and commands
1. RedHat Linux System
This type of system contains various derivatives and related versions of red hat, including RHEL, CentOS, and Fedrora.
Firewall Configuration File:/etc/sysconfig/iptables-config
Service Operation Command: etc/init. d/iptables service iptables {start | stop}
Temporary change command: iptables-save iptables-restore and so on
2. SUSE System
The SUSE system adopts its own firewall system
Firewall Configuration File:/etc/sysconfig/SuSEfirewall2
Firewall Resource Directory:/etc/sysconfig/SuSEfirewall2.d
Service Operation Command:/etc/init. d/SuSEfirewall2_init/etc/init. d/SuSEfirewall2_setup
RcSuSEfirewall2 {start | stop ...}
RcSuSEfirewall2 is a symbolic connection of/etc/init. d/SuSEfirewall2_setup.
Temporary change command: iptables-save iptabels-restore, etc.
3. Firewall System
Based on tables such as filter, nat, mangle, and raw, SUSE is more complex (or more distinctive)