mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-20 07:53:01 +02:00
firewall: Rename GUIINPUT chain to ICMPINPUT.
The name of the chain does not really explain what it does.
This commit is contained in:
@@ -120,10 +120,10 @@ iptables_init() {
|
||||
iptables -N IPTVFORWARD
|
||||
iptables -A FORWARD -j IPTVFORWARD
|
||||
|
||||
# filtering from GUI
|
||||
iptables -N GUIINPUT
|
||||
iptables -A INPUT -j GUIINPUT
|
||||
iptables -A GUIINPUT -p icmp --icmp-type 8 -j ACCEPT
|
||||
# Allow to ping the firewall.
|
||||
iptables -N ICMPINPUT
|
||||
iptables -A INPUT -j ICMPINPUT
|
||||
iptables -A ICMPINPUT -p icmp --icmp-type 8 -j ACCEPT
|
||||
|
||||
# Accept everything on loopback
|
||||
iptables -N LOOPBACK
|
||||
|
||||
Reference in New Issue
Block a user