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.
9 lines
260 B
Text
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
|