LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-18-2010, 11:19 AM   #1
blackfish
Member
 
Registered: May 2006
Location: England
Distribution: CentOS, Ubuntu Server, Untangle, pfSense
Posts: 78

Rep: Reputation: 15
VPN Between Ubuntu Openswan & Linksys WRV200 Fails at Phase 2


Hi All

I have a Linksys WRV200 which is not connecting to an Openswan Server running on Ubuntu 10.04

It appears it's failing on Phase 2. Here is an output of the log on my WRV200:

Code:
000 "TunnelD":     srcip=unset; dstip=unset; srcup=ipsec _updown; dstup=ipsec _updown;
000 "TunnelD":   ike_life: 28800s; ipsec_life: 3600s; rekey_margin: 60s; rekey_fuzz: 100%; keyingtries: 5
000 "TunnelD":   policy: PSK+ENCRYPT+TUNNEL+UP; prio: 16,16; interface: eth0; 
000 "TunnelD":   dpd: action:restart; delay:30; timeout:120; 
000 "TunnelD":   newest ISAKMP SA: #0; newest IPsec SA: #0; 
000 "TunnelD":   IKE algorithms wanted: 5_000-1-2, flags=-strict
000 "TunnelD":   IKE algorithms found:  5_192-1_096-2, 
000 "TunnelD":   ESP algorithms wanted: 3_000-1, flags=strict
000 "TunnelD":   ESP algorithms loaded: 3_000-1, flags=strict
000 #265: "TunnelD":39770 STATE_MAIN_R2 (sent MR2, expecting MI3); EVENT_RETRANSMIT in 14s; lastdpd=-1s(seq in:0 out:0)
Also my /etc/ipsec.conf config file:
Code:
config setup
nat_traversal=no

conn vpn1
type=tunnel
left=xxx.xxx.xxx.xxx
leftsubnet=172.16.0.0/16
leftnexthop=%defaultroute
right=xxx.xxx.xxx.xxx
rightsubnet=172.1.0.0/16
rightnexthop=172.1.0.1
auto=start
pfs=no
esp=3des-md5
ike=3des-md5-modp1024
authby=secret
keyexchange=ike
ikelifetime=8h
keylife=1h
Any advice will be most welcome

BF

Any help with this would be much appreciated

500 points up for grabs
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSwan VPN only works in one direction Thakowbbery Linux - Networking 2 03-27-2008 01:15 PM
openswan - linksys wrt54g hadolfov Linux - Newbie 1 02-01-2008 06:21 AM
Openswan Vpn satish Linux - Networking 0 04-11-2007 07:47 AM
Linksys WPC54G v 1.2, bcm43xx, ubuntu 6.06 - module fails - no wireless Benanzo Linux - Wireless Networking 4 09-06-2006 04:16 PM
Authorizing Openswan VPN connection logo Linux - Networking 1 03-05-2005 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration