10.11 Linux Network related
Ifconfig-a can display the disabled or down network card;
Start the network card #ifup ens33; Disable the network card #ifdown Ens33;
Nic configuration file/etc/sysconfig/network-script/ifcfg-ens33
Copy Create virtual network adapter profile, #cd /etc/sysconfig/network-script/
#cp Ifcfg-ens33 ifcfg-ens33\:0
#vi!$
10.12 Firewalld and NetFilter
Getenforce View firewall status;
10.13 NETFILTER5 Table 5 Chain Introduction
View NetFilter instructions, #man netfilter;
10.14 iptables Syntax
Rules Save directory,/etc/sysconfig/iptables
-a add added;
-I insert insertion;
-D Delete delete;
-Z Zero 0;
Show rule serial number #iptables-nvl--line-numbers
Delete the first rule #iptables-d INPUT 1
-p policy Default rule; #iptables-p input drop causes disconnection; #iptables-P input ACCEPT;
Extensions (SELinux understands)
1. SELinux Tutorial Http://os.51cto.com/art/201209/355490.htm
2.selinux PDF ebook Http://pan.baidu.com/s/1jGGdExK
Linux Study notes seven week three lessons (March 21)