Change location of ufw firewall for caddy

This commit is contained in:
Fabian Stamm 2020-12-09 23:47:13 +01:00
parent 0675a6356e
commit 1ed4705a1a
2 changed files with 4 additions and 3 deletions

View File

@ -21,4 +21,6 @@ cp Caddyfile /etc/caddy/
systemctl daemon-reload
systemctl enable caddy
systemctl start caddy
systemctl status caddy
systemctl status caddy
ufw allow proto tcp from 10.25.0.0/24 port 80

View File

@ -9,5 +9,4 @@ bash install.sh
cd ../../..
ufw allow proto tcp from 165.227.144.178/32 port 9100
ufw allow proto tcp from 2a03:b0c0:3:d0::559:4001/128 port 9100
ufw allow proto tcp from 10.25.0.0/24 port 80
ufw allow proto tcp from 2a03:b0c0:3:d0::559:4001/128 port 9100