mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"dhcp": {
|
|
"wlan0": {
|
|
"static ip_address": [ "10.3.141.1/24" ],
|
|
"static routers": [ "10.3.141.1" ],
|
|
"static domain_name_server": [ "1.1.1.1 8.8.8.8" ],
|
|
"subnetmask": [ "255.255.255.0" ]
|
|
},
|
|
"uap0": {
|
|
"static ip_address": [ "192.168.50.1/24" ],
|
|
"static routers": [ "192.168.50.1" ],
|
|
"static domain_name_server": [ "1.1.1.1 8.8.8.8" ],
|
|
"subnetmask": [ "255.255.255.0" ]
|
|
},
|
|
"options": {
|
|
"# RaspAP default configuration": null,
|
|
"hostname": null,
|
|
"clientid": null,
|
|
"persistent": null,
|
|
"option rapid_commit": null,
|
|
"option domain_name_servers, domain_name, domain_search, host_name": null,
|
|
"option classless_static_routes": null,
|
|
"option ntp_servers": null,
|
|
"require dhcp_server_identifier": null,
|
|
"slaac private": null,
|
|
"nohook lookup-hostname": null
|
|
}
|
|
},
|
|
"dnsmasq": {
|
|
"wlan0": {
|
|
"dhcp-range": [ "10.3.141.50,10.3.141.255,255.255.255.0,12h" ]
|
|
},
|
|
"uap0": {
|
|
"dhcp-range": [ "192.168.50.50,192.168.50.150,12h" ]
|
|
}
|
|
},
|
|
"wireguard": {
|
|
"server": {
|
|
"Address": [ "10.253.3.1/24" ],
|
|
"ListenPort": [ "51820" ],
|
|
"DNS": [ "10.3.141.1" ]
|
|
},
|
|
"peer": {
|
|
"Endpoint": [ "10.253.3.1/24:51820" ],
|
|
"AllowedIPs": ["0.0.0.0/0"],
|
|
"PersistentKeepalive": [ "15" ]
|
|
}
|
|
}
|
|
}
|
|
|