You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
1 year ago
|
|
||
|
config interface 'loopback'
|
||
|
option device 'lo'
|
||
|
option proto 'static'
|
||
|
option ipaddr '127.0.0.1'
|
||
|
option netmask '255.0.0.0'
|
||
|
|
||
|
config globals 'globals'
|
||
|
option packet_steering '1'
|
||
|
option ula_prefix 'fd72:4016:00ba::/48'
|
||
|
|
||
|
config device
|
||
|
option name 'br-lan'
|
||
|
option type 'bridge'
|
||
|
list ports 'lan1'
|
||
|
list ports 'lan2'
|
||
|
|
||
|
config interface 'lan'
|
||
|
option device 'br-lan'
|
||
|
option proto 'static'
|
||
|
option ip6assign '60'
|
||
|
list ipaddr '192.168.8.1/24'
|
||
|
list dns '1.1.1.1'
|
||
|
|
||
|
config interface 'wan6'
|
||
|
option device 'wan'
|
||
|
option proto 'dhcpv6'
|
||
|
|
||
|
config interface 'wan'
|
||
|
option device 'wan'
|
||
|
option proto 'dhcp'
|
||
|
|
||
|
config interface 'wg'
|
||
|
option proto 'wireguard'
|
||
|
option private_key 'private_key'
|
||
|
list addresses '0.0.0.0/16'
|
||
|
|
||
|
config wireguard_wg
|
||
|
option public_key 'public_key'
|
||
|
list allowed_ips '0.0.0.0/0'
|
||
|
list allowed_ips '::/0'
|
||
|
option route_allowed_ips '1'
|
||
|
option endpoint_host '0.0.0.0'
|
||
|
option endpoint_port '00000'
|
||
|
option persistent_keepalive '25'
|
||
|
|