这个问题整了我一天,真心没有感觉firewall有哪里好用了,除了麻烦还是麻烦,就像直接卸载掉,但是貌似不能卸载,只能禁用了,禁用后iptable也么有法用,直接报错:
● iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-07-03 21:38:16 CST; 53s ago
Process: 3813 ExecStart=/usr/libexec/iptables/iptables.init start (code=exited, status=1/FAILURE)
Main PID: 3813 (code=exited, status=1/FAILURE)
Jul 03 21:38:16 localhost.localdomain systemd[1]: Starting IPv4 firewall with iptables...
Jul 03 21:38:16 localhost.localdomain iptables.init[3813]: iptables: Applying firewall rules: iptables-restore: line 2 failed
Jul 03 21:38:16 localhost.localdomain iptables.init[3813]: [FAILED]
Jul 03 21:38:16 localhost.localdomain systemd[1]: iptables.service: main process e