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

Re: ipmasq

Eskild Wikkeling wrote:
> Hello,
> I'm actually a bit of a newbie at debian firewalling so I hope I posted
> this to the right mailing list.
> My problem: I run a firewall/gateway system on a cable connection to the
> net with a dynamic ip. So everytime my isp disconnects me I get a new ip
> and ipmasq has to be run again. I have 00ipmasq in my /etc/ppp/ip-up.d
> folder (along with some other stuff) but it's not run when the machine
> reconnects (I have to manually enter the command), what did I do wrong?
> the 00ipmasq file contains the following lines:
> #!/bin/bash
> test -x /usr/sbin/ipmasq || exit 0
> if [ -e /etc/ipmasq/ppp ]; then
>     /usr/sbin/ipmasq
> fi
> thanx,
> Eskild
> --
> To UNSUBSCRIBE, email to debian-firewall-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Try placing a shell script in the /etc/ppp/ip-up.d directory.  This will
be ran every time you ppp connection is restarted.
Gavin Burris			Mall21, Inc. Systems Administrator
ga5in@mall21.com		http://www.mall21.com
(814)861-5434			(888)508-5999

Reply to: