Page 1 of 1

VM as gateway for LXC

Posted: 26. May 2017, 15:33
by norminul
Hi all!

I want to build something like Whonix Gateway but a bit difference. In short the idea is: LXC container on host OS redirect all traffic via virtual machine which performs a role of Tor gateway.

LXC on host -> virtual machine -> Tor

Is it possible? I'm digging in the way of bridged connections. We can create bridge interface on host, link it with container's virtual interface and with virtual machine. Am I right in reasoning?

Thanks for any information!

P.S. Host, guests OS - Debian.

Re: VM as gateway for LXC

Posted: 26. May 2017, 15:48
by Perryg
What you actually use the guest for and how to do it is outside the scope of this forum, but to answer the only part that would be considered VirtualBox I would use Bridged mode. This will work like another PC on a LAN then what you do is up to your.