You are not logged in.

#1 2011-10-16 10:59:27

Barafu Albino Cheetah
Member
From: Moscow
Registered: 2011-09-16
Posts: 34

tunnel traffic through virtual ubuntu.

I am using Arch Linux 64 bit on my work PC. Unfortunately, to access main office server, I must use kerio vpn, (which is a proprietary uncompartible VPN analogue). The client software is packaged only for Ubuntu 32 bit. When run, it creates a virtual network card that allows direct access to encrypted networks. I have tried to unpack that .deb and adopt it on my machine, but without success as it seems to have  lots of filenames hard-coded.
So, I am thinking of one of two variants:

  1. Create a chroot of Ubuntu 32 bit

  2. Install Ubuntu server into Virtualbox

.
My question is: give me an example, how to configure the network in one of these cases. I need my machine to access all IPs directly through gateway given by DHCP, and 172.16.*.* through that virtual ubuntu and it's virtual network card. I don't want to use proxy.
Thanks.

Offline

#2 2011-10-16 22:25:48

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: tunnel traffic through virtual ubuntu.

1. Install Ubuntu in VBox with "Bridged" mode Network adapter.
2. Setup Kerio and get it working.
3. Setup the Ubuntu VM as a gateway (using any of the thousands of gateway/router instructions on the internet). Don't forget to apply a SNAT to traffic destined to the VPN.
4. Add a route on your Arch box to route 172.16.0.0/16 via the Ubuntu machine:

ip r a 172.16.0.0/16 via x.x.x.x

Offline

Board footer

Powered by FluxBB