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.
This commit is contained in:
parent
3563a411fc
commit
c749dd35f8
6 changed files with 170 additions and 1 deletions
9
modules/rhizo_base/templates/dnsmasq.conf.erb
Normal file
9
modules/rhizo_base/templates/dnsmasq.conf.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue