From owner-freebsd-questions Tue Sep 15 10:39:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA22118 for freebsd-questions-outgoing; Tue, 15 Sep 1998 10:39:16 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA22060 for ; Tue, 15 Sep 1998 10:38:59 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id SAA00473; Tue, 15 Sep 1998 18:19:47 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id KAA07210; Tue, 15 Sep 1998 10:30:19 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809150930.KAA07210@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Oleg Semyonov" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Dialup PPP Server: HOW TO... In-reply-to: Your message of "Mon, 14 Sep 1998 18:45:52 +0400." <000501bddfee$8f0f5880$0400a8c0@admin.dnepr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 Sep 1998 10:30:15 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hello All! > > I want to install my own PPP dialup server with next features: > 1) I want to use more than one tty for dialup access; > 2) I want to use dynamic peer IP allocation for MS clients; > 3) I want to use either login or AutoPPP+PAP/CHAP for auth; > 4) I want to use _allocated_ peer IP address for controlling > access to my LAN and Internet ports and addresses via IPFW. > Can I do all things with pppd without patching of source? [.....] No, but you can with user-ppp: o Set up your login ports in /etc/ttys o Put something like set ifaddr 1.2.3.4 1.2.3.100-1.2.3.200 in /etc/ppp/ppp.conf to allocate the peer something between .100 & .200 o Set the pp= capability in /etc/gettydefs o Set up any login scripts required (for non-auto ppp) o Add PAP/CHAP stuff to /etc/ppp/ppp.secret, including static IPs or varying IP ranges if any. It's all in the man page. You may want to get the latest ppp from http://www.Awfulhak.org/ppp.html > Could anybody help me? > > Oleg Semyonov -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message