LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   unable to start strongSwan -- fatal errors in config (http://www.linuxquestions.org/questions/slackware-14/unable-to-start-strongswan-fatal-errors-in-config-4175480703/)

ppkingpping 10-14-2013 05:15 AM

unable to start strongSwan -- fatal errors in config
 
When I try to start ipsec to load new configuration i get:
Starting strongSwan 4.3.5 IPsec [starter]...
/etc/ipsec.conf:41: unknown keyword 'plutoopts' ["--interface=eth0"]
unable to start strongSwan -- fatal errors in config

who can give me something advise, thanks!
my configure file was below:
1# ipsec.conf - strongSwan IPsec configuration file
2
3# basic configuration
4config setup
5 # plutodebug=all
6 # crlcheckinterval=600
7 # strictcrlpolicy=yes
8 # cachecrls=yes
9 # nat_traversal=yes
10 # charonstart=no
11 # plutostart=no
12
13# Add connections here.
14
15# Sample VPN connections
16
17#conn sample-self-signed
18# left=%defaultroute
19# leftsubnet=10.1.0.0/16
20# leftcert=selfCert.der
21# leftsendcert=never
22# right=192.168.0.2
23# rightsubnet=10.2.0.0/16
24# rightcert=peerCert.der
25# auto=start
26
27#conn sample-with-ca-cert
28# left=%defaultroute
29# leftsubnet=10.1.0.0/16
30# leftcert=myCert.pem
31# right=192.168.0.2
32# rightsubnet=10.2.0.0/16
33# rightid="C=CH, O=Linux strongSwan CN=peer name"
34# keyexchange=ikev2
35# auto=start
36config setup
37 virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12
38 nat_traversal=yes
39 protostack=netkey
40 oe=no
41 plutoopts="--interface=eth0"
42conn L2TP-PSK
43 authby=secret
44 pfs=no
45 auto=add
46 keyingtries=3
47 dpddelay=30
48 dpdtimeout=120
49 dpdaction=clear
50 rekey=yes
51 ikelifetime=8h
52 keylife=1h
53 type=transport
54 left=192.168.1.100
55 leftnexthop=%defaultroute
56 leftprotoport=17/1701
57 right=68.68.32.79
58 rightprotoport=17/170

pan64 10-14-2013 06:23 AM

http://www.mail-archive.com/users@li.../msg03154.html


All times are GMT -5. The time now is 02:48 PM.