Adding docker rule for hblog:80

This commit is contained in:
Samuel Clay 2024-10-24 08:28:39 -07:00
parent 553c3db0a6
commit bfbe5496ca
2 changed files with 4 additions and 1 deletions

View file

@ -18,7 +18,7 @@ groups:
hcount: inventory_hostname.startswith('happ-count')
push: inventory_hostname.startswith('happ-push')
hpush: inventory_hostname.startswith('happ-push')
blogs: inventory_hostname.startswith('blog')
blogs: inventory_hostname.startswith('hblog')
forum: inventory_hostname.startswith('hforum')
node: inventory_hostname.startswith('hnode')

View file

@ -124,6 +124,9 @@
:DOCKER-USER - [0:0]
-A DOCKER-USER -j ufw-user-forward
# Allow traffic on port 80 to Docker containers
-A DOCKER-USER -p tcp --dport 80 -j ACCEPT
-A DOCKER-USER -j RETURN -s 10.0.0.0/8
-A DOCKER-USER -j RETURN -s 172.16.0.0/12
-A DOCKER-USER -j RETURN -s 192.168.0.0/16