rss logo

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 vSwitches, (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 vSwitch to make it works :

Explanations :

Summary

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Contact :

contact mail address