[pptp-server] How to access the subnet?

Jordan Share iso9 at phantasticant.com
Thu Sep 20 21:06:09 CDT 2001


The client machines on your LAN probably don't know how to get packets to the 192.168.5.0 network.

What is the routing?

The simplest thing for you might be to do what I did, and just give the PPTP boxes addresses that "belong" on your LAN, based on your diagram below, that would be something like this:

-- cut from /etc/pptpd.conf --
localip 192.168.5.120   # this can be anything
remoteip 192.168.0.225-253
-- end of cut --

The machines on your 192.168.0.0 network will only ARP for IP addresses if they think the destination IP should be on the subnet.  Otherwise they will send the packet to the router.  So, if you want proxyarp to have any effect, you need to make the remoteip address range be in your LAN's range.

[Jordan Share] 
  -----Original Message-----
  From: pptp-server-admin at lists.schulte.org [mailto:pptp-server-admin at lists.schulte.org]On Behalf Of zhang.yb
  Sent: Thursday, September 20, 2001 6:14 PM
  To: pptp-server
  Subject: [pptp-server] How to access the subnet?


  I have a pptp server running in linux set up on my office LAN. 

    Red Hat 6.2
    Kernel rpm RedHat 2.2.19-6.2.7
    Server pptpd PoPToP v1.0.1

  I can connect to the server and ping to it fine, but I can't ping any 
  other hosts on the office subnet.  I have ip-forwarding turned on and 
  I have proxyarp set in the ppp/options file.  What can be wrong?

  -- cut from /etc/pptpd.conf --
  localip 192.168.5.120
  remoteip 192.168.5.100-119
  -- end of cut --

  --cut from /etc/ppp/options--
  name vip
  noauth
  #require-chap
  proxyarp
  --end of cut--

  --cut from /etc/ppp/chap-secrets--
  vip * vip    *
  -- end of cut--

                                    192.168.0.254   192.168.0.16
   ________                              ______        _____
  |        |                            |      |      |      |
  | client |--------------------------> | pptp |----->| host |
  |        |                            | srvr |      |      |
  |________|                           |______|      |______|
      H                                   H
      H                                   H
      H                                   H
      H===================================H
  192.168.5.100     pptp connection     192.168.5.120

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schulte.org/mailman/private/pptp-server/attachments/20010920/5735fe92/attachment.html>


More information about the pptp-server mailing list