Help config Wireguard Client

uci set network.@wireguard_wgclient[0].route_allowed_ips="0"
uci -q delete network.@wireguard_wgclient[0].allowed_ips
uci add_list network.@wireguard_wgclient[0].allowed_ips="0.0.0.0/1"
uci add_list network.@wireguard_wgclient[0].allowed_ips="128.0.0.0/1"
uci commit network
/etc/init.d/network restart
3 Likes