[Openswan Users] Help configuring Openswon on Debian 4.0

Tom Moore tom at tomstroubleshooting.com
Tue May 8 21:07:26 EDT 2007


Hi guys,
I'm trying to configure Ipsec on a Debian system to connect to a Linksys vpn
router.
I set the router up to work with 3des as the encryption type for the
connection and md5 based authentication.
Here's what my /etc/ipsec.conf looks like.

# /etc/ipsec.conf - Openswan Ipsec configuration file
# RCSID $Id: ipsec.conf.in,v 1.15.2.4 2006/07/11 16:17:53 paul Exp $

# This file:  /usr/share/doc/openswan/ipsec.conf-sample
#
# Manual:     ipsec.conf.5


version	2.0	# conforms to second version of ipsec.conf specification

# basic configuration
config setup
	# plutodebug / klipsdebug = "all", "none" or a combation from below:
	# "raw crypt parsing emitting control klips pfkey natt x509 private"
	# eg:
	# plutodebug="control parsing"
	#
	# Only enable klipsdebug=all if you are a developer
	#
	# NAT-TRAVERSAL support, see README.NAT-Traversal
	nat_traversal=yes
	#
virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12
	#
	# enable this if you see "failed to find any available worker"
	nhelpers=0

# Add connections here
conn perry
type=tunnel
authby=secret
left=192.168.10.1
leftsubnet=192.168.10.0/24
leftid=1.2.3.4
leftnexthop=%defaultroute
right=192.168.100.1
rightsubnet=192.168.100.0/24
rightid=5.6.7.8
rightnexthop=%defaultroute
esp=3des-md5
kkeyexchange=ike
pfs=no
 
# sample VPN connections, see /etc/ipsec.d/examples/

#Disable Opportunistic Encryption
include /etc/ipsec.d/examples/no_oe.conf

Thanks for any help you can offer,
Tom

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.6.5/793 - Release Date: 5/7/2007 2:55
PM
 



More information about the Users mailing list