Linda,
Now that I see the if-up script the bell rings. I did indeed put it in
/etc/ppp/ip-up.local as the comment suggests. The best reason is that
if you upgrade your box you won't loose your changes. create
ip-up.local and call you firewall from there and you should be jammin.
BTW probably want to make sure that rc.firewall clears all old chains
before doinfg anything. It probably does since most do, but look for
the flush stuff or you might get some unexpected results.
HTH
Bret
linda hanigan wrote:
> Thanks Bret,
> I even have an example of a firewall that takes the ip
> address from
> ifconfig so this is exactly what I need a way to start
> the firewall
> each time anyone on the network calls the ISP after an
> ip address
> is assigned. I was really confused proably because so
> much of the
> info is for people with cable modem connections.
> Here is my ip-up file with the modification I think I
> need to make
> Is this the right place in the file to call the
> firewall.
> Thanks
> Linda Hanigan
> #!/bin/bash
>
> # This file should not be modified -- make local
> changes to
> # /etc/ppp/ip-up.local instead
>
> LOGDEVICE=$6
> REALDEVICE=$1
>
> export PATH=/sbin:/usr/sbin:/bin:/usr/bin
>
> echo "$REALDEVICE" > /var/run/ppp-$LOGDEVICE.dev
> [ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local $*
>
> # start firewall
> /etc/rc.d/rc.firewall
>
> /etc/sysconfig/network-scripts/ifup-post
> ifcfg-${LOGDEVICE}
>
> exit 0
> ~
> ~
> ~
> ~
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list