This website works better with JavaScript.
Home
Explore
Help
Sign In
ricardo.leite
/
firewall
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Added firewall init systemd script
main
Ricardo Leite
4 years ago
parent
b3d8d9ffd1
commit
b056e28811
1 changed files
with
13 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+13
-0
firewall-init.service
+ 13
- 0
firewall-init.service
View File
@ -0,0 +1,13 @@
# copy to /etc/systemd/system/
[Unit]
Description
=
Firewall Init
After
=
network.target iptables.service firewalld.service fail2ban.service
Before
=
docker.service
[Service]
Type
=
oneshot
RemainAfterExit
=
yes
ExecStart
=
/etc/network/firewall/init.sh
[Install]
WantedBy
=
multi-user.target
Write
Preview
Loading…
Cancel
Save