<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Tim,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I am running SP3 so I believe this update package is not required ?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I do have </span><strong><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;font-weight:normal'>AssumeUDPEncapsulationContextOnSendRule set to 2 though.<o:p></o:p></span></strong></p><p class=MsoNormal><strong><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;font-weight:normal'><o:p>&nbsp;</o:p></span></strong></p><p class=MsoNormal><strong><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;font-weight:normal'>I was hoping to find out what the xl2tpd debug messages indicate.</span></strong><strong><span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'><o:p></o:p></span></strong></p><p class=MsoNormal><b><span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'><o:p>&nbsp;</o:p></span></b></p><p class=MsoNormal><b><span style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:black'><o:p>&nbsp;</o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks &amp; Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Mike.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> tim marks [mailto:tsmarks@gmail.com] <br><b>Sent:</b> 27 November 2010 16:53<br><b>To:</b> Mike Giles<br><b>Subject:</b> Re: [Openswan Users] FW: Windows XP L2tpipsec client connecting to Ubuntu server<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>I had problems with the Windows NAT-T function. I had not enabled it in the registry.&nbsp; It sounds like both the server and the client and behind NAT?&nbsp; If that is the case you might also be having a NAT issue.<br><br><a href="http://support.microsoft.com/kb/818043">http://support.microsoft.com/kb/818043</a><br><br>That is what worked for me.<br><br>Tim <o:p></o:p></p><div><p class=MsoNormal>On Wed, Nov 24, 2010 at 3:31 AM, Mike Giles &lt;<a href="mailto:Mike.Giles@thekentongroup.com">Mike.Giles@thekentongroup.com</a>&gt; wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Hi Tim,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Thanks for your reply.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>The Ubuntu server (Sheevaplug with mobile broadband usb dongle) is always connected to the same provider with a static Ip address.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>The XP client I have tried connecting via 2 different ADSL lines.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>First via SBS 2003 server with ISA server configured to pass everything to/from XP client PC, the ADSL router is configured with static NAT to SBS 2003 server.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Second XP client connected directly to ADSL router. Using NAT with Firewall disabled.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>I&nbsp; haven&#8217;t been able to connect for a while now with either connection.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Regards,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Mike</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p><div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;border-color:-moz-use-text-color -moz-use-text-color'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:10.0pt'> tim marks [mailto:<a href="mailto:tsmarks@gmail.com" target="_blank">tsmarks@gmail.com</a>] <br><b>Sent:</b> 24 November 2010 06:14<br><b>To:</b> Mike Giles<br><b>Subject:</b> Re: [Openswan Users] FW: Windows XP L2tpipsec client connecting to Ubuntu server</span><o:p></o:p></p></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>When the XP connects, is it always from the same network? Or is it a mobile system, connecting from hotspots and other networks?<br><br>Tim<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Fri, Nov 19, 2010 at 6:53 AM, Mike Giles &lt;<a href="mailto:Mike.Giles@thekentongroup.com" target="_blank">Mike.Giles@thekentongroup.com</a>&gt; wrote:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>Hi again,<br>I am now getting the following in xl2tpd debug:<br><br>Nov 19 17:00:30 ubuntu xl2tpd[2432]: control_finish: Peer requested<br>tunnel 22 tw<br>ice, ignoring second one.<br>Nov 19 17:00:32 ubuntu xl2tpd[2432]: Unable to deliver closing message<br>for tunne<br>l 1344. Destroying anyway.<br>Nov 19 17:03:42 ubuntu xl2tpd[2704]: control_finish: Peer requested<br>tunnel 23 tw<br>ice, ignoring second one.<br>Nov 19 17:03:47 ubuntu last message repeated 2 times<br>Nov 19 17:03:52 ubuntu xl2tpd[2704]: Unable to deliver closing message<br>for tunne<br>l 63083. Destroying anyway.<br>Nov 19 17:04:05 ubuntu xl2tpd[2704]: control_finish: Peer requested<br>tunnel 23 tw<br>ice, ignoring second one.<br>Nov 19 17:04:07 ubuntu xl2tpd[2704]: Unable to deliver closing message<br>for tunne<br>l 65184. Destroying anyway.<br>Nov 19 17:16:40 ubuntu xl2tpd[2704]: control_finish: Peer requested<br>tunnel 24 tw<br>ice, ignoring second one.<br>Nov 19 17:16:45 ubuntu last message repeated 2 times<br>Nov 19 17:16:50 ubuntu xl2tpd[2704]: Unable to deliver closing message<br>for tunne<br>l 48238. Destroying anyway.<br>Nov 19 17:17:03 ubuntu xl2tpd[2704]: control_finish: Peer requested<br>tunnel 24 tw<br>ice, ignoring second one.<br>Nov 19 17:17:05 ubuntu xl2tpd[2704]: Unable to deliver closing message<br>for tunne<br>l 43240. Destroying anyway.<br>root@ubuntu:/var/log#<br><br>config as attached:<br><br>Could anyone help me with this ?<br><br>Regards,<br>Mike<br><br><br>-----Original Message-----<br>From: Mike Giles<br>Sent: 06 September 2010 13:28<br>To: '<a href="mailto:users@openswan.org" target="_blank">users@openswan.org</a>'<br>Subject: Windows XP L2tpipsec client connecting to Ubuntu server<br><br>Hi,<br>I have a Ubuntu server which I'm trying to connect to with a Windows XP<br>client (L2tpipsec) I'm using PSK at the &nbsp;moment.<br>Ubuntu 2.6.32.9<br>Openswan IPSEc 2.6.25<br>Xl2tpd 1.2.0<br><br>I have followed:<br><a href="http://rootmanager.com/ubuntu-ipsec-l2tp-windows-domain-auth/setting-up-%0Aopenswan-xl2tpd-with-native-windows-clients.html" target="_blank">http://rootmanager.com/ubuntu-ipsec-l2tp-windows-domain-auth/setting-up-<br>openswan-xl2tpd-with-native-windows-clients.html</a><br><br>I can sometimes connect ok.<br><br>However the server often generates ICMP destination port unreachable<br>(1701) in reply to ESP packets (Destination port 4500).<br><br>I have attached a failed connect and a successful connect. (tcpdump on<br>server side) The server is connected via a usb mobile broadband modem<br>(using a static public IP address NATed to 10.8.11.254).<br><br>I have tried connecting with no rules setup in iptables and with rules<br>accepting the specific ports (500,4500 and 1701).<br><br>Any suggestions would be very helpful.<br><br>Thanks &amp; Regards,<br><span style='color:#888888'>Mike<br><br></span><br>_______________________________________________<br><a href="mailto:Users@openswan.org" target="_blank">Users@openswan.org</a><br><a href="http://lists.openswan.org/mailman/listinfo/users" target="_blank">http://lists.openswan.org/mailman/listinfo/users</a><br>Micropayments: <a href="https://flattr.com/thing/38387/IPsec-for-Linux-made-easy" target="_blank">https://flattr.com/thing/38387/IPsec-for-Linux-made-easy</a><br>Building and Integrating Virtual Private Networks with Openswan:<br><a href="http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155" target="_blank">http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155</a><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div></div></div></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>