This is an ASP setup where the inside network holds managment
server/DCs/SQL servers. Unfortunately, some of the forward facing DMZ
servers require access to a clustered file server. So the file server
has to be in the DMZ. The environment with the Linux server is a lab,
production has failover pix fire walls. The traffic between the DMZ
and Inside networks are heavily ACLd to control access to the inside
network from the DMZ.
If I use the MASQUERADE target between the two subnets iptables alters
the source IP on each side to look like the traffic is coming from the
linux box. This is ok for 99.999% of what passes through it. However,
MS Cluster service mid transmision tries to change it's source IP.
When the linux box sees the traffic it passes it back to the
management server as though this is a new connection instead of a
continuation of the conversation initiated on the first IP.
Eg of traffic:
1>Mgmt server 173.1.1.1:5555 -> virtual file server 173.1.2.6:4444
2>real file server 173.1.2.5:4444 -> 173.1.1.1:5555 Helo
3>173.1.1.1:5555 -> 173.1.2.5:4444 who are you
4>173.1.2.5:4444 -> 173.1.1.1:5555 I'm 173.1.2.6:4444 continue from
here
5>173.1.1.1:5555 -> 173.1.2.5:4444 ok
As you can see, the linux box would have no idea that these two are
surposed to be working out how to talk to each other, so when it sees
step 2, it is going to try to establish a connection to the managment
server as though this was a new session, throwing the management/file
servers out of sync thus they never finishing the negotiation and the
transmission times out.
So again, I need to aviod passing this traffic through the tables and
just route it as is between these two computers. I can live with these
2 servers in the lab being wide open to each other. Right now I have
two options, route with no tables between the subnets, which means I
have no acls between the DMZ and Inside, or enable iptables and break
the cluster. Neither is a usable situation.
I haven't been able to force the cluster to talk on just its virual
ip....so I'm running low on options. The last step is toss the linux
box and get a pix, but I'd like to keep Tux around
Horst Knobloch <(E-Mail Removed)> wrote in message news:<bj7751$15a1$(E-Mail Removed)>...
> On Thursday 04 September 2003 06:50, Angry Guy wrote:
>
> [NAT between MS Cluster in DMZ and internal net]
>
> > Obviously, if I pass the traffic through the nat table, the ips get
> > mangled and the server's carefully crafted negotiation gets bugger'd.
> > However, if I just enable routing between the subnets, they are both
> > happy.
>
> Why do you nat between the DMZ and your internal net in the
> first place? This is only necessary in complicated and unusual
> network setups. Normally you only do nat on the interface
> attached to the Internet.
>
> So, something like
>
> iptables -t nat -A POSTROUTING -o ppp0 --src 192.168.0.0/24 \
> -j MASQUERADE
>
> Where ppp0 is the Internet interface and 1921.168.0.0/24 is
> your internal net.
>
> If you have in the DMZ also private IP addresses (eg.
> 10.0.0.0/24), then you must nat the traffic towards
> the Internet also.
>
> iptables -t nat -A POSTROUTING -o ppp0 --src 10.0.0.0/24 \
> -j MASQUERADE
>
>
> HTH
>
> Ciao, Horst