M
M
motcart2020-05-17 13:10:39
openvpn
motcart, 2020-05-17 13:10:39

How to route traffic past the VPN?

I set up OpenVPN on my home server to access my LAN. The server has a static IP. Clients on three different providers (I think it doesn't matter). Clients are 3 smart phones on android, 4 PCs on Linux.

Tell me how to make traffic from clients to the Internet go past vpn, and to LAN through vpn? I read that it is possible to configure ifconfig-push on the server to the openvpn config, but I could not figure it out to the end.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2020-05-17
@motcart

Remove the push parameter "redirect-gateway def1" from the server config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question