On Saturday 19 November 2005 20:05, Darryl Gregorash wrote:
you to make the following cosmetic changes to your /sbin/SuSEfirewall2 script:
search for "masquerading_rules()" before the line "for nets in $FW_MASQ_NETS; do" add the following lines: echo IN MASQ ROUTINE sleep 5 save
The only way those two lines will never execute is if your FW_MASQUERADE variable in /etc/sysconfig/SuSEfirewall2 is not strictly equal to "yes".
Those lines were being executed, but I inserted some similar lines a little farther down, and discovered that the "net2" string was empty. The problem was that /etc/sysconfig/SuSEfirewall2 had gotten corrupted, with the line FW_DEV_EXT="modem0" written at the bottom of the file instead of near the top. Maybe I screwed up editing the file by hand, then decided to use YaST, and YaST wrote the new FW_DEV_EXT line in the wrong place because the original was missing? That'll teach me to use "sort" to make it easier to compare dissimilar files. Thank you very much for your help and patience! Peter Taylor