[pptp-server] can't ping past server
John Holmes
jsholmes at MIT.EDU
Fri Mar 10 20:04:54 CST 2000
hi there. the problem i'm having is that i can ping the ip of the server and
the ip it is assigning me just fine, but can't seem to ping anything else.
anyone know what i'm doing wrong? i'm convinced it's a simple routing
detail, but i'm confusing myself with tunnels within tunnels. thanks.
here's the setup i'm trying to get to work:
i have a win2k client on a local, private network behind a freebsd nat. this
is connected via cablemodem to an isp and the internet. i want to tunnel
into a public network so it appears as if my computer is on that network,
instead of the local, private one. this is largely so that am externally
reachable with udp. in any event, here are my config details:
The address of the server on the public (mit) network is 18.245.0.173
(cerebral.mit.edu). i want my home machine to appear as 18.245.1.107
(x-rated.mit.edu).
on the redhat SERVER:
/etc/pptpd.conf:
localip 18.245.1.107
remoteip 10.255.254.107
[root at cerebral /etc]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.255.254.107 * 255.255.255.255 UH 0 0 0 ppp0
18.245.0.173 * 255.255.255.255 UH 0 0 0 eth0
18.245.0.0 * 255.255.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default NW12-RTR-W7-ETH 0.0.0.0 UG 0 0 0 eth0
[root at cerebral /etc]# ipchains --list
Chain input (policy ACCEPT):
Chain forward (policy DENY):
target prot opt source destination ports
ACCEPT all ------ X-RATED.MIT.EDU 10.255.254.107 n/a
ACCEPT all ------ 10.255.254.107 X-RATED.MIT.EDU n/a
Chain output (policy ACCEPT):
on the win2k CLIENT, here is the routing table (yes, it looks weird. the
complication is that the freebsd nat has an ip in ip encapsulator that is
connected to the 18.101 subnet. this lets the win2k client also be known as
18.101.0.181. i'm trying to set up a pptp tunnel through this ip in ip
tunnel) :
D:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 60 08 35 d2 8d ...... 3Com 3C90x Ethernet Adapter
0x10000004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.255.254.107 10.255.254.107 1
0.0.0.0 0.0.0.0 18.101.0.177 18.101.0.181 2
10.255.254.107 255.255.255.255 127.0.0.1 127.0.0.1 1
10.255.255.255 255.255.255.255 10.255.254.107 10.255.254.107 1
18.26.2.13 255.255.255.255 18.101.0.177 18.101.0.181 1
18.101.0.176 255.255.255.240 18.101.0.181 18.101.0.181 1
18.101.0.181 255.255.255.255 127.0.0.1 127.0.0.1 1
18.245.0.173 255.255.255.255 18.101.0.177 18.101.0.181 1
18.245.1.107 255.255.255.255 10.255.254.107 10.255.254.107 1
18.255.255.255 255.255.255.255 18.101.0.181 18.101.0.181 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
206.154.102.12 255.255.255.255 18.101.0.177 18.101.0.181 1
224.0.0.0 224.0.0.0 10.255.254.107 10.255.254.107 1
224.0.0.0 224.0.0.0 18.101.0.181 18.101.0.181 1
255.255.255.255 255.255.255.255 18.101.0.181 18.101.0.181 1
Default Gateway: 10.255.254.107
===========================================================================
Persistent Routes:
None
Thanks,
John
More information about the pptp-server
mailing list