Hi.

I'm trying to incorporate the newnat patch (ver 13) by Koepi into my 
2.4.18 kernel (I need pptp-nat badly) and are running into some problems.

This is what I did:

A fresh 2.4.18 kernel

Patched it using newnat patch for 2.4.18 i.e ver 13 (patched perfectly 
without any problems btw)
Compiled, linked, installed everything ...
Everything looks OK

Compiled and installed iptables-1.2.6a against the newly built kernel 
(Everything OK)

The problem arises when I'm trying to load 2 of my rules ...

iptables -t nat -A POSTROUTING -s 10.0.1.0/24 -o eth0 -j MASQUERADE
iptables -t nat -A PREROUTING -s 10.0.1.0/24 -p tcp --dport 80 -j 
REDIRECT --to-port 3128

Both commands returns the message: Invalid argument

This is working without the patch, can someon tell me if something has 
changed or why this doesn't work.
When I do lsmod ipt_masquerade is loaded and I thought that the chains 
MASQ... and REDIR... was predefined in the nat table or?

I would be so happy so happy if someone can help me out with this or 
point me in the right direction.

Regards Gustav Karlman


Reply via email to