DROP IPv6 queries properly

This commit is contained in:
quindecim 2020-05-15 13:53:48 -04:00
parent b522759457
commit 9ad20a88fe
1 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,6 @@ MODDIR=${0%/*}
iptables -t nat -A OUTPUT -p tcp ! -d 91.239.100.100 --dport 53 -j DNAT --to-destination 127.0.0.1:5354
iptables -t nat -A OUTPUT -p udp ! -d 91.239.100.100 --dport 53 -j DNAT --to-destination 127.0.0.1:5354
ip6tables -P INPUT DROP
ip6tables -P FORWARD DROP
ip6tables -P OUTPUT DROP
ip6tables -A OUTPUT -p tcp -j DROP
ip6tables -A OUTPUT -p udp -j DROP