mirror of
https://github.com/Telecominfraproject/wlan-docs.git
synced 2025-11-04 12:48:08 +00:00
GitBook: [2.1.0] one page modified
This commit is contained in:
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user