From owner-freebsd-questions Wed Sep 16 01:02:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA26074 for freebsd-questions-outgoing; Wed, 16 Sep 1998 01:02:09 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ktpk.dp.ua (ktpk.dp.ua [195.24.130.245]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA25934 for ; Wed, 16 Sep 1998 01:01:18 -0700 (PDT) (envelope-from os@ktpk.dp.ua) Received: from admin (admin.dnepr.com [192.168.0.4]) by ktpk.dp.ua (8.8.7/8.8.7) with SMTP id KAA10068; Wed, 16 Sep 1998 10:57:01 +0300 (EEST) (envelope-from os@ktpk.dp.ua) Message-ID: <00ff01bde13f$696ecbe0$0400a8c0@admin.dnepr.com> From: "Oleg Semyonov" To: "Brian Somers" Cc: Subject: Re: Dialup PPP Server: HOW TO... Date: Wed, 16 Sep 1998 10:58:29 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 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. Thanks, but I want to use mgetty (I need to handle EMSI calls), so question is in force. OS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message