[pptp-server] linux2linux
jesus soro
jesussoro at hotmail.com
Thu Aug 24 04:57:11 CDT 2000
Thanks to Steve Cowles,Marcus Rapp and Jason Shakelford for their help, but
we still need a little more. I have a picture of the connection we are
implementing.
PC
|192.168.129.2
|
|
|_______________|__________|
|
|
|192.168.129.1 192.168.29.102
Linux pptp client........................
|195.77.129.64 .
| .
________|________ .
/ \ .
| | .
| INTERNET | . PPTP conection
| | .
\_______________/ .
| .
|195.77.129.59 .
Linux pptp server........................
| 192.168.29.100
|
|192.168.29.0
|_______|_______________|
|................|
The routes done are:
Linux pptp client: route add -net 192.168.29.0 netmask 255.255.255.0 gw
192.168.29.100
Linux pptp server: route add -net 19.168.129.0 netmask 255.255.255.0 gw
192.168.29.102
After this, we can make pings from linux pptp client to the PC and to the
192.168.29.0 intranet, but we cannot make ping from linux pptp server to the
PC and from the PC to linux pptp server neither 192.168.29.0 Intranet.
Any ideas?
Thanks
>From: "Cowles, Steve" <Steve.Cowles at gte.net>
>To: "'pptp-server at lists.schulte.org'" <pptp-server at lists.schulte.org>
>CC: "'jesus soro'" <jesussoro at hotmail.com>
>Subject: RE: [pptp-server] linux2linux
>Date: Wed, 23 Aug 2000 17:59:49 -0500
>
>I'm confused on what your referring to as remote lan. The central office
>LAN
>or the LAN where the pptp client is running.
>
>If your referring to the LAN where the PPTP client is running routing to
>the
>Central Office, then...
>
>The pptp client does NOT add the network route automatically when the
>tunnel
>is brought up. Thus you will need to add this route manually. I simply
>wrote
>a script to 1) bring up the tunnel (pptp client) and 2) add the network
>route.
>
>Say that your central office lan's address is 192.168.1.0/24 and your linux
>system running the pptp client is assigned an address of 192.168.1.51 after
>the tunnel is brought up, you would then execute the following (as root) to
>add the network route to the system running pptp client.
>
>I'm going from memory here... but I think this is correct syntax
>
>route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.51
> or
>route add -net 192.168.1.0 netmask 255.255.255.0 dev ppp0
>
>Now if your referring to the "Central Office" LAN systems being able to
>route back to your pptp client, then the PopTop server "MUST" be setup to
>proxyarp for your remote ip address. In your /etc/ppp/options file, make
>sure you include the "proxyarp" option. You can tell if pppd (PopTop) is
>properly assigning eth* to act as a proxarp for your connection by
>examining
>/var/log/messages and look for a line that says something like "Found eth*
>for proxyarp" shortly after the lines that specifies the local/remote ip
>addresses when the tunnel is brought up. BTW: If PopTop is running on the
>linux firewall, the proper ipchain rules "might" need to be added. Your
>post
>does not mention any relevant info regarding this area.
>
>Steve Cowles
>
> > -----Original Message-----
> > From: jesus soro [mailto:jesussoro at hotmail.com]
> > Sent: Wednesday, August 23, 2000 11:37 AM
> > To: pptp-server at lists.schulte.org
> > Subject: [pptp-server] linux2linux
> >
> >
> > I want to connect my remote office with a linux pptp client
> > to the central office with the pptp linux server. I have
> > established the pptp connection but i don't know how to route
> > the traffic from the remote LAN to the pptp tunnel.
> >
> > Any ideas?
> >
> > Thanks
>_______________________________________________
>pptp-server maillist - pptp-server at lists.schulte.org
>http://lists.schulte.org/mailman/listinfo/pptp-server
>List services provided by www.schulteconsulting.com!
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
More information about the pptp-server
mailing list