Re: ipfw

Jos Vos (jos@xos.nl)
Sat, 27 Apr 1996 16:36:45 +0200 (MET DST)


> I am getting a problem when start ipfw.
> It's giving:
>
> add maquerading all from 192.168.0.0/24 to 0.0.0.0/0
> ipfw: setsockopt(IP_FW_ADD_FWD): Invalid argument
>
> Can somebody pls help me out on this.

Get ipfwadm from ftp.xos.nl:/pub/linux/ipfwadm (take version 2.0beta2
for kernels 1.3.66 and above!) and issue the command:

ipfwadm -F -a masq -S 192.168.0.0/24 -D 0.0.0.0/0

-- 
--    Jos Vos <jos@xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204