<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br><br>sent from a tiny device </div><div><br>On 2013-11-04, at 7:39, "Rishad Ali" <<a href="mailto:rishad.ali@turnkey-instruments.com">rishad.ali@turnkey-instruments.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@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]--><div class="WordSection1"><p class="MsoNormal"><span style="color:#1F497D">Hi all,<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">I am trying to setup VPN between my dedicated server (centOS) and a another company. I want to terminate VPN on my dedicated server which I access remotely and the other company terminates their VPN on a CISCO firewall.<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">(I have been given their </span><span style="color:#1F497D">Internal IP address and external Gateway IP address to setup on openswan.) <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">My first problem is, I do not have a network behind my server, so what should be my <b>internal IP address</b> in the ipsec.config (should I use the same public IP address for both internal and external )</span></p></div></div></blockquote><div><br></div>you can just leave out leftsubnet=<div><br></div><div><br><blockquote type="cite"><div class="WordSection1"><p class="MsoNormal"><span style="color:#1F497D"><o:p></o:p></span></p><p class="MsoNormal"><br></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">Secondly, when I run ipsec verify, below is the output<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p></div></blockquote><div><br></div>it's odd that it shows ip</div><div>xfrm is broken on centos. that is normally not a problem. do you have the iproute package installed?</div><div><br></div><div><br><blockquote type="cite"><div class="WordSection1"><p class="MsoNormal"><span style="color:#1F497D">Checking if IPsec got installed and started correctly:<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">Version check and ipsec on-path [OK]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">Openswan U2.6.39/K2.6.32-358.23.2.el6.x86_64 (netkey)<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">See `ipsec --copyright' for copyright information.<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">Checking for IPsec support in kernel [OK]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> NETKEY: Testing XFRM related proc values<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> ICMP default/send_redirects [OK]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> ICMP default/accept_redirects [OK]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> XFRM larval drop [OK]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">Hardware random device check [N/A]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">Checking rp_filter [ENABLED]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> /proc/sys/net/ipv4/conf/default/rp_filter [ENABLED]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> /proc/sys/net/ipv4/conf/lo/rp_filter [ENABLED]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> /proc/sys/net/ipv4/conf/eth0/rp_filter [ENABLED]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">Checking that pluto is running [OK]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> Pluto listening for IKE on udp 500 [OK]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> Pluto listening for IKE on tcp 500 [NOT IMPLEMENTED]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> Pluto listening for IKE/NAT-T on udp 4500 [DISABLED]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> Pluto listening for IKE/NAT-T on tcp 4500 [NOT IMPLEMENTED]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> Pluto listening for IKE on tcp 10000 (cisco) [NOT IMPLEMENTED]<o:p></o:p></span></p><p class="MsoNormal"><b><u><span style="color:#1F497D">Checking NAT and MASQUERADEing [TEST INCOMPLETE]<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="color:#1F497D">Checking 'ip' command [IP XFRM BROKEN]<o:p></o:p></span></u></b></p><p class="MsoNormal"><span style="color:#1F497D">Checking 'iptables' command [OK]<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">It says,<o:p></o:p></span></p><p class="MsoNormal"><b><u><span style="color:#1F497D">Checking NAT and MASQUERADEing [TEST INCOMPLETE]<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="color:#1F497D">Checking 'ip' command [IP XFRM BROKEN]<o:p></o:p></span></u></b></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">How to fix this?<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">Thanks.<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p></div>
<br><br></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span><a href="mailto:Users@lists.openswan.org">Users@lists.openswan.org</a></span><br><span><a href="https://lists.openswan.org/mailman/listinfo/users">https://lists.openswan.org/mailman/listinfo/users</a></span><br><span>Micropayments: <a href="https://flattr.com/thing/38387/IPsec-for-Linux-made-easy">https://flattr.com/thing/38387/IPsec-for-Linux-made-easy</a></span><br><span>Building and Integrating Virtual Private Networks with Openswan:</span><br><span><a href="http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155">http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155</a></span><br></div></blockquote></div></body></html>