E
E
Evgeny Oleinikov2018-05-18 20:39:32
openvpn
Evgeny Oleinikov, 2018-05-18 20:39:32

Wrap part of the traffic in a VPN tunnel?

Good day to all!
There are 3 interfaces on the ubuntu 16.04 server:
enp4s0 looks into the world
br1 into the home network
tun0 OpenVPN tunnel to the server in Sweden
All traffic from the local network goes through enp4s0, and tun0 only when accessing the address from the tunnel subnet.
It is required to wrap certain traffic (prohibited resources) from the local network into the tunnel, tell me how this can be implemented?
Thanks in advance for your replies.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Tallmange, 2018-05-18
@p00h

policy based routing. Example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question