Re: Wingate/IPFWADM
> 192.168.0.9 is the linux box, named CURLEY
> 192.168.0.3 is a win95 box named CADZILLA
> 192.168.0.4 is a win95 box named BLOO
> ipfwadm -F -m -a accept -S 192.168.0.3/24 -D 0.0.0.0
You can manage this with two commands (one for each host):
"ipfwadm -F -a masq -S 192.168.0.3 -D 0/0"
"ipfwadm -F -a masq -S 192.168.0.4 -D 0/0"
or:
"ipfwadm -F -a masq -S 192.168.0.0/29 -D 0/0"
(will masquerade host 192.168.0.1-192.168.0.7)
You can look at the Rules with "ipfwadm -F -ln"
The -m Option is ONLY used to display the active connections, NOT for
setting a masquerade connection. The Default Destination must be given with
a /0 netmask, or masquerading will only be used if you try to connect to the
HOST 0.0.0.0.
Greetings
Bernd
--
(OO) -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
( .. ) ecki@lina.{inka.de,ka.sub.org} http://home.pages.de/~eckes/
o--o *plush* 2048/A2C51749 eckes@irc +4972573817 *plush*
(O____O) If privacy is outlawed only Outlaws have privacy
Reply to: