Re: Aliased Masqed Firewalled IP forwards

From: Jeroen Massar (fuzzel@cistron.nl)
Date: Wed Mar 22 2000 - 09:34:24 EST


On Wed, 22 Mar 2000, Gregory Maxwell wrote:

> On Wed, 22 Mar 2000, Andre Pang wrote:
>
> [snip]
<SNIP>
> The fast nat code in 2.2 does static NAT just fine. Since the docs are
> thin here is a config from around here: (outside adress premangled for
> posting)
>
> #Translate 10.10.72.1<->166.123.16.129
> /sbin/ip rule add from 10.10.72.1 nat 166.123.16.129 table main
> /sbin/ip route add nat 166.123.16.129 via 10.10.72.1 table local
>
> It can also do ranged static nat, and other strange things.
It works, great! Thanx guys (& gals) :)

Except for the fact that our router still doesn't understand the IP...
That has something todo with ARP's... and our network techs...

Greets,
 Jeroen

--
/dev/changer - http://unfix.org/projects/changer/
Multi-mount auto-changing IDE device driver :)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:36 EST