updated with new scripts
This commit is contained in:
13
etc/systemd/system/iptables.service
Normal file
13
etc/systemd/system/iptables.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=iptables firewall service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/etc/iptables/service.sh start
|
||||
RemainAfterExit=true
|
||||
ExecStop=/etc/iptables/service.sh stop
|
||||
StandardOutput=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user