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:
Girish Ramakrishnan
2017-03-29 02:18:38 -07:00
parent 4d000e377f
commit 956fe86250
4 changed files with 97 additions and 95 deletions

View 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