From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,69331b8b40dac006 X-Google-Attributes: gid111c93,public X-Google-Thread: 10669a,69331b8b40dac006 X-Google-Attributes: gid10669a,public From: Qkev Subject: Re: ip-masquerading Date: 1999/01/15 Message-ID: <369FB84B.BE2F00C7@home.com>#1/1 X-Deja-AN: 433112339 Content-Transfer-Encoding: 7bit References: <77o7tj$fql$2@remarQ.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@home.net X-Trace: news.rdc1.on.wave.home.com 916437407 24.112.132.34 (Fri, 15 Jan 1999 13:56:47 PDT) Organization: @Home and Engsoc Member MIME-Version: 1.0 NNTP-Posting-Date: Fri, 15 Jan 1999 13:56:47 PDT Newsgroups: comp.os.linux.alpha,comp.os.linux.networking Christopher wrote: > > /sbin/ipfwadm -F -p deny > /sbin/ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0 <--this > command fails > /sbin/route add -net 192.168.0.0 > > I get the error message > ipfwadm: setsockopt failed: Invalid argument > The only way I can get ip-forwarding to work is to type > ipfwadm -F -p masquerade Too bad there no examples for many possible situations using ipfwadm rules eh... You might wanna try replacing that 24 with 16... Otherwise it's just like the docs say eh... Wait till you wanna run an ftp server on your machine he he.. (email me if anyone has an answer to this one... using serv-u)