2

How to make sure, that all traffic (e.g. from web browser) is passing through VPN and no data is leaking through normal internet interface? Or how to check, what interface (VPN or other) is used by application?

Is there any monitoring system tools, that could ensure me whether VPN is working correctly?

I'm using OpenVPN client on Windows and Linux.

1
  • 1
    Wireshark is always useful in a situation like this.
    – Ramhound
    Commented Apr 22, 2014 at 13:45

3 Answers 3

0

Basically if split tunneling is turned off, all traffic must flow over the vpn however try tracert command on both Windows and Linux and you should hopefully get a trace of the route that packets take to reach the destination then You'll be able to tell if it's passing through your VPN gateway.

e.g. tracert www.yahoo.com

You can also use an IP address instead of a DNS name.

0

First of all check your default gateway settings with route or ip route show command. If you want all ip packets from all applications use VPN tunnel your default gateway must be on the VPN server side (for most cases it's the VPN server's IP address). If your default gateway is the same before and after connecting to the VPN then you need to change it manually.

If you have white IP address from your ISP on one of your network interfaces and you have a routing rule to your ISP network with network mask other then /32 then all your traffic for this particular network will pass through your network interface with a white address because connected routes has higher priority.

-1

kali@kali~# echo $(curl -s https://api.ipify.org) will display public IP visible from Kali.

1
  • 2
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Nov 8, 2022 at 22:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .