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@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq