[pptp-server] FreeBSD Newbie Q

Hugh Blandford hugh at island.net.au
Tue May 2 21:07:49 CDT 2000


Hi Eric,

I have poptop running on a FreeBSD but without encryption.  I am using
userland ppp.

I would grab the latest version from http://www.awfulhak.org/ppp.html and
compile and install it on your system.

Once ppp has been updated get the 1.0.0 poptop ( I can't get the latest
development to compile) and run:

configure --with-bsdppp

then make and make install

you will then need to setup ppp to accept incoming calls:

I did the following to /etc/gettytab:

#default:\
#       :cb:ce:ck:lc:fd#1000:im=\r\nFreeBSD (%h) (%t)\r\n\r\n:sp#1200:
#
default:\
        :pp=/usr/local/bin/ppplogin:\


I created the /usr/local/bin/ppplogin file with the following contents:

#!/bin/sh
exec /usr/sbin/ppp -direct pptp

My ppp.conf has the following in it apart from the default section:

pptp:
 set timeout 0
 enable chap
 enable proxy
 set ifaddr 192.168.142.1 192.168.142.110-192.168.142.115 255.255.255.0
 set dns 192.168.142.1
 set nbns 192.168.142.64

now you will also have to add your users to the /etc/ppp/ppp.secrets file.

All the difficult stuff is in ppp....poptop is nice and simple.

Let me know if you have any difficulties.

Hugh Blandford
----- Original Message -----
From: "Robinson, Eric R." <erobinson at dot.state.nv.us>
To: <pptp-server at lists.schulte.org>
Sent: Wednesday, May 03, 2000 1:31 AM
Subject: [pptp-server] FreeBSD Newbie Q


> Greetings!
>
> I'm a Linux fan, but I used FreeBSD 3.4 for my latest firewall project
> because of the exceptional capabilities of Darren Reed's IP Filter. Now
I'm
> trying  to bring up PoPToP on the same box. Is there a HOWTO or FAQ that
> describes how to get PoPToP running under FreeBSD? I've looked at the
HOWTO
> at www.moretonbay.com/vpn/releases/HOWTO-PoPToP.txt but it specifically
> addresses Linux, not BSD.
>
> Two quickie Q's:
>
> 1. My kernel config file has the options "pseudo-device ppp" and
> "pseudo-device tun." Does this mean my kernel is configured for ppp?
>
> 2. The ppp session does not start. My sniffer says the following is
> happening:
>
> Client -> Server: Start-Control-Connection-Request
> Client <- Server: Start-Control-Connection-Reply
> Client -> Server: Outgoing-Call-Request
> Client <- Server: Outgoing-Call-Reply
> Client -> Server: Set-Link-Info
> Client -> Server: LCP Configure Request
> Client -> Server: LCP Configure Request
> Client -> Server: LCP Configure Request
> Client -> Server: LCP Configure Request
> Client -> Server: LCP Configure Request
> Client -> Server: LCP Configure Request
> Client -> Server: LCP Configure Request
> Client -> Server: Terminate Session
>
> Note that the client is trying to start a ppp session, but the server is
> apparently not replying to its LCP configuration requests, so the client
> eventually gives up.
>
> Any clues on what might be causing this?
>
> --
> Eric Robinson
> State of Nevada DOT
>
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulte.org!
>




More information about the pptp-server mailing list