From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6963 invoked from network); 25 Aug 1998 18:54:24 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 25 Aug 1998 18:54:24 -0000 Received: from cygnus.com (runyon.cygnus.com [205.180.230.5]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA15645 for ; Tue, 25 Aug 1998 14:54:31 -0400 Received: from dot.cygnus.com (dot.cygnus.com [205.180.230.224]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id LAA04417 for ; Tue, 25 Aug 1998 11:54:21 -0700 (PDT) Received: (rth@localhost) by dot.cygnus.com (8.8.7/8.6.4) id LAA01074; Tue, 25 Aug 1998 11:54:20 -0700 Message-ID: <19980825115420.J467@dot.cygnus.com> Date: Tue, 25 Aug 1998 11:54:20 -0700 From: Richard Henderson To: axp-list@redhat.com Subject: Re: ipfwadm and 2.1.115 Reply-To: Richard Henderson References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: ; from Keith Baker on Sun, Aug 23, 1998 at 08:45:01PM -0400 On Sun, Aug 23, 1998 at 08:45:01PM -0400, Keith Baker wrote: > I was wrong... some help would be good... I think I get the basic > idea... but how do I tell it to masq? when I tell it to go from > interface to interface that is straight forwarding... right? if I tell > it to go from one ip to the other is that going to setup masqing? The following two commands are equivalent: if [ -f /proc/net/ip_fwchains ]; then ipchains -A forward -j MASQ -s 192.168.2.0/24 -d 0.0.0.0/0 else ipfwadm -F -i accept -S 192.168.2.0/24 -D 0.0.0.0/0 -m fi r~