# vi /etc/ipsec.conf
config setup
	interfaces="ipsec0=eth1"
	klipsdebug=all
	plutodebug=all
	plutoload=%search
	plutostart=%search
	uniqueids=yes
conn cisco831
	af=inet
	spi=0x200
	type=tunnel
	auth=esp
	authby=secret
	esp=3des-md5-96
	auto=start
	left=128.12.2.10
	leftsubnet=128.12.3.0/24
	leftnexthop=128.12.2.1
	right=128.12.1.155
	rightsubnet=192.168.1.0/24
	rightnexthop=128.12.1.10
# end /etc/ipsec.conf Linux FreeSwan IPSEC configuration file

Back to main article