Skeptical.me
Very Senior Member
Err the command does not to be altered, the string literal '[[:digit:]]' means any digit will match in the grep search expression.
Please retry without modifying the command.
Thanks for your patients.
nvram show | grep vpn_client[[:digit:]]_clientlist
Code:
xxxx@RT-AC86U-1960:/tmp/home/root# nvram show | grep vpn_client[[:digit:]]_clientlist
vpn_client1_clientlist=<C3P0>192.168.1.128>0.0.0.0>WAN<Telstra TV>192.168.1.150>0.0.0.0>WAN<QNAPANATOR>192.168.1.219>0.0.0.0>WAN<iPhone-X>192.168.1.236>0.0.0.0>VPN<iPad>192.168.1.139>0.0.0.0>VPN<C3P0 WiFi>192.168.1.94>0.0.0.0>WAN<R2D2>192.168.1.111>0.0.0.0>WAN<Time Machine>192.
size: 67557 bytes (63515 left)
vpn_client1_clientlist1=168.1.158>0.0.0.0>WAN<CAMONE>192.168.1.233>0.0.0.0>WAN<ATV 4K>192.168.1.217>0.0.0.0>WAN
vpn_client1_clientlist2=
vpn_client1_clientlist3=
vpn_client1_clientlist4=
vpn_client1_clientlist5=
vpn_client2_clientlist=<QNAPANATOR>192.168.1.219>0.0.0.0>WAN<R2D2>192.168.1.111>0.0.0.0>VPN<C3P0>192.168.1.128>0.0.0.0>WAN<ATV 4K>192.168.1.217>0.0.0.0>VPN<Time Machine>192.168.1.158>0.0.0.0>VPN<CAMONE>192.168.1.233>0.0.0.0>VPN<C3P0 WiFi>192.168.1.94>0.0.0.0>WAN<Telstra TV 2>19
vpn_client2_clientlist1=2.168.1.150>0.0.0.0>WAN<iPad>192.168.1.139>0.0.0.0>WAN<iPhone-X>192.168.1.236>0.0.0.0>WAN
vpn_client2_clientlist2=
vpn_client2_clientlist3=
vpn_client2_clientlist4=
vpn_client2_clientlist5=
vpn_client3_clientlist=<B8:CA:3A:BE:4F:7E>192.168.1.111>0.0.0.0>VPN<C3P0>192.168.1.128>0.0.0.0>WAN<70:73:CB:B3:4B:4D>192.168.1.158>0.0.0.0>VPN<DC:56:E7:31:90:08>192.168.1.217>0.0.0.0>VPN<24:5E:BE:1E:B6:8F>192.168.1.219>0.0.0.0>WAN<00:1A:70:9F:A7:EF>192.168.1.233>0.0.0.0>VPN<iPh
vpn_client3_clientlist1=one-X>192.168.1.236>0.0.0.0>VPN<28:F0:76:68:40:12>192.168.1.94>0.0.0.0>WAN<iPad>192.168.1.139>0.0.0.0>VPN
vpn_client3_clientlist2=
vpn_client3_clientlist3=
vpn_client3_clientlist4=
xxxx@RT-AC86U-1960:/tmp/home/root# nvram show | grep vpn_client[[:digit:]]_clientlist
vpn_client1_clientlist=<C3P0>192.168.1.128>0.0.0.0>WAN<Telstra TV>192.168.1.150>0.0.0.0>WAN<QNAPANATOR>192.168.1.219>0.0.0.0>WAN<iPhone-X>192.168.1.236>0.0.0.0>VPN<iPad>192.168.1.139>0.0.0.0>VPN<C3P0 WiFi>192.168.1.94>0.0.0.0>WAN<R2D2>192.168.1.111>0.0.0.0>WAN<Time Machine>192.
size: 66507 bytes (64565 left)
vpn_client1_clientlist1=168.1.158>0.0.0.0>WAN<CAMONE>192.168.1.233>0.0.0.0>WAN<ATV 4K>192.168.1.217>0.0.0.0>WAN
vpn_client1_clientlist2=
vpn_client1_clientlist3=
xxxx@RT-AC86U-1960:/tmp/home/root# nvram show | grep vpn_client[[:digit:]]_clientlist
size: 66953 bytes (64119 left)
vpn_client1_clientlist=<C3P0>192.168.1.128>0.0.0.0>WAN<Telstra TV>192.168.1.150>0.0.0.0>WAN<QNAPANATOR>192.168.1.219>0.0.0.0>WAN<iPhone-X>192.168.1.236>0.0.0.0>VPN<iPad>192.168.1.139>0.0.0.0>VPN<C3P0 WiFi>192.168.1.94>0.0.0.0>WAN<R2D2>192.168.1.111>0.0.0.0>WAN<Time Machine>192.
vpn_client1_clientlist1=168.1.158>0.0.0.0>WAN<CAMONE>192.168.1.233>0.0.0.0>WAN<ATV 4K>192.168.1.217>0.0.0.0>WAN
vpn_client1_clientlist2=
vpn_client1_clientlist3=
vpn_client1_clientlist4=
vpn_client1_clientlist5=
vpn_client2_clientlist=<QNAPANATOR>192.168.1.219>0.0.0.0>WAN<R2D2>192.168.1.111>0.0.0.0>VPN<C3P0>192.168.1.128>0.0.0.0>WAN<ATV 4K>192.168.1.217>0.0.0.0>VPN<Time Machine>192.168.1.158>0.0.0.0>VPN<CAMONE>192.168.1.233>0.0.0.0>VPN<C3P0 WiFi>192.168.1.94>0.0.0.0>WAN<Telstra TV 2>19
vpn_client2_clientlist1=2.168.1.150>0.0.0.0>WAN<iPad>192.168.1.139>0.0.0.0>WAN<iPhone-X>192.168.1.236>0.0.0.0>WAN
vpn_client2_clientlist2=
vpn_client2_clientlist3=
vpn_client2_clientlist4=
vpn_client2_clientlist5=
vpn_client3_clientlist=
vpn_client3_clientlist1=
vpn_client3_clientlist2=
vpn_client3_clientlist3=
vpn_client3_clientlist4=
vpn_client3_clientlist5=
vpn_client4_clientlist=
vpn_client4_clientlist1=
vpn_client4_clientlist2=
vpn_client4_clientlist3=
vpn_client4_clientlist4=
vpn_client4_clientlist5=
vpn_client5_clientlist=
vpn_client5_clientlist1=
vpn_client5_clientlist2=
vpn_client5_clientlist3=
vpn_client5_clientlist4=
vpn_client5_clientlist5=
I have no idea why its showing devices routed through VPN Client 3??? I deleted that profile.
Last edited: