How To Setup IPSEC Site-To-Site VPN on Linux CentOS
Linux Gateway Server with 2 Lan Cards on Each office Location. Lets Call them A and B.
A is Head Office Linux Server and B is Branch Office Linux Server.
A has CentOS 6.4 , Extenal IP Address 188.8.131.52 , Local Lan Subnet 192.168.100.0/24
B has CentOS 5.9, External IP Address 184.108.40.206, Local Lan Subnet 10.1.1.0/24
To Accomplish the task we will use OpenSwan.