File: road.conf

package info (click to toggle)
libreswan 5.2-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 81,632 kB
  • sloc: ansic: 129,988; sh: 32,018; xml: 20,646; python: 10,303; makefile: 3,022; javascript: 1,506; sed: 574; yacc: 511; perl: 264; awk: 52
file content (40 lines) | stat: -rw-r--r-- 743 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# /etc/ipsec.conf - Libreswan IPsec configuration file

version 2.0

config setup
	ikev1-policy=accept
	# put the logs in /tmp for the UMLs, so that we can operate
	# without syslogd, which seems to break on UMLs
	logfile=/tmp/pluto.log
	logtime=no
	logappend=no
	plutodebug=all
	dumpdir=/tmp

conn %default
	keyexchange=ikev1

conn modecfg-road-eastnet-psk
	also=road-eastnet-psk
	leftmodecfgserver=yes
	rightmodecfgclient=yes
	leftxauthserver=yes
	rightxauthclient=yes
	modecfgpull=yes
	remote-peer-type=cisco

conn road-eastnet-psk
	leftsubnet=192.0.2.0/24
	also=road-east-psk
	right=%defaultroute
	ike=3des-sha1
	aggressive=no
	authby=secret

conn road-east-psk
	left=192.1.2.23
	leftid=@east
	leftnexthop=192.1.2.45
	rightid=@roadrandom