15 lines
295 B
Plaintext
15 lines
295 B
Plaintext
[Unit]
|
|
Description=IPv4 Firewall with iptables
|
|
After=network.target
|
|
|
|
[Service]
|
|
SyslogIdentifier="ipt-gateway"
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/local/sbin/ipt-firewall-gateway start
|
|
ExecStop=/usr/local/sbin/ipt-firewall-gateway stop
|
|
User=root
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|