<div dir="ltr">I'm running StrongSwan for site2site VPN connections.<div>It works fine.</div><div><br></div><div>I have a client who cannot use site2site.</div><div><br></div><div>How do I setup StrongSwan to act as server?</div><div><br></div><div>This is a usual config for site2site at my end:</div><div><br></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">conn testVPN</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        left=342.15.223.11</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        leftsubnet=10.0.1.9</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        leftid=</span>342.15.223.11</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        leftfirewall=yes</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        right=131.32.43.12</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)">        rightsubnet=131.32.43.12</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        rightid=</span>131.32.43.12</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        auto=start</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        closeaction=restart</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        dpdaction=restart</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        ike=3des-sha1-modp1024</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        esp=3des-sha1-modp1024</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:'courier new';color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        keyexchange=ikev1</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">When starting it up and cannot connect, as it is expecting site2site and cannot reach the other end.</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div></div>