From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30240 invoked from network); 26 Feb 1999 22:39:09 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Feb 1999 22:39:09 -0000 Received: from ns1.fidalgo.net (root@ns1.fidalgo.net [206.129.156.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA08555 for ; Fri, 26 Feb 1999 17:37:40 -0500 Received: from mail.fidalgo.net (uct@mail.fidalgo.net [206.129.156.5]) by ns1.fidalgo.net (8.8.8/8.8.5) with SMTP id OAA07530 for ; Fri, 26 Feb 1999 14:37:21 -0800 (PST) Date: Fri, 26 Feb 1999 14:37:20 -0800 (PST) From: Ron Farrer To: axp-list@redhat.com Subject: Re: problems with IP Masquerade In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 26 Feb 1999 frts@matef.sch.bme.hu wrote: > Hi all, > > This time I use 2.0.35 with my alpha and I want to use IP Masquerade. > Followed the howto, selected all the recommended kernel options and bulid > a modular kernel. The 2 ethercards found properly by the kernel. > The modules are O.K. I can modprobe them. > I do FORWARD_IPV4=true in /etc/sysconfig/network and rebooted. > But when I want to use ipfwadm got an error message. > > [root@simba /root]# /sbin/ipfwadm -F -p deny > [root@simba /root]# /sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0 > ipfwadm: setsockopt failed: Invalid argument > I got the same thing the other day. As an experiment I did a "/sbin/ipfwadm -F -p masquerade" which produces no errors and works but is acceptable to a few security issues.... I really don't know why it gives this error. I am still looking here and there in the FAQ's and HOWTO's for an answer... Ron Farrer