[Openswan Users] Connecting to a VPN through Ubuntu
Rogelio Alejandro Ortiz Sevilla
rogelio.sevilla1 at gmail.com
Mon Sep 19 13:56:26 EDT 2011
Good day to everyone, some days ago I sent an email which was kindly
responded by mr. Paul Wouters. He was right, I had a lot of misconfiguration
on my */etc/ipsec.conf file.* Now, I have followed the Ubuntu and SonicWall
VPN configuration on this site, step by step:
http://www.pelagodesign.com/blog/2009/05/18/ubuntu-linux-how-to-setup-a-vpn-connection-to-a-sonicwall-router-using-openswan-and-pre-shared-keys-psk/
which led me to have this content on the */etc/ipsec.conf file:
conn sonicwall
type=tunnel
left=127.0.0.1
leftid=@GroupVPN
leftxauthclient=yes
right=MySonicWallIP
rightsubnet=MyGateWayIP/24
rightxauthserver=yes
rightid=@sonicwall.unique.identifier
keyingtries=0
pfs=yes
aggrmode=yes
auto=add
auth=esp
esp=3DES-SHA1
ike=3DES-SHA1
authby=secret
And this content on the **/etc/ipsec.secrets file*
*
@GroupVPN @sonicwall.unique.identifer : PSK "MyPreSharedKey"
*
After having my router and my openswan files configured like previously
stated, i tried to start the vpn using these commands:
sudo ipsec setup --start
sudo ipsec auto --add sonicwall
sudo ipsec whack --name sonicwall --initiate
After this I get the following output:
003 "sonicwall" #1: multiple transforms were set in aggressive mode. Only
first one used.
003 "sonicwall" #1: transform (5,2,2,0) ignored.
002 "sonicwall" #1: initiating Aggressive Mode #1, connection "sonicwall"
003 "sonicwall" #1: multiple transforms were set in aggressive mode. Only
first one used.
003 "sonicwall" #1: transform (5,2,2,0) ignored.
003 ERROR: "sonicwall" #1: sendto on lo to 157.22.28.26:500 failed in
aggr_outI1. Errno 22: Invalid argument
112 "sonicwall" #1: STATE_AGGR_I1: initiate
010 "sonicwall" #1: STATE_AGGR_I1: retransmission; will wait 20s for
response
003 ERROR: "sonicwall" #1: sendto on lo to 157.22.28.26:500 failed in
EVENT_RETRANSMIT. Errno 22: Invalid argument
010 "sonicwall" #1: STATE_AGGR_I1: retransmission; will wait 40s for
response
003 ERROR: "sonicwall" #1: sendto on lo to 157.22.28.26:500 failed in
EVENT_RETRANSMIT. Errno 22: Invalid argument
010 "sonicwall" #1: STATE_AGGR_I1: retransmission; will wait 40s for
response
003 ERROR: "sonicwall" #1: sendto on lo to 157.22.28.26:500 failed in
EVENT_RETRANSMIT. Errno 22: Invalid argument
010 "sonicwall" #1: STATE_AGGR_I1: retransmission; will wait 40s for
response
003 ERROR: "sonicwall" #1: sendto on lo to 157.22.28.26:500 failed in
EVENT_RETRANSMIT. Errno 22: Invalid argument
010 "sonicwall" #1: STATE_AGGR_I1: retransmission; will wait 40s for
response
003 ERROR: "sonicwall" #1: sendto on lo to 157.22.28.26:500 failed in
EVENT_RETRANSMIT. Errno 22: Invalid argument
I have Ubuntu 10.04 installed, my ipsec --version command throws the
following output:
Linux Openswan U2.6.23/K2.6.32-33-generic-pae (netkey)
I installed openswan thorugh the ubuntu repositories. Am I missing
something???, any help would be greatly appreciated :-D
Thanks a lot in advance for your time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20110919/7571b49c/attachment.html
More information about the Users
mailing list