Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 1998 22:13:41 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        "Oleg Semyonov" <os@ktpk.dp.ua>
Cc:        "Brian Somers" <brian@Awfulhak.org>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Dialup PPP Server: HOW TO... 
Message-ID:  <199809162113.WAA29549@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Wed, 16 Sep 1998 10:58:29 %2B0400." <00ff01bde13f$696ecbe0$0400a8c0@admin.dnepr.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >> 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.

Ppp's not proud, it can still do the dynamic IP bit.  In fact, with 
mgetty you've got the added bonus of seeing your connection speed 
logged in utmp !

> OS

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809162113.WAA29549>