Hi Jim, It's really easy in SuSE. Firewall rules are set up in /etc/rc.config.d/firewall.rc.config file. It's pretty much commented and self-explanatory. To bring up and turn down these rules I use /etc/ppp/ip-up.local and /etc/ppp/ip-down.local files. These should be called automatically from /etc/ppp/ip-up and /etc/ppp/ip-down. In my case, /etc/ppp/ip-up.local contains: #!/bin/sh /sbin/SuSEfirewall start /usr/bin/fetchmail -d 300 -a -L /var/log/fetchmail /etc/ppp/ip-down.local: #!/bin/sh /sbin/SuSEfirewall stop /usr/bin/fetchmail -quit I use wvdial to connect to ISP. As you see, I also use fetchmail to retrieve my mail from ISP. HTH, Kastus
Having just changed from a Redhat flavor of linux to SuSE I am running into getting masquerading and demand dial to work properly. With my old linux I enapled demand dialing in the ppp options file and then I had ip-up.local load a small script that would automatically setup masquerading rules via ip chains. I am finding that using wvdial and this script don't work very well together!! When the connection times out and ends the dial-up connection everything goes to s**t. The next time that the dialup connection is requested the connection is made but the script refuses to run. Is there anyway to use the Redhat way of demand dialing and masquerading with SuSE or am I going to sleep on the couch until I figure this out. I have a small LAN at the house with a Linux box (SuSE) and 2 Win98 clients. Or can someone reccomend some firewall rules to use with SuSE firewall.
Thanks Jim Adams
-- 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