diff --git a/services/torrents/config/98-gateway-setup b/services/torrents/config/98-gateway-setup index 29df291..0b05681 100644 --- a/services/torrents/config/98-gateway-setup +++ b/services/torrents/config/98-gateway-setup @@ -10,3 +10,7 @@ echo "Gateway: ${gateway}" echo "Adding route to Wireguard Server via Default Gateway" ip route add ${wgserver%:*}/32 via ${gateway} dev eth0 + +echo "Allow DNS resolution locally" +iptables -A INPUT -i eth0 -p udp -m udp --sport 53 -j ACCEPT +iptables -A OUTPUT -o eth0 -p udp -m udp --dport 53 -j ACCEPT