G
G
g00dv1n2016-06-23 11:38:50
linux
g00dv1n, 2016-06-23 11:38:50

How to send traffic from virtual machines through vpn?

The point is this. There are virtual machines, they go to the Internet through an intermediate network interface. This is necessary to analyze traffic. How to send all traffic through vpn. Lifted on this server the client was connected to vpn everything is OK. But I feel that it is not elegant. Is it possible to raise another interface for vpn through which only virtual machines will go to vpn.
Now it's eht0, vboxnet0. Virtual machines are tied to vboxnet0 via iptables, this is directed to eht0. So they have access to the Internet.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Aitkulov, 2016-06-24
@g00dv1n

I'll just leave it here

S
Sergey, 2016-06-23
@edinorog

Lord .... yes, at least a hundred thousand vpn. proper routing works wonders

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question