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

Re: ipmasquerading stops when dialup service is dropped



On Mon, Jun 17, 2002 at 12:10:59AM -0400, tvn1981 wrote:
> Hello, I have dialup and ip masq to share my dial up connection among my
> personal network.  The problem is when I stop the connection, and redial
> again, I 'have' to rerun the rc.firewall in order for ipmasq to work.
> 
> Is this a normal behavior ? Is there anyway so that I don't have to
> re-run rc.firewall everytime I redial ? 

You can put scripts (or links to scripts) in /etc/ppp/ip-up.d which are
run when your dialup connection comes up. Similarly, scripts in
/etc/ppp/ip-down.d are run when the connection drops.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: