[pptp-server] RE: [pptp-server] Re: [pptp-server] Can connect but can´t mount shares

George Vieira GeorgeV at citadelcomputer.com.au
Wed Aug 8 20:19:03 CDT 2001


This is an example of what your looking for:

# Server PPTP settings
/etc/pptpd.conf
localip=10.0.0.1
remoteip=10.0.0.2

# PPTP Server ip-up.local script
if [ "$6" = "homelan" ]; then
   route add -net 192.168.1.0/24 gw 10.10.0.2
fi

# PPTP Client ip-up.local script
if [ "$6" = "homelan" ]; then
   route add -net 192.168.0.0/24 gw 10.10.0.1
fi


LAN1 Network =192.168.0.x/24
      |
PPTPDLocal   =192.168.0.254/32
PPTPDInternet=10.0.0.1/24
      |
      |
PPTPCInternet=10.0.0.2/24
PPTPCLocal   =192.168.1.x/24
      |
LAN2 Network =192.168.1.x/24

I think is what your looking for right?




thanks,
George Vieira
Network Engineer
Citadel Computer Systems P/L
PH +(61)2 9955 2644
FX +(61)2 9955 2659

-----Original Message-----
From: roberto at dealmeida.net [mailto:roberto at dealmeida.net]
Sent: Thursday, August 09, 2001 12:04 AM
To: George Vieira
Subject: Re: [pptp-server] Re: [pptp-server] Can connect but can´t mount
shares


George Vieira escreveu (Wed, Aug 08, 2001 at 08:15:59AM +1000):
> The only way this will work is to add a static/permanent route for EACH
host
> to your PC/firewall (waste really)..
> 
> Or just use a 192.168.1.x network and `route add -net 192.168.0.0/24 gw
$5`
> in your ip-up.local (I think it's $5).

192.168.1.x should be the network where I´m running pptpd, right?

Thanks,

Roberto

-- 
   ____
  /  o/  Roberto A. F. Almeida                
 <   /|  robertoaf at dealmeida.net                   
 | /\|                     
 |/      
/_\



More information about the pptp-server mailing list