<div dir="ltr">
<p class=""><span class="">Thanks to some help from this list I have been able to configure the following files that allow me to get my IPSEC/OPENSWAN tunnel up....but I'm still not able to ping the server I'm trying to connecting to over this VPN connection. There is something missing in my setup...</span></p><p class="">These are the files I have configured:</p><p class=""><span class=""></span></p><h5 style="font-family:'Open Sans',Calibri,Candara,Arial,sans-serif;font-weight:300;line-height:20px;margin-top:10px;margin-bottom:10.5px;font-size:15px;padding-top:10px;color:rgb(8,8,8)">/etc/rc.local</h5><h5 style="font-family:'Open Sans',Calibri,Candara,Arial,sans-serif;font-weight:300;line-height:20px;margin-top:10px;margin-bottom:10.5px;font-size:15px;padding-top:10px;color:rgb(8,8,8)"><em style="color:rgb(85,85,85)">/etc/ipsec.conf</em></h5><div><em style="color:rgb(85,85,85);font-family:'Open Sans',Calibri,Candara,Arial,sans-serif;font-size:15px;line-height:20px">/etc/ipsec.secrets</em><em style="color:rgb(85,85,85);font-family:'Open Sans',Calibri,Candara,Arial,sans-serif;font-size:15px;line-height:20px"><br></em></div><p class=""><span class=""><em style="color:rgb(85,85,85);font-family:'Open Sans',Calibri,Candara,Arial,sans-serif;font-size:15px;line-height:20px">/etc/xl2tpd/xl2tpd.conf</em><br></span></p><p class=""><span class=""><em style="color:rgb(85,85,85);font-family:'Open Sans',Calibri,Candara,Arial,sans-serif;font-size:15px;line-height:20px">/etc/ppp/options.xl2tpd</em><em style="color:rgb(85,85,85);font-family:'Open Sans',Calibri,Candara,Arial,sans-serif;font-size:15px;line-height:20px"><br></em></span></p><p class=""><br></p><p class="">After getting these files configured I invoke this command:</p><p class="">sudo ipsec auto --up sftravelvpn<br></p><p class="">And then I check this by typing "service ipsec status" I get the following message which shows my tunnel is up:</p><p class=""><br></p><p class="">IPsec running - pluto pid: 13124<br></p><p class=""><span class="">pluto pid 13124</span></p><p class=""><span class="">1 tunnels up</span></p><p class="">
</p><p class=""><span class="">some eroutes exist</span></p><p class=""><br></p><p class="">It took me a lot of effort to get this far...but I'm still not fully connected to the VPN. When I try to ping the server that hosts the database that lives behind the VPN it doesn't get a response:</p><p class=""><br></p><p class=""><span class="">ping 10.203.32.57</span></p><p class=""><span class="">PING 10.203.32.57 (10.203.32.57) 56(84) bytes of data.</span></p><p class=""><span class="">--- 10.203.32.57 ping statistics ---</span></p><p class="">
</p><p class=""><span class="">7 packets transmitted, 0 received, 100% packet loss, time 6048ms</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Also when I type "ifconfig" or "ip link" I do not see a "pppx" connection (which I believe I should see if things are fully connected).</span></p><p class=""><br></p><p class=""><span class="">root@ip-172-31-18-27:/etc/xl2tpd# ifconfig</span></p><p class=""><span class="">eth0 Link encap:Ethernet HWaddr 06:cc:b4:6d:b7:73 </span></p><p class=""><span class=""> inet addr:172.31.18.27 Bcast:172.31.31.255 Mask:255.255.240.0</span></p><p class=""><span class=""> inet6 addr: fe80::4cc:b4ff:fe6d:b773/64 Scope:Link</span></p><p class=""><span class=""> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</span></p><p class=""><span class=""> RX packets:752023 errors:0 dropped:0 overruns:0 frame:0</span></p><p class=""><span class=""> TX packets:518069 errors:0 dropped:0 overruns:0 carrier:0</span></p><p class=""><span class=""> collisions:0 txqueuelen:1000 </span></p><p class=""><span class=""> RX bytes:468189557 (468.1 MB) TX bytes:106360597 (106.3 MB)</span></p><p class=""><span class=""></span><br></p><p class=""><span class="">lo Link encap:Local Loopback </span></p><p class=""><span class=""> inet addr:127.0.0.1 Mask:255.0.0.0</span></p><p class=""><span class=""> inet6 addr: ::1/128 Scope:Host</span></p><p class=""><span class=""> UP LOOPBACK RUNNING MTU:65536 Metric:1</span></p><p class=""><span class=""> RX packets:0 errors:0 dropped:0 overruns:0 frame:0</span></p><p class=""><span class=""> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</span></p><p class=""><span class=""> collisions:0 txqueuelen:0 </span></p><p class="">
</p><p class=""><span class=""> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)</span></p><p class=""><br></p><p class="">Does anyone on this list have any ideas/clues about why I'm not seeing the "pppx" connection? I think I'm very close to getting this fully connected but have a hit a dead end trying to troubleshoot this in the last couple of weeks..</p><p class=""><br></p><p class="">Thanks!</p><p class=""><br></p><p class="">Jared</p><p class=""><br></p><p class=""><br></p><p class=""><br></p><p class=""><br></p></div>