S
S
Sergey Shlensky2020-09-07 14:23:17
VPN
Sergey Shlensky, 2020-09-07 14:23:17

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

2 answer(s)
R
res2001, 2020-09-07
@seeyoga

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.

A
Alexey Dmitriev, 2020-09-07
@SignFinder

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 question

Ask a Question

731 491 924 answers to any question