Thanks, but ip says it's deprecated and it doesn't like the syntax.
As far as I can google, everyone seems to be saying use iptables
instead. (Unfortunately iptables with kernel 2.4.x can't do stateless
nat. Adding the raw table, to the 2.4 kernel, via patch-o-matic makes
all NOTRACK responses appear to come from port 1 ?!?)
# ip rule add nat 205.254.211.17 via 192.168.1.115
Warning: route NAT is deprecated
Error: argument "via" is wrong: Failed to parse rule type
Regards,
Chris.
On 23 Jan, 15:35, Bruce Richardson <itsbr...@uklinux.net> wrote:
> Chris Dew <cms...@googlemail.com> wrote:
> > I'm using kernel 2.4.37 and iptables 1.3.8.
>
> > I have a complex firewall requirement - what I need is to do DNAT
> > without it creating an entry in the connection tracking table. *Is
> > there a module or command which does this?
>
> The ip tool from the iproute suite can do stateless natting.
>
> http://linux-ip.net/html/nat-stateless.html
>
> --
> Bruce
>
> I unfortunately do not know how to turn cheese into gold.