* Need to NAT incomming packets
@ 2002-06-12 20:31 Eric Plikuhn
2002-06-13 21:38 ` Nathan Cassano
0 siblings, 1 reply; 2+ messages in thread
From: Eric Plikuhn @ 2002-06-12 20:31 UTC (permalink / raw)
To: netfilter
I trying to determine if the following can be done. I've searched for a
solution but can not find it... because most people are not forced to
attempt this.
Here is the scenario:
Site A 10.0.0.0/8
||
||
Core Router==========Internet
||
||
Site B 10.0.0.0/8
My problem is that the Site A and B router don't/can't do NAT. The second
problem is that they MAY be using the same IP addresses at both sites. Each
site was giving the 10.0.0.0/8 private network to do work with and they have
IP address all over it.
I was hoping have a SNAT rule for each incoming interface in the prerouting
chain on the Core router.... but you can't do SNAT in prerouting with
iptables.
I'm thought of a few possibilities, but so far they all fall short.
Assuming that I can't get new routers at the Site locations and they may be
using the same IP's what can I do?
Eric
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Need to NAT incomming packets
2002-06-12 20:31 Need to NAT incomming packets Eric Plikuhn
@ 2002-06-13 21:38 ` Nathan Cassano
0 siblings, 0 replies; 2+ messages in thread
From: Nathan Cassano @ 2002-06-13 21:38 UTC (permalink / raw)
To: 'Eric Plikuhn', netfilter
Hi Eric,
> I was hoping have a SNAT rule for each incoming interface in the
prerouting
> chain on the Core router.... but you can't do SNAT in prerouting with
> iptables.
The problem lies in routing NAT'ed traffic back to it's respective
device. If the devices have the same IP address there cannot be an
intelligent routing decision made. Netfilter does not support forcing a
packet to be sent to a specific device. Packets must be routed to
devices based up routing decisions.
I would suggest setting up a router for each 10.0.0.0/8 network to
properly route traffic.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-13 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-12 20:31 Need to NAT incomming packets Eric Plikuhn
2002-06-13 21:38 ` Nathan Cassano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox