update readme: link to example script
This commit is contained in:
parent
49995e6151
commit
96bc69fd6e
|
@ -14,6 +14,8 @@ Launch the `./install.sh` script as root.
|
||||||
|
|
||||||
Place a bash script defining your **iptables** rules into `/opt/firewall/<config_name>.fw` where `<config_name>` is an arbitrary name that makes sense to you.
|
Place a bash script defining your **iptables** rules into `/opt/firewall/<config_name>.fw` where `<config_name>` is an arbitrary name that makes sense to you.
|
||||||
|
|
||||||
|
> An example script is available [here](opt/firewall/example.fw).
|
||||||
|
|
||||||
##### 3/ Enable at boot
|
##### 3/ Enable at boot
|
||||||
|
|
||||||
To enable your rules to load at boot time, simply run `systemctl enable firewall@<config_name>.service`. If you want to execute your script explicitly run `systemctl start firewall@<config_name>.service`.
|
To enable your rules to load at boot time, simply run `systemctl enable firewall@<config_name>.service`. If you want to execute your script explicitly run `systemctl start firewall@<config_name>.service`.
|
||||||
|
|
Loading…
Reference in New Issue