I have a virtual Ubuntu server running on Vagrant. I need to run VPNC to connect into my database server for development, but when I run the configuration that I have, I don't get any traffic to my server over the VPN. My configuration is setup as the following:
IPSec gateway asa-***.edgewebhosting.com
IPSec ID remote_Access
IPSec Secret ***
Xauth username ***
XAuth password ***
When I run ifconfig I can see the tunnel with the proper IP but no traffic goes through. Here is the output of ifconfig and route
ifconfig:
eth0 Link encap:Ethernet HWaddr 08:00:27:41:53:f3
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe41:53f3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1796 errors:0 dropped:0 overruns:0 frame:0
TX packets:1147 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:147562 (147.5 KB) TX bytes:155870 (155.8 KB)
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:16436 Metric:1
RX packets:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5031 (5.0 KB) TX bytes:5031 (5.0 KB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.11.18.243 P-t-P:10.11.18.243 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1412 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:252 (252.0 B)
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.0.2.2 0.0.0.0 UG 100 0 0 eth0
10.0.2.0 * 255.255.255.0 U 0 0 0 eth0
10.11.18.0 * 255.255.255.0 U 0 0 0 tun0
asa-***. 10.0.2.2 255.255.255.255 UGH 0 0 0 eth0