mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
fix iptables udp rule
fixes dmesg: ip_tables: udp match: only valid for protocol 17
This commit is contained in:
parent
afdf3ae7a1
commit
3d619d9ccc
1 changed files with 1 additions and 1 deletions
|
@ -756,7 +756,7 @@ configureFirewall() {
|
|||
$SUDO echo "::: Configuring iptables for httpd and dnsmasq.."
|
||||
$SUDO iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
|
||||
$SUDO iptables -A INPUT -p tcp -m tcp --dport 53 -j ACCEPT
|
||||
$SUDO iptables -A INPUT -p tcp -m udp --dport 53 -j ACCEPT
|
||||
$SUDO iptables -A INPUT -p udp -m udp --dport 53 -j ACCEPT
|
||||
else
|
||||
$SUDO echo "::: No firewall detected.. skipping firewall configuration."
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue