You are not logged in.

#1 2013-08-17 03:33:19

endor43
Member
Registered: 2012-11-04
Posts: 21

Setting up L2TP connection, ipsec addconn segfault

Hi all!

I'm trying to make a VPN(L2TP) client using our arch tutorial

Unfortunately, I'm having trouble using ipsec to add the connection

$ sudo ipsec auto --add L2TP-PSK
sh: line 4: 14242 Segmentation fault      (core dumped) ipsec addconn L2TP-PSK
--verbose doesn't give me any more info, and I'm stumped. I feel like ipsec is really picky about ipsec.conf formatting.

here is the conf

config setup
	virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12
	nat_traversal=yes
	protostack=netkey
	oe=off
	plutoopts=“--interface=wlan0”

conn L2TP-PSK
	authby=secret
	pfs=no
	auto=add
	keyingtries=3
	dpddelay=30
	dpdtimeout=120
	dpdaction=clear
	rekey=yes
	ikelifetime=8h
	keylife=1h
	type=transport
	left=%defaultroute
	leftnexthop=%defaultroute
	leftprotoport=17/1701
	right=**********

also see this page: https://bbs.archlinux.org/viewtopic.php?id=109571
I already have all the docbook-* stuff installed.

What do you think?
Any ideas would be appreciated!
Thanks!

Last edited by endor43 (2013-08-18 01:22:47)

Offline

#2 2013-09-29 16:29:25

spiridow
Member
Registered: 2009-08-08
Posts: 40

Re: Setting up L2TP connection, ipsec addconn segfault

Make sure you add a blank line at the end of file.

Offline

Board footer

Powered by FluxBB