A
A
aphazel2016-08-01 17:45:53
openvpn
aphazel, 2016-08-01 17:45:53

How not to use remote network gateway in OpenVPN/L2TP?

How can I connect to a local network without using a remote gateway? Those. you need to connect to the local network via OpenVPN or L2TP / IPsec and make sure that the user uses the Internet connection from his provider, and not from the gateway of the remote network.
I am considering the work of Pritunl or SoftEther, but I can not understand which setting is responsible for this.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
Lindon_cano, 2016-08-02
@aphazel

In the pritunl interface, this is done by removing network 0.0.0.0/0 from the routes of the created network. Get a VPN limited only by the local area it creates.

S
SergeySL, 2016-08-01
@SergeySL

This happens by default, except for traffic for the remote network - https://openvpn.net/index.php/open-source/document...

N
Nikolai, 2016-11-30
@nevzorofff

I did once like this:
We cling to the Windows client via L2TP, the checkbox "use the gateway on the remote network is disabled."
We install the RIP listener in Windows, it almost comes in the kit, just check the box.
On the router with RIP, we give the networks we need to the remote client.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question