All pastes #545592 Raw Edit

matth

public text v1 · immutable
·published 2007-06-06 20:07 UTC
rendered paste body
# /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 = "all"
	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

# sample VPN connections, see /etc/ipsec.d/examples/

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

conn linux-xp
        authby=rsasig
        pfs=no
        auto=add
        rekey=no
        left=192.168.0.3
        # or you can use: left=YourIPAddress
        leftrsasigkey=%cert
        leftcert=adrastea-cert.pem
        right=192.168.0.4
        rightca=%same
        rightrsasigkey=%cert
        # rightsubnet=vhost:%priv,%no