puppet/modules/rhizo_base/templates/dnsmasq.conf.erb
Keith Whyte c749dd35f8 Wifi Captive Portal
An implementation of a simple Captive Portal that allows
access to an IP network via forwarding on the same machine
running the GSM core network.

A Wifi AP could be connected to the ethernet port
specified in the hiera as wifi_if (default eth3)
Any Wifi AP can be used, and configured as desired.

In the future, maybe a RADIUS based solution could
supercede this.
2023-08-22 01:52:59 +02:00

9 lines
260 B
Text

keep-in-foreground
interface=<%= @wifi_if %>
listen-address=<%= @wifi_ip %>
port=54
no-resolv
dhcp-range=<%= @wifi_dhcp_range %>
dhcp-option-force=114,http://<%= @wifi_ip %>
dhcp-option-force=6,<%= @wifi_dns %>
dhcp-leasefile=/var/lib/misc/dnsmasq-wifi.leases