Charles Stack on Mon, 2 Aug 1999 17:34:10 -0400 (EDT) |
I'm firing up ppp using usernet. I don't fire up the connection at startup...but only when I specifically ask for it. Should I still be modifying the ppp-up/down scripts or something else? cjs -----Original Message----- From: plug-admin@lists.nothinbut.net [mailto:plug-admin@lists.nothinbut.net]On Behalf Of Kevin Hill Sent: Monday, August 02, 1999 5:30 PM To: plug@lists.nothinbut.net Subject: Re: [Plug] Init Scripts 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 _______________________________________________ Plug maillist - Plug@lists.nothinbut.net http://lists.nothinbut.net/mail/listinfo/plug
|
|