[Openswan Users] IPSEC tunnel up but no

Jared Rodecker jared.rodecker at gmail.com
Wed Nov 18 20:20:14 EST 2015


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...

These are the files I have configured:

/etc/rc.local*/etc/ipsec.conf*
*/etc/ipsec.secrets*

*/etc/xl2tpd/xl2tpd.conf*

*/etc/ppp/options.xl2tpd*


After getting these files configured I invoke this command:

sudo ipsec auto --up sftravelvpn

And then I check this by typing "service ipsec status" I get the following
message which shows my tunnel is up:


IPsec running  - pluto pid: 13124

pluto pid 13124

1 tunnels up

some eroutes exist


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:


ping 10.203.32.57

PING 10.203.32.57 (10.203.32.57) 56(84) bytes of data.

--- 10.203.32.57 ping statistics ---

7 packets transmitted, 0 received, 100% packet loss, time 6048ms


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).


root at ip-172-31-18-27:/etc/xl2tpd# ifconfig

eth0      Link encap:Ethernet  HWaddr 06:cc:b4:6d:b7:73

          inet addr:172.31.18.27  Bcast:172.31.31.255  Mask:255.255.240.0

          inet6 addr: fe80::4cc:b4ff:fe6d:b773/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:752023 errors:0 dropped:0 overruns:0 frame:0

          TX packets:518069 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:468189557 (468.1 MB)  TX bytes:106360597 (106.3 MB)


lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


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..


Thanks!


Jared
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/users/attachments/20151118/c751030e/attachment.html>


More information about the Users mailing list