ipsec VPN tunnel between local private network (pfSense) to AWS private network (Openswan)

Scenario: A local private network and a private network in Amazon Web Service (AWS) needs to be connected securely over the internet through an ipsec VPN. In order to cover an expanded scope, VPN tunnel will be established between Openswan ipsec VPN from AWS to pfSense ipsec VPN in local network.

Main AWS VPC in this scenario “172.31.0.0/16” has 2 subnets, Backend (172.31.1.0/24) and Frontend (172.31.2.0/24) respectively. Application servers are hosted in Backend subnet while Openswan VPN server is hosted in Frontend. All traffic between these 2 subnets are allowed.
Continue reading

Cisco VPN client configuration in Ubuntu

This guide is focuses on Ubuntu users who needs to connect to Cisco VPN. We will be using VPNC (it is in Ubuntu 9.04) and assumes you have profile file in .pcf format (we will use cisco.pcf as an example here).

 
Let’s begin and follow the steps exactly replacing your own pcf file:
 

Open terminal and run the following commands. Create a directory for our configuration and change into that directory,

mkdir vpnclient
cd vpnclient

Continue reading