We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96d7c7a commit cc3e903Copy full SHA for cc3e903
README.md
@@ -37,7 +37,7 @@ firewall_v4_default_rules:
37
- -P OUTPUT ACCEPT
38
- -P FORWARD DROP
39
002 allow loopback:
40
- - -A INPUT -i lo -j ACCEPT
+ - -A INPUT -i lo -s 127.0.0.0/8 -d 127.0.0.0/8 -j ACCEPT
41
003 allow ping replies:
42
- -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
43
- -A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT
@@ -78,7 +78,7 @@ iptables -P OUTPUT ACCEPT
78
iptables -P FORWARD DROP
79
80
# 002 allow loopback
81
-iptables -A INPUT -i lo -j ACCEPT
+iptables -A INPUT -i lo -s 127.0.0.0/8 -d 127.0.0.0/8 -j ACCEPT
82
83
# 003 allow ping replies
84
iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT
0 commit comments