mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
conditional captive portal
This commit is contained in:
parent
656d7caeb0
commit
6a47aa024f
1 changed files with 3 additions and 1 deletions
|
@ -4,8 +4,10 @@ bogus-priv
|
|||
#server=/{{ iiab_domain }}/{{ iiab_hostname }}
|
||||
# Add local-only domains here, queries in these domains are answered from /etc/hosts or DHCP only.
|
||||
local=/{{ iiab_domain }}/
|
||||
{% if captive_portal_enabled == "True" %}
|
||||
# Make all host names resolve to the Raspberry Pi's IP address
|
||||
#address=/#/{{ lan_ip }}
|
||||
address=/#/{{ lan_ip }}
|
||||
{% endif %}
|
||||
# Specify the interface that will listen for DHCP and DNS requests
|
||||
interface={{ iiab_lan_iface }}
|
||||
# Set the domain for dnsmasq
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue