[Openswan Users] Openswan: Connection Problem

Simon Deziel simon at xelerance.com
Fri Nov 29 14:44:11 UTC 2013


Hi Mohsen,

On 13-11-29 09:36 AM, Mohsen B.Sarmadi wrote:
> $ sudo cat /etc/xl2tpd/xl2tpd.conf 
> [global]
> ipsec saref = yes
> ; this must be the private EC2 address allocated to eth0 
> listen-addr = myElasticIP     

The listen-addr param doesn't match the comment. The comment is right
and listen-addr should be set to your private IP.

> Nov 29 13:59:38 ip-10-164-25-201 pluto[5667]: "RWConn"[4] myClientIP #4:
> STATE_QUICK_R2: IPsec SA established transport mode {ESP/NAT=>0x02ceb265
> <0xafbcefd3 xfrm=AES_256-HMAC_SHA1 NATOA=none NATD=myClientIP:17370
> DPD=enabled}

This confirms the IPsec part is working.

HTH,
Simon


More information about the Users mailing list