update readme: link to example script

This commit is contained in:
Adrien Marquès 2019-08-03 11:54:41 +02:00
parent 49995e6151
commit 96bc69fd6e
1 changed files with 2 additions and 0 deletions

View File

@ -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.
> An example script is available [here](opt/firewall/example.fw).
##### 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`.