Take it down to add the rule
This commit is contained in:
1 parent
468a84b5cc
commit
249612bf67
1 file changed
+2
@@ -1,3 +1,5 @@
|
|||||||
echo "Ensure Docker DNS requests are not blocked by ufw firewall"
|
echo "Ensure Docker DNS requests are not blocked by ufw firewall"
|
||||||
|
|
||||||
|
sudo ufw disable
|
||||||
sudo ufw allow in proto udp from 172.16.0.0/12 to 172.17.0.1 port 53 comment 'allow-docker-dns'
|
sudo ufw allow in proto udp from 172.16.0.0/12 to 172.17.0.1 port 53 comment 'allow-docker-dns'
|
||||||
|
sudo ufw enable
|
||||||
Reference in new issue
Block a user