IPsec VPN

Intro

Here's a how to about different possibilities to make a IPsec VPN. under GNU/Linux environment. (the goal is to make a communication with a Windows) computer.

Definitions

Test environment

I've made my tests under VMware environment. To make it works we need to correctly set vSwitchs, (see few lines below).

Network diagram

Debian Bridge Configuration

Installation

root@host:~# apt-get install bridge-utils

/etc/network/interfaces

# The loopback network interface 
auto lo br0 
iface lo inet loopback 

# The primary network interface 
allow-hotplug eth0 
#NetworkManager#iface eth0 inet dhcp 

iface eth1 inet manual 
iface eth2 inet manual 

iface br0 inet static 
	bridge_ports eth1 eth2
	address 192.168.0.115
	netmask 255.255.255.0
	network 192.168.0.0

VMware vSwitch

Under a VMware architecture we need to set the following sets to the vSwitchs to make it works :

Explanations :

Sommaire

Licence Creative Commons
This website http://shebangthedolphins.net is licensed to the public under a licence Creative Commons Attribution licence.
Contact :