Mailinglist Archive: opensuse (2009 mails)

< Previous Next >
Re: [SLE] Dial On Demand and /etc/rc.config.d/firewall
  • From: kastus@xxxxxxxxx (Kastus)
  • Date: Sat, 9 Sep 2000 17:05:36 -0700 (PDT)
  • Message-id: <Pine.LNX.4.21.0009091702320.2931-100000@xxxxxxxxxxx>



I am using /etc/ppp/ip-up.local for this purpose. In my case it contains:

#!/bin/sh
/sbin/SuSEfirewall start
/usr/bin/fetchmail -d 300 -a -L /var/log/fetchmail

When connection is gone, ip-down.local does the cleaning:

#!/bin/sh
/sbin/SuSEfirewall stop
/usr/bin/fetchmail -quit

HTH, Kastus

On Fri, 8 Sep 2000, John P. Griffin wrote:

> Now that I got Dial On Demand (/sbin/init.d/wvdial.dod) with the 1.41-67
> version of wvdial.rpm; working on my SuSE 6.4:kernel 2.2.16 box running. I
> still have to manually run the final pass of '/sbin/init.d/firewall start' to
> get the firewall script to turn on ipchains for the newly establised IP
> address given to the firewall box from the ISP. If I don't run
> '/sbin/init.d/firewall start' after the pppd daemon dials, then all of my
> internal LAN clients can't get out to the open internet.
>
> What is the way to have '/sbin/init.d/wvdial.dod' and pppd kick off
> '/sbin/init.d/firewall' after every ISP connection triggered by an internal
> LAN client?
>
> I am in the process of reading the 100's of pages of IPCHAIN-HOWTO,
> FIREWALL-HOWTO; however it would be greatly appreciated if someone has already
> crossed this chasm.
>
> TIA,
> John
>
>
>
> --
> To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the FAQ at http://www.suse.com/support/faq
>


--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/support/faq


< Previous Next >
References