Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2002 15:12:12 -0600
From:      "Raja Velu" <raja@micronetusa.com>
To:        "'Moti Levy'" <moti@flncs.com>, <freebsd-questions@freebsd.org>
Subject:   RE: Unable to see Windows PCs using PPTP VPN
Message-ID:  <001401c1db54$3a81b780$1d00a8c0@www.micronetusa.com>
In-Reply-To: <044d01c1db3a$4118e060$fd6e34c6@moti>

next in thread | previous in thread | raw e-mail | index | archive | help

> > Hi,
> >
> > I am running a FreeBSD 4.4 server as an IPFW-based firewall/NAT server
for
> > our company LAN. I have also set this box up to serve as a PPTP VPN
server
> > running mpd 3.2. I have opened up the firewall with the following lines
to
> > let VPN connections through:
> >
> > 03200 allow tcp from any to 1.2.3.4 1723 keep-state
> > 03300 allow log logamount 100 gre from any to 1.2.3.4
> > 03400 allow log logamount 100 gre from 1.2.3.4 to any
> >
> > When I use a win98 PC to connect to my VPN, I am able to get through
fine!
> > However, after I connect, I am not able to see any Windows PCs inside of
> the
> > network. Consequently, I am not able login into my Windows domain
either.
> >
> > Is it possible to do what I want without giving up on the IPFW/NAT/PPTP
> > setup that I have or am I asking for too much??? Any pointers/web sites
> that
> > can be provided will be greatly appreciated.
> >
> > Thanks.
> >
> > Rgds,
> >
> > Raja Velu
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> >
> Raja ,
> since netbios ( the way windows sees the other computers on the networks )
> will not work through pptp / router
> you need to have a wins server on the internal network  you pptp to.
> you can set that parameter on the dialing computer using
> nbns ip.of.wins.server i the mpd config file .
> if you have a windows nt server on the networkj instsall a wins server on
it
> .
> if not install samba on the bsd box and enable it's win server feature
> Moti

Hi Moti,

I have a Windows 2000 box setup to do WINS. I sent in my VPN config
information in a separate email earlier. Here it is again anyway
(192.168.0.1 is the 2000 WINS Server and 192.168.0.2 is the internal IP of
the FreeBSD box):

##### mpd.links ######

pptp1:
        set link type pptp
        set pptp self 1.2.3.4
        set pptp enable incoming
        set pptp disable originate

##### mpd.conf #######

default:
        load pptp1

pptp1:
        new -i ng1 pptp1 pptp1
        set ipcp ranges 192.168.0.2/32 192.168.0.201/24
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 1800
        set bundle disable multilink
        set link yes acfcomp protocomp
        set link no pap chap
        set link enable chap
        set link keep-alive 10 60
        set ipcp yes vjcomp
        set ipcp dns 192.168.0.1
        set ipcp nbns 192.168.0.1
        set bundle enable compression
        set ccp yes mppc
        set ccp yes mpp-e40
        set ccp yes mpp-e128
        set bundle enable crypt-reqd
        set ccp yes mpp-stateless

Thanks.

Rgds,
Raja


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001401c1db54$3a81b780$1d00a8c0>