I would like to know if there is a standard place to place local
configuration scripts into the dialup process.

I have a ppp dialup connection to my ISP that uses ipfw to masq and
filter packets for my lan at home.  The IP address from the ISP is
dynamically assigned. I felt like the rc.firewall script given toward
the end of the IP Masquerading mini HOWTO would provide mre protection
so I wrote/stole a script that pulls the ip address from ifconfig and
puts it into a variable and then uses the variable everywhere the
outgoing ip address (ppp) is used.  Works great but I am not sure where
to place the call to the new script so it will get run after the
connection is made and ip address is assigned to the port.  I am running
redhat 5.0 on the gateway box.

I had this figured out at one time.  What gets called when by what
during the establishment of a ppp connection but that was over a year
ago and I can't find my notes :( .  The script needs to be called
everytime a new dialup connection is made since the address can change
depending I guess on which modem at the isp answers the call.

Thanks for any help.  I will continue to look as well.

Bret

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to