[pptp-server] route rules in linux and Windows ??

Carlos Arnt carnt at intellissence.com.br
Fri Aug 9 14:53:03 CDT 2002


Man i mess all info this time ...

 Let's be more specific ..

I have this scenario :

Client
--
Windows 2000 Server - Using Dial Up connection.
He is a proxy then he use has the IP 192.168.1.1 (Mask 255.255.255.0)
I have 3 machines below that are - 192.168.1.2  to 192.168.1.3.

----
Server
--
Linux usign pptpd server .
He is using a Cable modem connection on his eth0 and has the IP
192.168.10.160 in his ETH1.
Have 30 machines using it . ( 192.168.10.x) Mask 255.255.255.0
I leave the range - 192.168.10.170-180 to VPN purposes.
--------

I just need to know when the client connect (Win2000) how make the computers
that are in the (192.168.1.x) network see the (192.168.10.x) computers
connected in the server side over the tunnel.

Also i put to when the client connect always receive the IP 192.168.10.171.

I think it's simple .

If i'm wrong please someone tell-me !!

Under the Linux server i must put this :

/sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.10.171

(Think that with this i tell the server this route)

But what put under the WIndows 2000 client ?? To his inside networks
computers see the inside networks computer of the vpn server ??


I think i just need two rules one at each computer (server and client) but
what rule ??

Well thanks anyway .

Carlos.




More information about the pptp-server mailing list