Mailinglist Archive: opensuse (4570 mails)

< Previous Next >
Re: [SLE] SuSE 10.0 masquerade changes? [Solved]
  • From: "Peter A. Taylor" <murmur@xxxxxxx>
  • Date: Sun, 20 Nov 2005 20:22:44 +0000 (UTC)
  • Message-id: <200511201419.46356.murmur@xxxxxxx>
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

< Previous Next >