<div dir="ltr"><div>mmm...<br><br></div><div>i still getting an error message, not the same but another syntax error<br></div><div><br></div>heres my config file - <br><br>config setup<br>       interfaces=%defaultroute<br>       klipsdebug=none<br>       nat_traversal=yes<br>       nhelpers=0<br>       oe=off<br>       plutodebug=none<br>       plutostderrlog=/var/log/pluto.log<br>       protostack=netkey<br>       virtual_private=%v4:<a href="http://172.16.8.0/21">172.16.8.0/21</a><br><br>       conn=L2TP-PSK<br>       authby=secret<br>       pfs=no<br>       auto=add<br>       keyingtries=3<br>       rekey=no<br>       type=transport<br>       forceencaps=yes<br>       right=%any<br>       rightsubnet=vhost:%any,%priv<br>       rightprotoport=17/0<br>       # Using the magic port of "0" means "any one single port". This is<br>       # a work around required for Apple OSX clients that use a randomly<br>       # high port, but propose "0" instead of their port.<br>       left=%defaultroute<br>       leftprotoport=17/1701<br>       # Apple iOS doesn't send delete notify so we need dead peer detection<br>       # to detect vanishing clients<br>       dpddelay=10<br>       dpdtimeout=90<br>       dpdaction=clear<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 November 2016 at 12:33, Samir Hussain <span dir="ltr"><<a href="mailto:shussain@xelerance.com" target="_blank">shussain@xelerance.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
  There  is a typo in the guide. In the /etc/ipsec.conf example, they have<br>
<br>
       <strong>virtual_private=%v4:<a href="http://10.0.100.0/24" rel="noreferrer" target="_blank">10<wbr>.0.100.0/24</a><br>
<br>
</strong>conn L2TP-PSK<br>
<br>
The <strong> tag should be removed so it would be:<br>
<br>
       <virtual_private=%v4:<a href="http://10.0.100.0/24" rel="noreferrer" target="_blank">10.0.100.<wbr>0/24</a><br>
<br>
conn L2TP-PSK<br>
<br>
<br>
Samir<br>
<div><div class="h5"><br>
On 2016-11-03 08:24 AM, robert k Wild wrote:<br>
> hi all,<br>
><br>
> i have followed this guide -<br>
><br>
> <a href="http://blog.earth-works.com/2013/02/22/how-to-set-up-openswan-l2tp-vpn-server-on-centos-6/" rel="noreferrer" target="_blank">http://blog.earth-works.com/<wbr>2013/02/22/how-to-set-up-<wbr>openswan-l2tp-vpn-server-on-<wbr>centos-6/</a><br>
><br>
> and i am stuck on starting the ipsec service, i get the below error -<br>
><br>
> [root@vpn ~]# service ipsec start<br>
> Starting pluto IKE daemon for IPsec: cannot load config<br>
> '/etc/ipsec.conf': /etc/ipsec.conf:12: syntax error, unexpected STRING,<br>
> expecting $end [<strong>virtual_private]<br>
> cannot load config '/etc/ipsec.conf': /etc/ipsec.conf:12: syntax error,<br>
> unexpected STRING, expecting $end [<strong>virtual_private]<br>
> unknown stack<br>
> cannot load config '/etc/ipsec.conf': /etc/ipsec.conf:12: syntax error,<br>
> unexpected STRING, expecting $end [<strong>virtual_private]<br>
> .....                                                      [FAILED]<br>
> [root@vpn ~]#<br>
><br>
> can anyone please help me<br>
><br>
> many thanks,<br>
><br>
> rob<br>
><br>
> --<br>
> Regards,<br>
><br>
> Robert K Wild.<br>
><br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> <a href="mailto:Users@lists.openswan.org">Users@lists.openswan.org</a><br>
> <a href="https://lists.openswan.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openswan.org/<wbr>mailman/listinfo/users</a><br>
> Micropayments: <a href="https://flattr.com/thing/38387/IPsec-for-Linux-made-easy" rel="noreferrer" target="_blank">https://flattr.com/thing/<wbr>38387/IPsec-for-Linux-made-<wbr>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" rel="noreferrer" target="_blank">http://www.amazon.com/gp/<wbr>product/1904811256/104-<wbr>3099591-2946327?n=283155</a><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards, <br><br>Robert K Wild.<br></div></div>
</div>