VPN; Routing

Shon Shampain shon at zencowsgomu.com
Mon Feb 23 09:39:47 MST 2009


I have a recent LFS install, trying to get VPN working....
Please help!!!!

# First I bring up the VPN
# ----------------------------------------------------
-bash-3.2$ sudo pon vpn

# Here are the routes after it is up, <pub-ip-of-vpn> sanitized
-bash-3.2$ sudo ip route show
<pub-ip-of-vpn> dev ppp0 proto kernel scope link src 192.168.10.133
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.5
default via 192.168.1.1 dev eth0

# Add the VPN the best I know how - obviously wrong!!
# ----------------------------------------------------
-bash-3.2$ sudo ip route append 192.168.10.0/24 via 192.168.10.133

-bash-3.2$ sudo ip route show
<pub-ip-of-vpn> dev ppp0 proto kernel scope link src 192.168.10.133
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.5
192.168.10.0/24 via 192.168.10.133 dev ppp0
default via 192.168.1.1 dev eth0

# Try to connect, no dice!
# ----------------------------------------------------
-bash-3.2$ ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
^C--- 192.168.10.1 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss

# traceroute, no dice!
# ----------------------------------------------------
-bash-3.2$ traceroute 192.168.10.1
traceroute to 192.168.10.1 (192.168.10.1), 30 hops max, 40 byte packets
1 * * *
^C

-bash-3.2$ sudo poff vpn

# I have also tried this with the same results
-bash-3.2$ sudo ip route append 192.168.10.0/24 via <pub-ip-vpn>



More information about the blfs-support mailing list