[Openswan Users] openswan Side to Side config

Peter McGill petermcgill at goco.net
Fri Jun 29 08:46:50 EDT 2007


> From: E0x [mailto:samudhio at gmail.com] 
> Sent: June 28, 2007 4:59 PM
> To: petermcgill at goco.net
> Cc: users at openswan.org
> Subject: Re: [Openswan Users] openswan Side to Side config
>	
> i try the connection with this config:
> 	
> version 2
> config setup
> # openswan tunnel configuration
> conn side2side
>       type=tunnel
>     authby=secret
> #RT
> left=66.232.119.242
> leftsubnet=66.232.119.0/32
> leftnexthop=%defaultroute
> #SAA
> right=64.178.212.21
> rightsubnet=176.168.0.20/32
> rightnexthop=%defaultroute
> esp=3des-md5
> ike=3des-md5-modp1024
> aggrmode=no
> keyexchange=ike
> ikelifetime=24.0m
> keylife=1.0h
> pfs=no
> auto=start
> 	
> when i try ipsec auto --add side2side i get this error
> 	
> # ipsec auto --add side2side
> ipsec_auto: fatal error in "side2side": (/etc/ipsec.conf, line 8) section header "left= 66.232.119.242"
> has wrong number of fields (1)
> 	
> i read something about the editor and some character and space i redo the file using vi with copy
> anything all was typing again ( new file )
> but i get the same ,any idea ? 
> 	
> 	thanks

Not sure what that message means exactly, never seen it myself.
Error message, looks like there is a space after the equals sign, could double check that there isn't one.
Also It may just be your email client stripping whitespace, but each line in a conn section must be prefixed
With a tab. Check you've done that, multiple spaces will not work.

Peter



More information about the Users mailing list