push "redirect-gateway def1" in config file - how to verify traffic?
Posted: Sun Aug 22, 2021 3:39 pm
Dear Community,
I've been searching online in various posts & forums for a way to verify that all my internet traffic is actually being routed through the OpenVPN client. I've added the: push "redirect-gateway def1" line to the VPN config file that is being used. I'm on a Mac.
Tried the "Nettop" command in terminal, which isn't to any particular help since it shows the initiating original IP as the router IP which is unchanged / not the same as my VPN IP. Also tried "traceroute" command with different websites, which isn't very illuminating either.
Nettop does show this entry though:
OpenVPN Connect.[0000]
tcp4 000.000.000.000:000<->185.236.00.000:000 - First IP is my private personal IP and second is the VPN's IP, both fully/partly replaced with their real numbers.
Any suggestions how I can go about and see if network traffic indeed is fully routed OpenVPN? I've seen some suggestions about Wireshark too, but I'm not familiar with that interface at the moment.
Thanks in advance
I've been searching online in various posts & forums for a way to verify that all my internet traffic is actually being routed through the OpenVPN client. I've added the: push "redirect-gateway def1" line to the VPN config file that is being used. I'm on a Mac.
Tried the "Nettop" command in terminal, which isn't to any particular help since it shows the initiating original IP as the router IP which is unchanged / not the same as my VPN IP. Also tried "traceroute" command with different websites, which isn't very illuminating either.
Nettop does show this entry though:
OpenVPN Connect.[0000]
tcp4 000.000.000.000:000<->185.236.00.000:000 - First IP is my private personal IP and second is the VPN's IP, both fully/partly replaced with their real numbers.
Any suggestions how I can go about and see if network traffic indeed is fully routed OpenVPN? I've seen some suggestions about Wireshark too, but I'm not familiar with that interface at the moment.
Thanks in advance