On Mon, Dec 27, 1999 at 12:56:18PM +0100, R. Kuijvenhoven wrote:
> > > I am new to ipchains so I have read a lot of documentation
> > > about setting up chains. However, I don't understand how set up
> > > rules for dynamic ip. I read the following example:
> > >
> > > # remote interface, any source, going to permanent ppp address
> > > is valid
> > > #
> >
> > Get the IP from ifconfig:
> >
> > extip=`ifconfig $ippp0 | grep inet | cut -d : -f 2 | cut -d \ -f 1`
>
> Where do I have to put this line? I have tried it at the prompt, but
> ipchains doesn't accept it.
I've got it in my script that sets up the firewalling. Go to
http://ipchains.nerdherd.org/
and look at the sample scripts. You can start with one of these and
modify it to suit your needs.
[...]
--
Hal B
[EMAIL PROTECTED]
--
Linux helps those who help themselves
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.