[Openswan Users] but no connection has been authorized with policy=PSK
mohsen.bsarmadi at gmail.com
Thu Nov 28 16:31:54 UTC 2013
I am using a EC2 Ubuntu 12.04 LTS instance in AWS.
I used all of the configurations from here(
http://fortycloud.com/setting-up-ipsecopenswan-in-amazon-ec2/), but in
auth.log i am keep getting
Nov 28 16:12:22 ip-10-164-25-201 *pluto*: packet from
myComputerIP:500: initial Main Mode message received
on myEC2PrivateIP:500 but no connection has been authorized with policy=PSK
@myEC2PrivateIP %any: PSK "123"
$ sudo cat /etc/ipsec.conf
# this will force openswan to use IPSec over UDP - required for EC2
# this Subnet must include range provided in the xl2tpd config file
conn RWConn # road warrior connection description
$ sudo cat /etc/xl2tpd/xl2tpd.conf
ipsec saref = yes
; this must be the private EC2 address allocated to eth0
listen-addr = myEC2PrivateIP
; addresses to road road warriors will be allocated from this range
ip range = 172.24.100.1-172.24.100.254
; GW virtual address (must be outside of the above range)
local ip = 172.24.0.150
refuse pap = yes
require authentication = yes
name = MyGW
; points to PPP config file (you can choose your own name)
pppoptfile = /etc/ppp/options.xl2tpd
length bit = yes
please help me on this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users