1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #481 from iiab/master

Sync from iiab/iiab:master
This commit is contained in:
A Holt 2021-04-15 12:38:12 -04:00 committed by GitHub
commit 6a683225c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 5 deletions

View file

@ -68,7 +68,7 @@
state: restarted
when: iiab_wired_lan_iface is defined
- name: Restart hostapd when WiFi is present but not when using WiFi as gateway
- name: Restart hostapd when WiFi is present but not when using WiFi as gateway with wifi_up_down False
systemd:
name: hostapd
state: restarted

View file

@ -62,7 +62,7 @@
name: systemd-networkd
state: restarted
- name: Restart hostapd when WiFi is present but not when using WiFi as gateway$
- name: Restart hostapd when WiFi is present but not when using WiFi as gateway with wifi_up_down False
systemd:
name: hostapd
state: restarted

View file

@ -45,7 +45,6 @@ echo -e "WAN: $wan\n"
# "Good thing we replace this file; should be treated like Squid below" ?
ports_externally_visible={{ ports_externally_visible }}
#services_externally_visible= [deprecated]
gw_block_https={{ gw_block_https }}
sshd_port={{ sshd_port }}
#gui_wan= [no longer needed]

View file

@ -4,8 +4,12 @@ sed -i -e "s/^IIAB_GATEWAY_ENABLED.*/IIAB_GATEWAY_ENABLED=False/" {{ iiab_env_fi
cat << EOF
IIAB Firewall Documentation
http://box.lan/info/IIAB-Networking.html#firewall-iptables
https://github.com/iiab/iiab/wiki/IIAB-Networking#firewall-iptables
WARNING: If you want to _permanently_ change your IIAB's default behavior
(i.e. to specify whether student client devices should have Internet or not,
(i.e. to specify whether student/client devices should have Internet or not,
in general!) then modify variable 'iiab_gateway_enabled' in
/etc/iiab/local_vars.yml — and finally run 'cd /opt/iiab/iiab ; ./iiab-network'
EOF

View file

@ -4,8 +4,12 @@ sed -i -e "s/^IIAB_GATEWAY_ENABLED.*/IIAB_GATEWAY_ENABLED=True/" {{ iiab_env_fil
cat << EOF
IIAB Firewall Documentation
http://box.lan/info/IIAB-Networking.html#firewall-iptables
https://github.com/iiab/iiab/wiki/IIAB-Networking#firewall-iptables
WARNING: If you want to _permanently_ change your IIAB's default behavior
(i.e. to specify whether student client devices should have Internet or not,
(i.e. to specify whether student/client devices should have Internet or not,
in general!) then modify variable 'iiab_gateway_enabled' in
/etc/iiab/local_vars.yml — and finally run 'cd /opt/iiab/iiab ; ./iiab-network'
EOF