Re: stateless 1:1 NAT

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Florin Andrei
Date: Friday, November 9, 2007 - 2:04 pm

Herbert Xu wrote:

OK, I want to test this feature with 2.6.24-rc2. I compiled 
iproute2-2.6.23 with your patch applied.
The problem is, I have no experience with tc (and very little experience 
with iproute2 in general). Can you give me an example on how to setup 
1:1 NAT for one system?

Let's say, the firewall has the addresses 10.123.0.10 (eth0 outside) and 
10.123.1.10 (eth1 inside), the server behind it is 10.123.1.253 and I 
want to map the server's address to 10.123.0.253 on the outside interface.
What are the parameters for tc to setup 1:1 NAT like that?

-- 
Florin Andrei

http://florin.myip.org/
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
stateless 1:1 NAT, Florin Andrei, (Tue Oct 16, 5:29 pm)
Re: stateless 1:1 NAT, Herbert Xu, (Tue Oct 16, 6:10 pm)
Re: stateless 1:1 NAT, Florin Andrei, (Wed Oct 17, 11:14 am)
Re: stateless 1:1 NAT, Patrick McHardy, (Wed Oct 17, 12:44 pm)
Re: stateless 1:1 NAT, Florin Andrei, (Wed Oct 17, 2:03 pm)
Re: stateless 1:1 NAT, Herbert Xu, (Wed Oct 17, 5:45 pm)
Re: stateless 1:1 NAT, Florin Andrei, (Wed Oct 24, 12:12 pm)
Re: stateless 1:1 NAT, Herbert Xu, (Wed Oct 24, 6:54 pm)
Re: stateless 1:1 NAT, Florin Andrei, (Fri Oct 26, 10:49 am)
Re: stateless 1:1 NAT, Florin Andrei, (Fri Nov 9, 2:04 pm)