captive.whump.shanti-portal/docs/examples/iptables
Stefan Midjich 8316a43805 demonstrate use of ipset 2017-11-15 10:57:00 +01:00
..
README.md more docs and examples. 2016-12-13 15:33:20 +01:00
cp_iptables.sh.j2 more docs and examples. 2016-12-13 15:33:20 +01:00
iptables.j2 demonstrate use of ipset 2017-11-15 10:57:00 +01:00
rmtrack.sh.j2 more docs and examples. 2016-12-13 15:33:20 +01:00

README.md

IPtables example

The example is written for Ansible so it contains Jinja2 brackets for things like input NIC, output NIC and other items important for a captive portal firewall configuration.

Server configurations vary so it's not applicable to any situation but it might help as guidance and it's well commented.

Script examples

They're also written as Ansible templates because I copy them straight from my Ansible playbooks for deploying the captive portal. But it matters less for them, no important values to keep track of, everything is argument input.