GitBook: [2.1.0] one page modified

This commit is contained in:
Chris Busch
2021-08-20 14:24:27 +00:00
committed by gitbook-bot
parent 34dc6ec153
commit 38dad19602

View File

@@ -33,6 +33,8 @@ Within `"third-party"` will be the necessary CoovaChilli configuration parameter
} }
``` ```
### NAT Mode
Associate to an interface: Associate to an interface:
```text ```text
@@ -58,7 +60,7 @@ Associate to an interface:
}, },
"ssids": [ "ssids": [
{ {
"name": "chilli-redirect", "name": "Hotspot SSID Name",
"wifi-bands": [ "wifi-bands": [
"2G", "5G" "2G", "5G"
], ],
@@ -68,3 +70,41 @@ Associate to an interface:
} }
``` ```
### Bridge Mode
In the above example, captive portal redirection occurs via a NAT interface on LAN side or `"downstream"` role.
When a direct to WAN presentation, or bridge mode operation is desired, associate the service to the `"upstream"` interface.
Associate to an interface:
```text
"interfaces": [
{
"name": "WAN",
"role": "upstream",
"services": [ "chilli-redirect" ],
"ethernet": [
{
"select-ports": [
"WAN*"
]
}
],
"ipv4": {
"addressing": "dynamic"
},
"ssids": [
{
"name": "Hotspot SSID Name",
"wifi-bands": [
"2G", "5G"
],
"bss-mode": "ap"
}
]
},
```