Date: 16 Sep 2005 08:36:14 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Subject: Re: PPP tunnel problem! Message-ID: <44ll1x42bl.fsf@be-well.ilk.org> In-Reply-To: <20050915035610.54037.qmail@web86901.mail.ukl.yahoo.com> References: <20050915035610.54037.qmail@web86901.mail.ukl.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Felix Chang <felix836@yahoo.co.uk> writes: > Hi, > > I am using the FreeBSD to become the NAS so that > can provide PPPoE and PPP services to the clients > which is worked with the Radius. I have successfully > started the PPP and PPPoE services and connected to > the internet with the authentication of the Radius. > However, I face one serious problem. During the time > the client was connecting to the internet, if the > client unplugs the cable or shut down their PC without > disconnection, the tunnel created was still remain in > the NAS. This make the client cannot connect to the > internet anymore as I set the radius not to allow any > duplicated login. > > May I know is that anyway for the FreeBSD to kill > the tunnel automatically when the client unplugs the > cable or shutdown the PC without disconnection. I had > tried the "set timeout" in the ppp.conf but I don't > think this is the right solution. Why isn't it the right solution? The physical interface is still up, so I don't see any other way to detect that the client has gone away. Well, maybe you could set up RADIUS to kill the first session when (successfully) authenticating the second. But that would likely be tricky to set up...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ll1x42bl.fsf>