<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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>Hello all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have a Phoenix Contact GSM modem that I've been trying to configure as a VPN server. The device is a Linux box running strongSwan, and because of the web interface I have very limited control over the configuration. I've been trying to connect to it without luck. It gets through the Phase 1 authentication and then fails at Phase 2. The problem seems to be a NAT problem (where I don't know), as here is the relevant error from the log (IPs replaced):<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Oct 11 11:30:12 pluto[1405]: "vpn1"[2] [office_ip]:4500 #1: cannot respond to IPsec SA request because no connection is known for 192.168.9.0/24===[modem_ip]:4500...[office_ip]:4500[192.168.0.15]===192.168.0.240/32<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here's what I can tell you:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>PSK for auth, not using certs<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On the GSM modem:<br>Internal IP address: 192.168.0.1<br>External IP address: [modem_ip]<br>(on the VPN settings page):<br>"Address Remote Network": 192.168.9.0/24<br>"Address Local Network": 192.168.0.0/24<br>Local 1:1 NAT is unchecked<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Office's setup:<br>Our router address: 192.168.0.1<br>External IP address: [office_ip]<br>My computer's IP address: 192.168.0.15<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>VPN client setup (GreenBow, tried Windows' built-in functionality first):<br>VPN client address: 192.168.0.240<br>Address type: subnet address<br>Remote LAN address: 192.168.9.0<br>Subnet mask: 255.255.255.0<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The GreenBow client told me "Wrong Remote Address", and when I try to connect with Windows it tells me "Error 789: The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer." and the modem's log shows:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>Feb 20 13:08:43 pluto[1162]: "vpn1"[2] [office_ip]:58385 #1: cannot respond to IPsec SA request because no connection is known for [modem_ip]:4500:17/1701...[office_ip]:58385[192.168.0.15]:17/1701===192.168.0.15/32<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In Windows, I have the VPN connection's security set to L2TP/IPSec with the PSK in place in the advanced settings, everything else left as default.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any help would be greatly appreciated. I've tried so many different combinations in all the fields with IP addresses without any luck. Is this a problem with my office's router, the GSM router, or what? It's got to be some sort of NAT problem.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Jacob Abel<br>Project Engineer<br>Accuflow, Inc.<br>4801 District Blvd.<br>Bakersfield, CA 93313<br><a href="http://www.accuflow.com/" target="_blank"><span style='color:blue'>www.accuflow.com</span></a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>