Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 10:11:03 +0800
From:      Hilary Cheng <hilarycheng@usa.net>
To:        support@tecpro.com
Cc:        freebsd-questions@FreeBSD.ORG, pptp-server@lists.schulte.org
Subject:   Re: [pptp-server] POPTOP configuration / connection problems / error  messages
Message-ID:  <397CF736.C767A6AA@usa.net>
References:  <397CBD42.12926.1477F9@localhost>

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

    For FreeBSD users, PopTop will use users ppp to connect VPN.
add the following ppp commands to the /etc/ppp/ppp.conf.

pptp:
 set timeout 0
 enable chap
 enable proxy
 set ifaddr 192.10.167.1 192.10.167.101-192.10.167.245  255.255.255.0
 set dns xxx.xxx.xxx.xxx

it will provide a range of ip from 101 to 245. and ur host ip will
192.10.167.1.
also, it will return dns server to ur vpn client.

also, pls add the users name & passwd in the file /etc/ppp/ppp.secret

I have used this configuration with NT/98 w/o any problem. but I donno how
to
makes the internal Lan users can browse the computers that connected via
PPTP.

one more things, it seems that current FreeBSD ppp haven't implemented the
msppe. it can't supported the encrypt channel for VPN. -_-

Regards,

Hilary

Charles Peters - Tech Support wrote:

> Greetings:
>
> I have set up a VPN with PopTop.  My server configuration is
> FreeBSD 4.0-Release, and Samba 2.0.7.  I have installed the
> PopTop port on this server to allow for the VPN connections.
>
> My server has 2 network cards, one internet ip address (ip address
> = 24.x.x.x), and one internal non-routable ip address (ip address =
> 192.168.0.55).
>
> I would like to connect to this server from both internal locations
> over my lan, and from remote locations via a cable modem.  The
> VPN server is connected to a cable modem and a local area
> network.
>
> I think that my problem is not with my PopTop configuration, but
> with my PPP configuration.
>
> The following are from my configuration files:
>
> /usr/local/etc/pptpd.conf
>         speed 115200
>         option  /etc/ppp/options
>         debug
>         localip 192.168.0.234-238,192.168.0.245
>         remoteip 192.168.1.234-238,192,168.1.245
>         ipxnets 00001000-00001FFF
>         listen 192.168.0.4
>         listen 224.224.x.x
>         pidfile /var/run/pptpd.pid
>         ###  I don't understand the localip and remoteip lines
>
> /etc/ppp/chap-secrets
>         dummy           D123456
>         ### remote userid = dummy    remote userpassword = D123455
>
> /etc/ppp/options
>         debug
>         name otis_vpn
>         auth
>         require-chap
>         proxyarp
>         #### I don't understand the name otis_vpn line
>
> /etc/ppp/ppp.deny
>         root
>         toor
>         daemon
>         operator
>         bin
>         games
>         news
>         man
>         ftp
>         uucp
>         xten
>         ingres
>
> Also, when setting up my windows dial-up networking connection
> information, and I enter the username and password, the username
> is always converted into all uppercase letters, yet, my FreeBSD
> username uses all lowercase letters.  What do I need to do to
> resolve this, or can it be resolved?
>
> Lastly, when I attempt to connect to the VPN server from the
> Windows client box, the follwoing error message is displayed to
> screen and to my /var/log/messages file:
>
>         pptp: Configuration label not found
>
> My /var/log/ppp.log file logs the following error messages:
>
>         Jul 22 01:54:48 otis ppp[30053]: Warning: Label pptp rejected -
> direct connection: Configuration label not found
>
> This message is generated each time that I try and log into the
> VPN server.
>
> I have read the docs, and am obviously missing something.  A
> point in the right direction would be greatly appreciated.
>
> Thanks,
>
> Charles
>
> support@tecpro.com
> Charles Peters
> mailto:support@tecpro.com
> _______________________________________________
> pptp-server maillist  -  pptp-server@lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulteconsulting.com!



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?397CF736.C767A6AA>