[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I find my local IP assigned by my ISP when using pon, etc?



On 28 Jul 2001, John Hasler <john@dhh.gt.org> wrote:

>Randy writes:
>> The user will be able, from a user account, do a pon, poff, etc. to
>> connect to the ISP. So, my challenge is to have the scripts run from
>> user level security and install the firewall rules.
>
>> How do I do this?
>
>The scripts in /etc/ppp/ip-up.d and /etc/ppp/ip-down.d are run when ppp
>comes up and goes down respectively.  They are run by pppd and so run as
>root no matter who ran pon and poff.

Alternatively, he could use the interface as a filter target instead
of the IP address. Should be fine on stand-alone machine with a single
external interface.

-- 
Philipp Lehman <lehman@gmx.net>



Reply to: