Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2002 18:26:06 -0400
From:      "dave" <dmehler@siscom.net>
To:        <freebsd-questions@FreeBSD.org>
Subject:   vpn under fbsd.
Message-ID:  <000501c2584f$e4cbd720$0200a8c0@satellite>

next in thread | raw e-mail | index | archive | help
Hello,
    I'm trying to set up my FreeBSD 4.5 box to act as a vpn. I found a
document outlining how to get poptop working with user ppp however the below
ppp.conf excerpt is generating errors and i'm not sure why. It's starting
out with the
set dial
line and saying that invalid label missing colon on the lines starting with
the set dial line and proceeding until the end of the file.
Any advice appreciated.
    Also, in this configuration, will i have the use of encryption?
Thanks.
Dave.

loop:
set timeout 0
set log phase chat connect lcp ipcp command
set device localhost:pptp
set dial
set login
# Server (local) IP address, Range for Clients, and Netmask
set ifaddr 192.168.0.129 192.168.0.130-192.168.0.139 255.255.255.255
set server /tmp/loop "" 0177

loop-in:
set timeout 0
set log phase lcp ipcp command
allow mode direct

pptp:
load loop
enable chap
disable pap
# Authenticate against /etc/passwd
enable passwdauth
enable proxy
accept dns
# DNS Servers to assign client
set dns 192.168.0.1 192.168.0.2
# NetBIOS/WINS Servers to assign client
set nbns 192.168.0.15 192.168.0.16
set device !/etc/ppp/secure




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?000501c2584f$e4cbd720$0200a8c0>