My pc is behind the ADSL router my pc ip address is 192.168.1.10, the router private address is 192.168.1.1 and the vpn server ip address is 95.154.217.24.
I installed the openswan and xl2tpd in debian wheezy, i want to setup the l2tpd tunnel, the problem is whein i run the command:
Quote:
ipsec auto --up L2tp-Client
|
Quote:
"L2tp-Client" #1: Can't authenticate: no preshared key found for `@left' and `@righ'. Attribute OAKLEY_AUTHENTICATION_METHOD
"L2tp-Client" #1: no acceptable Oakley Transform
"L2tp-Client" #1: sending notification NO_PROPOSAL_CHOSEN to 95.154.217.24:500
"L2tp-Client" #1: ignoring unknown Vendor ID payload [882fe56d6fd20dbc2251613b2ebe5beb]
"L2tp-Client" #1: received Vendor ID payload [XAUTH]
"L2tp-Client" #1: received Vendor ID payload [Dead Peer Detection]
"L2tp-Client" #1: received Vendor ID payload [RFC 3947] method set to=115
"L2tp-Client" #1: Can't authenticate: no preshared key found for `@left' and `@righ'. Attribute OAKLEY_AUTHENTICATION_METHOD
"L2tp-Client" #1: no acceptable Oakley Transform
"L2tp-Client" #1: sending notification NO_PROPOSAL_CHOSEN to 95.154.217.24:500
|
I opened the all necessary ports in my firewall, this is /etc/ipsec.conf:
Quote:
version 2.0
config setup
dumpdir=/var/run/pluto/
nat_traversal=yes
virtual_private=%v4:10.0.0.0/8,%v4:192.168.1.0/24,%v4:567.16.0.0/12
oe=off
protostack=netkey
plutostderrlog=/var/log/pluto.log
interfaces=%defaultroute
conn L2tp-Client
authby=secret
pfs=no
auto=add
rekey=no
type=tunnel
esp=aes128-sha1
ike=aes128-sha-modp1024
ikelifetime=8h
keylife=1h
left=192.168.1.10
leftid=@left
leftnexthop=192.168.1.1
leftsourceip=192.168.1.10
leftsubnet=192.168.1.0/24
leftprotoport=17/1701
right=95.154.217.24
rightid=@righ
rightnexthop=95.154.217.24
rightprotoport=17/1701
dpddelay=30
dpdtimeout=120
dpdaction=clear
|
and this is /etc/ipsec.secrets:
Quote:
192.168.1.10 95.154.217.24 : PSK "toyvpn.com"
|