Date: Fri, 04 May 2001 16:36:54 +0100 From: Brian Somers <brian@Awfulhak.org> To: "Matthew Emmerton" <matt@gsicomp.on.ca> Cc: brian@FreeBSD.org, freebsd-bugs@FreeBSD.org, brian@Awfulhak.org Subject: Re: bin/27069: ppp links may not be up before natd is started, causing natd to fail Message-ID: <200105041536.f44FasB52048@hak.lan.Awfulhak.org> In-Reply-To: Message from "Matthew Emmerton" <matt@gsicomp.on.ca> of "Fri, 04 May 2001 09:29:54 EDT." <001401c0d49e$4ea98e30$1200a8c0@gsicomp.on.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Synopsis: ppp links may not be up before natd is started, causing natd to
> fail
> >
> > State-Changed-From-To: open->closed
> > State-Changed-By: brian
> > State-Changed-When: Fri May 4 03:02:18 PDT 2001
> > State-Changed-Why:
> > I don't believe the suggested fix is appropriate.
>
> Gee, let's just close the ticket before you give it a chance.
> open->feedback would be much more appropriate.
This is not a bug.
> > I would suggest setting ppp_mode=background in ppp.conf and adding
> > a ``set mode auto'' (or whatever) to your ppp config instead. You
> > may also need to muck about with ``set redial''.
>
> In my situation, I'm using a PPPoE link for my LAN, which contains web and
> mail servers. I need the link up 24/7, so background and auto are
> inappropriate. (Background will try once and either succeed or fail. In
> the failure case, that means that I have to restart ppp by hand. Auto will
> drop the connection once internal traffic ceases, which will close off
> access to my public servers when I'm not using my system - I do get a
> considerable amount of web and mail traffic to my sites while I'm sleeping.)
>
> Hence, I need to use ppp_mode=dedicated (or ddial) in order to keep the link
> up 24/7.
Ok, I'll try being a bit more specific now that I have more
information...
I would suggest setting ppp_mode=background in ppp.conf and adding
a ``set mode ddial'' to your ppp config instead.
> > The thing that concerns me is why you say it's sometimes necessary
> > to use natd instead of ppp's -nat switch (or ``nat enable yes'').
> > Under what circumstances is this necessary ?
>
> To do port forwarding, for one. PPP's nat support is "nat enable yes|no",
> which may be great for a LAN, but not a gateway machine with servers behind
> it that need port redirection.
ppp's ``nat port'' command will do port forwarding. Do you realise
that ppp and natd use the same libalias(3) to do their nat ? The
functionality should be exactly the same.
> --
> Matt Emmerton
--
Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org>
<http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105041536.f44FasB52048>
