* PPTP NAT and iptables compilation
@ 2004-03-29 19:01 ihernandez
2004-03-29 21:15 ` PPTP NAT and iptables compilation - SOLVED ihernandez
2004-03-29 22:09 ` PPTP NAT and iptables compilation Antony Stone
0 siblings, 2 replies; 5+ messages in thread
From: ihernandez @ 2004-03-29 19:01 UTC (permalink / raw)
To: netfilter
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: PPTP NAT and iptables compilation
2004-03-29 22:09 ` PPTP NAT and iptables compilation Antony Stone
@ 2004-03-29 19:20 ` ihernandez
0 siblings, 0 replies; 5+ messages in thread
From: ihernandez @ 2004-03-29 19:20 UTC (permalink / raw)
To: netfilter
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.
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: PPTP NAT and iptables compilation - SOLVED
2004-03-29 19:01 PPTP NAT and iptables compilation ihernandez
@ 2004-03-29 21:15 ` ihernandez
2004-03-29 22:09 ` PPTP NAT and iptables compilation Antony Stone
1 sibling, 0 replies; 5+ messages in thread
From: ihernandez @ 2004-03-29 21:15 UTC (permalink / raw)
To: netfilter
i have done all the procedure from scratch, patched all with
patch-o-matic and now it woks fine!
thanks for your attention!
ivan
On Mon, Mar 29, 2004 at 07:01:09PM +0000, 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?
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: PPTP NAT and iptables compilation
2004-03-29 19:01 PPTP NAT and iptables compilation ihernandez
2004-03-29 21:15 ` PPTP NAT and iptables compilation - SOLVED ihernandez
@ 2004-03-29 22:09 ` Antony Stone
2004-03-29 19:20 ` ihernandez
1 sibling, 1 reply; 5+ messages in thread
From: Antony Stone @ 2004-03-29 22:09 UTC (permalink / raw)
To: netfilter
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: PPTP NAT and iptables compilation
@ 2004-03-29 22:11 Daniel Chemko
0 siblings, 0 replies; 5+ messages in thread
From: Daniel Chemko @ 2004-03-29 22:11 UTC (permalink / raw)
To: ihernandez, netfilter
I haven't tried it myself since I am in between upgrades, but why not
try out pom-ng? I am almost positive that you need:
pom-ng + iptables from CVS in order for things to work fine. I've tried
various combinations of userspace 1.2.9+ and POM, but they have
regularty broken since POM-ng has been developed. The iptables module in
CVS doesn't support the old POM.
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-03-29 22:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-29 19:01 PPTP NAT and iptables compilation ihernandez
2004-03-29 21:15 ` PPTP NAT and iptables compilation - SOLVED ihernandez
2004-03-29 22:09 ` PPTP NAT and iptables compilation Antony Stone
2004-03-29 19:20 ` ihernandez
-- strict thread matches above, loose matches on Subject: below --
2004-03-29 22:11 Daniel Chemko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox