[pptp-server] routing blues - VPN w/ssh and PPPD
Benjamin Smith
bens at saber.net
Wed Jan 5 21:16:30 CST 2000
I've set up a VPN using ssh and PPPD, as described in the VPN howto at the LDP,
and am almost successful.
Here's a map of the situation: we have two IP masq networks, one server running
RH 6.0, the other running 6.1.
Home Office
192.168.120.* (local network)
192.168.120.1 (eth1 adapter)
63.195.17.22 (IP Address of local Linux box)
192.168.0.2 (VPN IP Address)
{ Internet }
Office
192.168.0.1 (VPN IP address)
63.195.16.96 (IP Address of remote Linux box)
192.168.121.1 (eth1 adapter)
192.168.121.* (remote network)
Local (home) routing table:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.120.1 * 255.255.255.255 UH 0 0 0 eth1
192.168.0.2 * 255.255.255.255 UH 0 0 0 ppp0
63.195.17.22 * 255.255.255.255 UH 0 0 0 eth0
192.168.197.0 * 255.255.255.0 U 0 0 0 vmnet1
192.168.120.0 * 255.255.255.0 U 0 0 0 eth1
192.168.121.0 192.168.0.1 255.255.255.0 UG 0 0 0 ppp0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
63.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default adsl-63-195-17- 0.0.0.0 UG 0 0 0 eth0
Remote (office) routing table:
Destination Gateway Genmask Flags Metric Ref Use Iface
63.195.16.96 * 255.255.255.255 UH 0 0 0 eth0
192.168.0.1 * 255.255.255.255 UH 0 0 0 ppp0
192.168.121.1 * 255.255.255.255 UH 0 0 0 eth1
63.195.16.0 * 255.255.255.0 U 0 0 0 eth0
192.168.120.0 192.168.0.2 255.255.255.0 UG 0 0 0 ppp0
192.168.121.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 63.195.16.254 0.0.0.0 UG 0 0 0 eth0
I can ping from any workstation on either LAN to the remote Linux server, but I
can't ping from workstation to remote workstation. All workstations are using
the local Linux box as the default gateway. The office computer has DNS, and
it's the DNS server for home and office.
from 192.168.120.11 (local workstation)
ping 192.168.120.1 - works (the local linux box)
ping 192.168.121.1 - works. (the remote linux box)
ping 192.168.121.3 - doesn't work. ( a remote Windows workstation)
---
from 192.168.121.1 (the remote linux box)
ping 192.168.121.3 - works ( remote Windows workstation)
ping 192.168.120.1 - works (the local linux box)
ping 192.168.120.11 - doesn't work. (a local workstation)
All workstations on either side use the local Linux box as default route.
(192.168.121.2, running Windoze, uses 192.168.121.1 as the default route, and
192.168.120.11 uses 192.168.120.1 as the default route)
I can't for the life of me figure this out! Why isn't this WORKING?
And, I admit it, this is not a PPTP issue, but I asked about PPTP vs ssh +
PPPD on this list a while back, and was informed that when you have a Linux box
as a server on both sides, that this way was more efficient. Since some of you
had used this method, I thought I'd try here.
Thanks,
Ben
More information about the pptp-server
mailing list