# /etc/config/network
config interface 'wg1111'
option proto 'wireguard'
# 客户端私钥
option private_key 'xxxxxxxxxxxxxxxxxxx'
list addresses '10.1.1.2/32'
list dns '223.5.5.5'
config wireguard_wg1111
option description '导入对端配置'
# 服务器公钥
option public_key 'xxxxxxxxxxxxxxxxxxxx'
option endpoint_host '171.213.155.81'
option endpoint_port '2023'
option persistent_keepalive '25'
list allowed_ips '10.1.1.1/24'
option route_allowed_ips '1'