RES: [pptp-server] Routes.

Fabio Oliveira fabio at ipway.com.br
Thu Jul 4 12:51:34 CDT 2002


Carlos,

You need declare in your remote gateway PPTP Client (192.168.2.1) one route
to network 192.168.1.0/24 via 192.168.1.1. (Of course you need have any
capacity of routing in that machine, like Windows NT - 2000, Linux, or even
W98-Me with tcp/ip stack third party)
/sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1

For a better management/control I think you should change the VPN range in
pptpd.conf, that can to avoid some confusing in the future.

Example:
PPtpd.conf
Internal 192.168.1.200
external 192.168.1.205-10

With that the command would be:
/sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.200

Verify also at VPN server if the packet forwarding is enabled.

Good luck!!!


Fabio Oliveira
IPWay - Internet Services
http://www.ipway.com.br

(o-  (o-  (o-  (o-  (o-
//\  //\  //\  //\  //\
V_/_ V_/_ V_/_ V_/_ V_/_
Live with freedom, choice Linux


-----Mensagem original-----
De: pptp-server-admin at lists.schulte.org
[mailto:pptp-server-admin at lists.schulte.org]Em nome de Carlos Arnt
Enviada em: sexta-feira, 5 de julho de 2002 18:09
Para: pptp-server at lists.schulte.org
Assunto: [pptp-server] Routes.


Help .

This is the scenario .

PPTPD Server .

Eth0 cable modem . Ie. 200.215.128.1
Eth1 Internal net . Ie 192.168.1.1
Machines at : 192.168.1.14, 192.168.1.15 (gw 192.168.1.1)
Mask 255.255.255.0
--
PPtpd.conf
Internal 192.168.1.1
external 192.168.1.5-10
------------------------------------

PPTP Client
eth0 192.168.2.1
Machines: 192.168.2.2 , 192.168.2.3
mask 255.255.255.0
-
ppp0 (Modem conection) Ie. 200.222.10.5
ppp1 (VPN) Ie. 192.168.1.5
-------------------------------------
Mask 255.255.255.0
-------------------------------------

How then can my network in the client side 192.168.2.x talk with the
VPNServer side and communicate with the others machines in the 192.168.1.x
!!??

I need all talk and communicate ..
Bidiretional way.
Can someone help-me with the routes please !!!

Thanks .

Carlos.



_______________________________________________
pptp-server maillist  -  pptp-server at lists.schulte.org
http://lists.schulte.org/mailman/listinfo/pptp-server
--- To unsubscribe, go to the url just above this line. --




More information about the pptp-server mailing list