From: Richard Henderson <rth@cygnus.com>
To: axp-list@redhat.com
Subject: Re: ipfwadm and 2.1.115
Date: Tue, 25 Aug 1998 11:54:20 -0700 [thread overview]
Message-ID: <19980825115420.J467@dot.cygnus.com> (raw)
In-Reply-To: <Pine.BSI.3.95.980823204320.23147C-100000@shell1.cybercom.net>; 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~
prev parent reply other threads:[~1998-08-25 18:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-23 23:45 ipfwadm and 2.1.115 Keith Baker
1998-08-23 23:57 ` Geert Uytterhoeven
1998-08-24 0:09 ` Keith Baker
1998-08-24 0:45 ` Keith Baker
1998-08-25 18:54 ` Richard Henderson [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox