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 <strong style="font-weight: normal;">/etc/ipsec.conf file.</strong> Now, I have followed the Ubuntu and SonicWall VPN configuration on this site, step by step:<br>
<br><a href="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/">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/</a><br>
<br><br>which led me to have this content on the <strong style="font-weight: normal;">/etc/ipsec.conf file:<br><br>conn sonicwall<br> type=tunnel<br> left=127.0.0.1<br> leftid=@GroupVPN<br> leftxauthclient=yes<br>
right=MySonicWallIP<br> rightsubnet=MyGateWayIP/24<br> rightxauthserver=yes<br> rightid=@sonicwall.unique.identifier<br> keyingtries=0<br> pfs=yes<br> aggrmode=yes<br> auto=add<br> auth=esp<br>
esp=3DES-SHA1<br> ike=3DES-SHA1<br> authby=secret<br><br><br>And this content on the </strong><strong style="font-weight: normal;">/etc/ipsec.secrets file</strong><br><strong style="font-weight: normal;"><br>
@GroupVPN @sonicwall.unique.identifer : PSK "MyPreSharedKey"<br></strong><br><br>After having my router and my openswan files configured like previously stated, i tried to start the vpn using these commands:<br>
<br><br><font size="2"><code>sudo ipsec setup --start<br>
sudo ipsec auto --add sonicwall</code><br></font><code><font size="2">
sudo ipsec whack --name sonicwall --initiate</font><br><br><br></code>After this I get the following output:<br><br>003 "sonicwall" #1: multiple transforms were set in aggressive mode. Only first one used.<br>003 "sonicwall" #1: transform (5,2,2,0) ignored.<br>
002 "sonicwall" #1: initiating Aggressive Mode #1, connection "sonicwall"<br>003 "sonicwall" #1: multiple transforms were set in aggressive mode. Only first one used.<br>003 "sonicwall" #1: transform (5,2,2,0) ignored.<br>
003 ERROR: "sonicwall" #1: sendto on lo to <a href="http://157.22.28.26:500">157.22.28.26:500</a> failed in aggr_outI1. Errno 22: Invalid argument<br>112 "sonicwall" #1: STATE_AGGR_I1: initiate<br>010 "sonicwall" #1: STATE_AGGR_I1: retransmission; will wait 20s for response<br>
003 ERROR: "sonicwall" #1: sendto on lo to <a href="http://157.22.28.26:500">157.22.28.26:500</a> failed in EVENT_RETRANSMIT. Errno 22: Invalid argument<br>010 "sonicwall" #1: STATE_AGGR_I1: retransmission; will wait 40s for response<br>
003 ERROR: "sonicwall" #1: sendto on lo to <a href="http://157.22.28.26:500">157.22.28.26:500</a> failed in EVENT_RETRANSMIT. Errno 22: Invalid argument<br>010 "sonicwall" #1: STATE_AGGR_I1: retransmission; will wait 40s for response<br>
003 ERROR: "sonicwall" #1: sendto on lo to <a href="http://157.22.28.26:500">157.22.28.26:500</a> failed in EVENT_RETRANSMIT. Errno 22: Invalid argument<br>010 "sonicwall" #1: STATE_AGGR_I1: retransmission; will wait 40s for response<br>
003 ERROR: "sonicwall" #1: sendto on lo to <a href="http://157.22.28.26:500">157.22.28.26:500</a> failed in EVENT_RETRANSMIT. Errno 22: Invalid argument<br>010 "sonicwall" #1: STATE_AGGR_I1: retransmission; will wait 40s for response<br>
003 ERROR: "sonicwall" #1: sendto on lo to <a href="http://157.22.28.26:500">157.22.28.26:500</a> failed in EVENT_RETRANSMIT. Errno 22: Invalid argument<br><br><br><br>I have Ubuntu 10.04 installed, my ipsec --version command throws the following output:<br>
<br>Linux Openswan U2.6.23/K2.6.32-33-generic-pae (netkey)<br><br><div class="gmail_quote"><br>I installed openswan thorugh the ubuntu repositories. Am I missing something???, any help would be greatly appreciated :-D<br>
<br>
</div><br>Thanks a lot in advance for your time.<br>