I'm using OpenVPN and I'm asking this question because whenever I'm connected over the VPN I try to do a simple:
traceroute google.com and it doesn't bounce on the OpenVPN server. It just goes through the same route that it does without the VPN.
I tried to route http traffic through the VPN
push "redirect-gateway def1" push "dhcp-option DNS 184.108.40.206"
and it worked. My question here is to avoid using this method every time I create a new key to a client to make sure he is connected through the VPN.
I read that you can do a simple
ifconfig -a. If the you have some sort of
tunnel interface you are connected but how can you be sure that your traffic is going through the VPN?
I'm the client of an OpenVPN. Is there anyway I can check if I'm connected through the VPN over command line? Something like