1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
raspap-webgui/config/defaults.json

58 lines
1.9 KiB
JSON
Raw Normal View History

{
"dhcp": {
"wlan0": {
"static ip_address": [ "10.3.141.1/24" ],
"static routers": [ "10.3.141.1" ],
2020-12-06 18:31:03 +01:00
"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" ],
2020-12-06 18:31:03 +01:00
"static domain_name_server": [ "1.1.1.1 8.8.8.8" ],
"subnetmask": [ "255.255.255.0" ]
2020-12-24 13:29:52 +01:00
},
"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": {
2020-12-05 22:49:32 +01:00
"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" ]
}
2021-02-24 00:19:33 +01:00
},
"wireguard": {
2021-02-24 10:12:31 +01:00
"server": {
2021-03-07 11:24:34 +01:00
"Address": [ "10.8.2.1/24" ],
2021-02-24 10:12:31 +01:00
"ListenPort": [ "51820" ],
2021-03-07 11:24:34 +01:00
"DNS": [ "9.9.9.9" ],
2021-03-05 09:32:00 +01:00
"PostUp": [ "iptables -A FORWARD -i wlan0 -o wg0 -j ACCEPT; iptables -A FORWARD -i wg0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT; iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE" ],
"PostDown": [ "iptables -D FORWARD -i wlan0 -o wg0 -j ACCEPT; iptables -D FORWARD -i wg0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT; iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE" ]
2021-02-24 10:12:31 +01:00
},
"peer": {
2021-03-07 11:24:34 +01:00
"Address": [ "10.8.1.2/24" ],
"Endpoint": [ "10.8.2.1:51820" ],
2021-03-07 11:24:34 +01:00
"ListenPort": [ "21841" ],
"AllowedIPs": ["10.8.2.0/24"],
2021-02-24 10:12:31 +01:00
"PersistentKeepalive": [ "15" ]
2021-02-24 00:19:33 +01:00
}
2021-04-20 16:19:00 +02:00
},
"txpower": {
"dbm": [ "auto", "30", "20", "17", "10", "6", "3", "1", "0" ]
}
}
2020-12-24 13:29:52 +01:00