From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Craig Subject: Re: pptp-conntrack-nat Date: Thu, 12 Jun 2003 11:52:56 +1000 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3EE7DCF8.4060602@snapgear.com> References: <1055376249.20254.16.camel@rocket.innercite.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1055376249.20254.16.camel@rocket.innercite.com> 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"; format="flowed" To: Mike Machado Cc: netfilter@lists.netfilter.org Mike Machado wrote: > I used CVS/POM and patched my vanilla 2.4.20 kernel to include support > for ip_conntrack_pptp and ip_nat_pptp, but after I do this, the > MASQUERADE target no longer works. lsmod shows both modules load > successfully as well as the ipt_MASQUERADE, but when I run my nat rule: > > iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth0 -j MASQUERADE > > it just says Invalid Argument. I have two identical kernels, one with > the pptp patch applied, one without, and the one without allows the > MASQUERADE target just fine. Is there a known bug with the latest CVS > pptp-conntrack-nat patch interfearing with masquerading? Thanks. The pptp patch changes the size of the kernel structures. You need to recompile the userspace iptables. -- Philip Craig - philipc@snapgear.com - http://www.SnapGear.com SnapGear - Custom Embedded Solutions and Security Appliances