vpn=3 option results in error "sed: unmatched '/'"
Closed this issue · 0 comments
AlexanderPavlenko commented
https://github.com/MartineauUK/Unbound-Asuswrt-Merlin/blob/master/unbound_manager.sh#L2764
# ip route | grep "dev tun13"
0.0.0.0/1 via 10.66.2.1 dev tun13
10.66.2.0/24 dev tun13 proto kernel scope link src 10.66.2.67
128.0.0.0/1 via 10.66.2.1 dev tun13
Sufficient fix?
local VPN_CLIENT_GW=$(ip route | grep "dev tun1${VPN_ID} proto" | awk '{print $NF}')