Add firewall service
Docker really insists on adding itself to the top of the FORWARD chain. Making our firewall side-steps this docker design.
This commit is contained in:
12
setup/start/systemd/cloudron-firewall.service
Normal file
12
setup/start/systemd/cloudron-firewall.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Cloudron Firewall
|
||||
After=docker.service
|
||||
PartOf=docker.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart="/home/yellowtent/box/setup/start/cloudron-firewall.sh"
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user