mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-06 05:41:35 +01:00
feat: add transparent proxy iptables loader
This commit is contained in:
13
nginx-iptables.service
Normal file
13
nginx-iptables.service
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Iptables rules for transparent forwarding
|
||||||
|
After=network-online.target
|
||||||
|
After=nginx.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/etc/nginx/iptables.sh
|
||||||
|
ExecStop=/etc/nginxiptables-clear.sh
|
||||||
|
RemainAfterExit=yes
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user