mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Allow Docker DNS from 192.168 networks * Only add Docker DNS rule when UFW is active
6 lines
241 B
Bash
6 lines
241 B
Bash
echo "Allow Docker DNS from Docker's 192.168 address pool"
|
|
|
|
if omarchy-cmd-present ufw && sudo ufw status | grep -q "Status: active"; then
|
|
sudo ufw allow in proto udp from 192.168.0.0/16 to 172.17.0.1 port 53 comment 'allow-docker-dns'
|
|
fi
|