VM as gateway for LXC

Discussions about using Linux guests in VirtualBox.
Post Reply
norminul
Posts: 4
Joined: 18. Feb 2016, 22:01

VM as gateway for LXC

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VM as gateway for LXC

Post 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.
Post Reply