Kevin Hill on Mon, 2 Aug 1999 17:30:35 -0400 (EDT) |
How are you starting ppp? In general, there's some scripts in /etc/ppp (like ppp-up, ppp-down) that actually initialize the device. This is how it's outlined in the PPP HOWTO and how I've always used it. If this is the case, just edit those scripts and have them call your firewall start/stop scripts. That should accomplish the task with minimal disruption to the system. - khill Charles Stack wrote: > > But, doesn't this apply only during startup? I'd like to be able to start > my firewall when the ppp interface is active and take it down when the > interface drops. My understanding is that this is supposed to be the domain > of ip-up and ip-down. > > cjs > > -----Original Message----- > From: plug-admin@lists.nothinbut.net > [mailto:plug-admin@lists.nothinbut.net]On Behalf Of Kyle Burton > Sent: Monday, August 02, 1999 5:08 PM > To: plug@lists.nothinbut.net > Subject: Re: [Plug] Init Scripts > > rc.local > > any changes you make (other than ordering) should go in rc.local, or > if you create a /etc/rc.d/init.d/xyz_script, put an 'S' symlink in the > runlevel > director(y/ies) where you want it to start, and put a 'K' symlink in the > other > directories. > > k > > ---------------------------------------------------------------------------- > -- > "Perl combines all of the worst aspects of BASIC, C and line noise."- Keith > Packard <keithp@ncd.com> > --IBM sales rep > mortis@voicenet.com > http://www.voicenet.com/~mortis > ---------------------------------------------------------------------------- > -- > > On Mon, 2 Aug 1999, Charles Stack wrote: > > > I've been watching with fascination regarding the posts on the rc.d > scripts > > as I just figured out most of this this morning (except I had no clue what > > the "K" prefix meant) as I made my firewall active. Works great on a > > dedicated connection. Nice to learn something new each day.. :-) > > > > However, I am still at a loss to figure out, when using a ppp connection, > to > > use a similar script. I keep reading about ip-up and ip-down, but haven't > > figured out exactly where to put my scripts to activate/deactive my > > firewall. Any input is appreciated. > > > > Thanks, > > > > Charles > > > > _______________________________________________ > Plug maillist - Plug@lists.nothinbut.net > http://lists.nothinbut.net/mail/listinfo/plug > > _______________________________________________ > Plug maillist - Plug@lists.nothinbut.net > http://lists.nothinbut.net/mail/listinfo/plug begin:vcard n:Hill;Kevin tel;fax:215.283.4942 tel;work:215.283.4877 x-mozilla-html:TRUE url:http://www.quarterleaf.com/ org:The Sycamore Group;Enterprise Development Division version:2.1 email;internet:khill@quarterleaf.com title:Senior Application Architect adr;quoted-printable:;;580 Virginia Drive=0D=0ASuite 100;Fort Washington;PA;19034;USA x-mozilla-cpt:;25440 fn:Kevin Hill end:vcard
|
|