Hi all,

I am having trouble in setting up masquerading.

The problem seems to be the use of the "-W <device>" parameter in the
ipfwadm operation in the original SuSE script (SuSE 5.3).

When I use exactly the same ipfwadm statement without the -W operand it
works fine. The <device> is taken from the Yast generation where it is
called MSQ_DEV. Which device should actually be used here? I tried them all:
eth0, sl0, ppp0. I tried also "*" and "all" but none of these works. All
(without "*") are accepted but when you start the masquerading this entry in
the forwarding table is never used - even when it is the first one there?

/sbin/init.d/masquerade list looks like this:

IP firewall forward rules, default policy: accept
    pkts      bytes type  prot opt  tosa tosx ifname  ifaddress       source
destination          ports
       0          0 acc/m all  ---- 0xFF 0x00 all     0.0.0.0
192.168.0.0/24       0.0.0.0/0            n/a
      15        878 acc/m all  ---- 0xFF 0x00 *       0.0.0.0
192.168.0.0/24       0.0.0.0/0            n/a
IP masquerading entries

The first entry was a try where I used "all" as a possible device, here
called ifname. All rules are the same for the second entry.

The SuSE example uses "ISDN0" as the device name but I am still operating
with a modem, not on ISDN (still Too expensive here in NZ. It's a shame.)

Thanks for any help.

Michael Doerner


--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to