From mboxrd@z Thu Jan 1 00:00:00 1970 From: ihernandez@cinemasoft.com.ar Subject: Re: PPTP NAT and iptables compilation Date: Mon, 29 Mar 2004 19:20:17 +0000 Sender: netfilter-admin@lists.netfilter.org Message-ID: <20040329192017.GA27053@cinemasoft.com.ar> References: <20040329190109.GB26945@cinemasoft.com.ar> <200403292309.51751.Antony@Soft-Solutions.co.uk> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <200403292309.51751.Antony@Soft-Solutions.co.uk> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: netfilter@lists.netfilter.org The new compiled iptables is at /usr/local/sbin/iptables when i try it says: /usr/local/sbin/iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE iptables: Invalid argument i'm not sure that patch-o-matic is really doing the right job with the iptables patch. i mean, the user space patch. On Mon, Mar 29, 2004 at 11:09:51PM +0100, Antony Stone wrote: > On Monday 29 March 2004 8:01 pm, ihernandez@cinemasoft.com.ar wrote: > > > Hello. i have used patch-o-matic to add the pptp-nat helper module > > kernel works fine, but userspace iptables tool fails with: > > "iptables: Invalid argument" > > > > i have seen a lot of posts and the solution is to compile the > > iptables-1.2.9 tools > > i downloaded a fresh copy from www.netfilter.org and run make > > KERNEL_DIR=mykerneldir > > it says: > > Extensions found: IPv4:recent IPv6:ah IPv6:esp IPv6:frag IPv6:ipv6header > > IPv6:hbh IPv6:dst IPv6:rt > > > > then i install. > > fine, but it continues with it's problems!!!! > > what can i do to compile the tools th right way? > > Are you sure the command you've run afterwards is the newly-compiled version, > and not just the old one sitting somewhere in your path? > > What does "ls -al `find / -name iptables`" show ? (Those are single > backticks around the find command). > > Regards, > > Antony. > > -- > Anyone that's normal doesn't really achieve much. > > - Mark Blair, Australian rocket engineer > > Please reply to the list; > please don't CC me. > >