Skip to content

Instantly share code, notes, and snippets.

@trevphil
Created December 17, 2018 22:52
Show Gist options
  • Save trevphil/2734524812f8a1b53f3c09ec35656a1f to your computer and use it in GitHub Desktop.
Save trevphil/2734524812f8a1b53f3c09ec35656a1f to your computer and use it in GitHub Desktop.
Configuration for nodogsplash captive portal
GatewayInterface wlan1
FirewallRuleSet authenticated-users {
FirewallRule allow all
}
FirewallRuleSet preauthenticated-users {
FirewallRule allow tcp port 53
FirewallRule allow udp port 53
}
FirewallRuleSet users-to-router {
FirewallRule allow udp port 53
FirewallRule allow tcp port 53
FirewallRule allow udp port 67
FirewallRule allow tcp port 22
FirewallRule allow tcp port 80
FirewallRule allow tcp port 443
}
GatewayName Hotspot
GatewayAddress 10.0.10.1
GatewayPort 2050
MaxClients 250
SessionTimeout 0
PreAuthIdleTimeout 10
AuthIdleTimeout 120
CheckInterval 30
MACMechanism block
BlockedMACList none
AllowedMACList none
TrustedMACList none
TrafficControl no
DownloadLimit 0
UploadLimit 0
GatewayIPRange 0.0.0.0/0
DebugLevel 5
fasport 8000
faspath /
fas_secure_enabled 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment