Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:services:captive-portal:wireless.hotspot.nodogsplash [2018/05/24 14:01] – major config section overhaul - now up to date with the latest version josephmarlin | docs:guide-user:services:captive-portal:wireless.hotspot.nodogsplash [2019/04/30 10:59] – [Nodogsplash Configuration File] someothertime | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| The secure wireless is bridged to the hard-wired ports, the hotspot is separate and isolated from the local network. | The secure wireless is bridged to the hard-wired ports, the hotspot is separate and isolated from the local network. | ||
| + | |||
| + | Official documentation: | ||
| + | |||
| + | ===== Overview ===== | ||
| + | |||
| + | The nodogsplash captive portal runs as a service that manages client traffic over a router by adjusting firewall rules based on client tracking tools that interact with a users browser and client network requests. | ||
| + | |||
| + | In order to fully setup user and password authentication or more complex configuration. You will need to read the linked documentation to gain better understanding of the layers that are involved. | ||
| + | |||
| + | Usually this will require some basic script/web source editing and web server setup and modification. On Openwrt if user credentials are to be local to the router this will also need to be considered. | ||
| + | |||
| ===== Installation ===== | ===== Installation ===== | ||
| Line 19: | Line 30: | ||
| </ | </ | ||
| - | By default nodogsplash is disabled after install; change " | + | In **/ |
| + | < | ||
| + | option enabled 1 | ||
| + | </ | ||
| - | Use "/ | + | Enable and start the nodogsplash ( NDS ) service. |
| + | < | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| - | Use "/ | + | Some useful commands are listed below. |
| + | < | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| See https:// | See https:// | ||
| Line 35: | Line 58: | ||
| Older versions use ''/ | Older versions use ''/ | ||
| - | The "/ | + | The "/ |
| Below is a documented version of the "/ | Below is a documented version of the "/ | ||
| Line 239: | Line 262: | ||
| # password when authenticating. | # password when authenticating. | ||
| # option password ' | # option password ' | ||
| - | |||
| # Set to yes (or true or 1), to require a username matching | # Set to yes (or true or 1), to require a username matching | ||
| Line 252: | Line 274: | ||
| # a user is forced to reauthenticate. | # a user is forced to reauthenticate. | ||
| # option passwordattempts ' | # option passwordattempts ' | ||
| - | |||
| - | # Set to yes (or true or 1), to enable traffic control in Nodogsplash. | ||
| - | # option trafficcontrol ' | ||
| - | |||
| - | # If TrafficControl is enabled, this sets the maximum download | ||
| - | # speed to the GatewayInterface, | ||
| - | # For example if you have an ADSL connection with 768 kbit | ||
| - | # download speed, and you want to allow about half of that | ||
| - | # bandwidth for the GatewayInterface, | ||
| - | # A value of 0 means no download limiting is done. | ||
| - | # option downloadlimit ' | ||
| - | |||
| - | # If TrafficControl is enabled, this sets the maximum upload | ||
| - | # speed from the GatewayInterface, | ||
| - | # For example if you have an ADSL connection with 128 kbit | ||
| - | # upload speed, and you want to allow about half of that | ||
| - | # bandwidth for the GatewayInterface, | ||
| - | # A value of 0 means no upload limiting is done. | ||
| - | # option uploadlimit ' | ||
| # By setting this parameter, you can specify a range of IP addresses | # By setting this parameter, you can specify a range of IP addresses | ||
| Line 299: | Line 302: | ||
| </ | </ | ||
| + | ==== mwan3 Compatibility ==== | ||
| + | |||
| + | NDS and mwan3 both mess with iptables. As such they need a little extra configuration sometimes to work together. | ||
| + | |||
| + | **NDS 0.9** | ||
| + | |||
| + | Add the following lines to / | ||
| + | < | ||
| + | FW_MARK_AUTHENTICATED 262144 | ||
| + | FW_MARK_TRUSTED 131072 | ||
| + | FW_MARK_BLOCKED 65536 | ||
| + | </ | ||
| + | |||
| + | **NDS 1.0** | ||
| + | |||
| + | Make the following changes per [[https:// | ||
| + | |||
| + | In / | ||
| + | < | ||
| + | list fw_mark_authenticated ' | ||
| + | list fw_mark_trusted ' | ||
| + | list fw_mark_blocked ' | ||
| + | </ | ||
| + | |||
| + | In / | ||
| + | < | ||
| + | config globals ' | ||
| + | </ | ||
| + | |||
| + | **NDS 2.0** | ||
| + | // | ||
| ==== Check status ==== | ==== Check status ==== | ||
| Line 478: | Line 512: | ||
| </ | </ | ||
| - | **NOTE: In Attitude Adjustment 12.09 there is no '' | + | NOTE: In Attitude Adjustment 12.09 there is no '' |
| For bandwidth control in **Attitude Adjustment 12.09** you can install [[http:// | For bandwidth control in **Attitude Adjustment 12.09** you can install [[http:// | ||