2021-04-12 17:10:45 +00:00
|
|
|
#!/bin/bash
|
|
|
|
sed -i -e "s/^IIAB_GATEWAY_ENABLED.*/IIAB_GATEWAY_ENABLED=False/" {{ iiab_env_file }}
|
|
|
|
/usr/bin/iiab-gen-iptables
|
2021-04-13 04:37:44 +00:00
|
|
|
|
|
|
|
cat << EOF
|
2021-04-13 05:08:49 +00:00
|
|
|
|
2021-04-14 10:55:41 +00:00
|
|
|
IIAB Firewall Documentation
|
|
|
|
http://box.lan/info/IIAB-Networking.html#firewall-iptables
|
|
|
|
https://github.com/iiab/iiab/wiki/IIAB-Networking#firewall-iptables
|
|
|
|
|
2021-04-13 04:37:44 +00:00
|
|
|
WARNING: If you want to _permanently_ change your IIAB's default behavior
|
2021-04-14 12:00:55 +00:00
|
|
|
(i.e. to specify whether student/client devices should have Internet or not,
|
2021-04-13 04:37:44 +00:00
|
|
|
in general!) then modify variable 'iiab_gateway_enabled' in
|
2022-11-02 05:14:40 +00:00
|
|
|
/etc/iiab/local_vars.yml — and finally run: sudo iiab-network
|
2021-04-13 04:37:44 +00:00
|
|
|
EOF
|