[pptp-server] ppp remote user
Jean-Serge Gagnon
jsg at newlix.com
Fri May 5 06:59:50 CDT 2000
The only thing I can think of is permanently adding routes from C to all
possible addresses that A may get. This should usually never change and
could be as easy as a network address range. If you control the setup of B,
then it should not be difficult and even when A is not connected, there is
no harm (correct me if I'm wrong) in having the route there on C...
Jean-Serge Gagnon - Applications Director
Newlix Corporation - jsg at newlix.com
http://www.newlix.com
(613) 225-0516 fax: (613) 225-5625
> -----Original Message-----
> From: pptp-server-admin at lists.schulte.org
> [mailto:pptp-server-admin at lists.schulte.org]On Behalf Of Dung Nguyen
> Sent: Friday, May 05, 2000 3:30 AM
> To: Gord Belsey
> Cc: pptp-server at lists.schulte.org
> Subject: Re: [pptp-server] ppp remote user
>
>
> Dear
> Thank you for your helping me.I understand you, but I
> want to mean that :
> ----- ------- ------
> | A |----------| B |------------------| C |
> ----- PPP ------- pptp ------
>
>
> And these are things I've done :
> _ I establish a ppp connection from A to B
> _ After that I make a pptp connection manually from B
> (pptp linux-Client) to C (PoPToP linux Server)
>
> _ After that I can't ping from C to A
> _ If i do manually : route add -net <address A> gw
> <Address B> at C(PoPToP Server) : I can ping to Remote
> host A
> _ My question is how to ping from C to A automatically
> because We don't know the dynamic address of the
> remote host A (Is assgined by B), so I can't add to
> ip-up.local scripts.
> If you have time , Please help me.
> Thank you very much.
>
>
> --- Gord Belsey <gord at amador.ca> wrote:
> > For adding the route to the client, you can set up
> > an ip-up.local file in
> > /etc/ppp. ppp runs /etc/ppp/ip-up when it brins up
> > a ppp connection. ip-up
> > will run ip-up.local if it exists (and proper
> > permissions are set....I
> > tripped over that one on my first set up:o).
> >
> > In /etc/ppp/ip-up.local add the following line :
> >
> > route add -net $3 gw $4
> >
> > ppp passes information via $1 through $5 as well as
> > some other variables
> > suchas $PEERNAME. There is also $6 which you can
> > give a value in the
> > /etc/ppp/options file. In the above route
> > statement, $3 is the remote
> > clients address and $4 is the local address for the
> > ppp connection,aka
> > gateway.
> >
> > This is a pretty basic route statement which works
> > fine for a single client
> > connection. If the client was a linux box with a
> > LAN behind it (acting as a
> > router) the route statement would be more complex
> > (this is how I'm set up).
> >
> > On the second point, I'm guessing it's a windows
> > client connecting to the
> > PoPToP server. Assuming this is true, on the
> > windows network setup, select
> > the option for using the remote (server) default
> > route. That lets the
> > windows client use the PoPToP server as it's gateway
> > to "anywhere". If this
> > is a linux client, you can set up routing using the
> > ip-up.local example
> > above.
> >
> > Hope this is helpful.
> >
> > Gord Belsey
> > ----- Original Message -----
> > From: Dung Nguyen <nhdung at yahoo.com>
> > To: <pptp-server at lists.schulte.org>
> > Sent: Thursday, May 04, 2000 4:24 AM
> > Subject: [pptp-server] ppp remote user
> >
> >
> > > Dear all
> > > I am a newer for this mailing list. I am very
> > > interested in PoPToP and i've got some things
> > > successfully, but now i have a problem :
> > >
> > > ppp Client pptp Client pptpd server
> > > ------- --------- ---------
> > > | |-------- | |-------------- | |
> > > ------- ppp --------- pptp ---------
> > > 192.168.1.2 192.168.1.3 192.168.1.4
> > >
> > > My problem is I can't ping from the PPP Client to
> > PPTP
> > > Server, although the subnet is the same. If I do
> > > manually :
> > > route add -net 192.168.1.2 gw 192.168.1.3
> > > on the pptp server. I can ping to the remote ppp
> > > Client.
> > > If Anyone can help me to do that automatically ? I
> > > think that the problem is how to know the address
> > of
> > > the remote ppp client.
> > > Thanks a lot
> > > Dung Nguyen
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Send instant messages & get email alerts with
> > Yahoo! Messenger.
> > > http://im.yahoo.com/
> > > _______________________________________________
> > > pptp-server maillist -
> > pptp-server at lists.schulte.org
> > >
> >
> http://lists.schulte.org/mailman/listinfo/pptp-server
> > > List services provided by www.schulte.org!
> > >
> >
> > _______________________________________________
> > pptp-server maillist -
> > pptp-server at lists.schulte.org
> >
> http://lists.schulte.org/mailman/listinfo/pptp-server
> > List services provided by www.schulte.org!
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> _______________________________________________
> pptp-server maillist - pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulte.org!
>
More information about the pptp-server
mailing list