test VPN client connection/speed from within the box by the script using wget
I have a Firewalla box (A) running VPN client to another box (B, runs VPN server).
From within box A - how can I write a script to test vpn connection / speed using wget.
I can't get to VPN interface - any wget --bind-address goes via default interface not via VPN.
-
My VPN interface as per ifconfig:
vpn_DA66_DA669: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 172.27.239.184 netmask 255.255.248.0 destination 172.27.239.184And when I trying to get my ip from the ip echo service - I get nothing:
wget --bind-address 172.27.239.184 -qO- https://ipecho.net/plainIf I do not bind wget to specific address - it works:
wget -qO- https://ipecho.net/plain
Please sign in to leave a comment.
Comments
2 comments