더북(TheBook)

7. Iptables 서비스를 재시작하고 status를 확인합니다.

[root@controller ~]# systemctl restart iptables
[root@controller ~]# systemctl status iptables
 iptables.service - IPv4 firewall with iptables
    Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled; vendor 
preset: disabled)
    Active: active (exited) since 금 2016-07-22 23:48:41 KST; 7s ago
   Process: 5143 ExecStop=/usr/libexec/iptables/iptables.init stop 
(code=exited, status=0/SUCCESS)
   Process: 5194 ExecStart=/usr/libexec/iptables/iptables.init start 
(code=exited, status=0/SUCCESS)
 Main PID: 5194 (code=exited, status=0/SUCCESS)

 7월 22 23:48:41 controller systemd[1]: Starting IPv4 firewall with 
iptables...
 7월 22 23:48:41 controller iptables.init[5194]: iptables: Applying firewall 
rules: [  OK  ]
 7월 22 23:48:41 controller systemd[1]: Started IPv4 firewall with iptables.
신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.