Browse Source

use same syntax for all ip6tables rules

systemd
Gregory Colpart 6 years ago
parent
commit
2d2fded0ac
  1. 4
      firewall.rc

4
firewall.rc

@ -89,8 +89,8 @@ NTPOK='0.0.0.0/0'
#/sbin/ip6tables -A OUTPUT -o $INT -p udp --dport 33434:33523 --match state --state NEW -j ACCEPT
# Allow DHCPv6
/sbin/ip6tables -t filter -A INPUT -i $INT -p udp --dport 546 -d fe80::/64 -j ACCEPT
/sbin/ip6tables -t filter -A OUTPUT -o $INT -p udp --dport 547 -j ACCEPT
/sbin/ip6tables -A INPUT -i $INT -p udp --dport 546 -d fe80::/64 -j ACCEPT
/sbin/ip6tables -A OUTPUT -o $INT -p udp --dport 547 -j ACCEPT
################### IPv4 Specific rules
# /sbin/iptables ...
Loading…
Cancel
Save