Site to Site with TAPs

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
FlangeMonkey
Posts: 7
Joined: Mon Oct 12, 2015 4:56 pm

Site to Site with TAPs

Post by FlangeMonkey » Mon Oct 12, 2015 5:09 pm

Hi Guys,

A quick explanation of my setup:
I have two ubuntu deployments for a site to site. Virtual Hubs are on both sides which are bridged to Network Adaptors. Traffic is passing from devices on each side.

I also need to get traffic to pass from the VPN Servers themselves. I understand this is natural and need to use a TAP on both sides, which are also bridged.

I'm have pains getting this configured. Can anyone help with configuration?

Thanks,

FlangeMonkey
Posts: 7
Joined: Mon Oct 12, 2015 4:56 pm

Re: Site to Site with TAPs

Post by FlangeMonkey » Mon Oct 12, 2015 5:35 pm

I've got it configured now. For anyone else looking to do this:

Install bridge utils:
apt-get install bridge-utils

Create a TAP from within softether, I used vpncmd:
bridgecreate VirtualHubName /Device:tapintname /TAP:yes

Then change /etc/network/interfaces config to something like:

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
address 10.0.0.1
netmask 255.255.255.0
network 1.0.0.0
broadcast 1.0.0.255
bridge_ports eth0 tap_tapintname
bridge_stp off
bridge_fd 0
bridge_maxwait 0

Hope this helps anyone else looking for this solution...

Post Reply