Answer the question
In order to leave comments, you need to log in
How to redirect all traffic to the VPN interface?
I have a working VPN, but by default it is configured so that not all traffic is redirected to it. How to wrap all traffic on the VPN network interface?
Google search didn't give the desired result.
Answer the question
In order to leave comments, you need to log in
1. Add a route to the VPN server's external address through the current default gateway
2. Delete the current default route (0.0.0.0)
3. Add a new default route through the VPN server's internal addresses.
When the VPN connection is broken, you need to return everything back.
Ask your administrator\enable the default route option on the VPN server (depends on implementation).
Or in your VPN connection settings - if possible.
Then, when VPN is connected, the default route in the VPN will appear
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question