Hi all,
I've got a situation I need help with. We've got a RedHat Piranha load
balanced system that's up and working. My problem is this; the real
servers now have a PHP script on them that is attempting to build and
modify a page on itself to email to a user. So what happens is the real
server is attemping to HTTP browse to a page using the VIP of the
public IP. This request never comes back to the real server (either
one) and the page fails. What I need to do is have the real server
catch the VIP request it generates, and redirect it to itself. I'm
guessing I would use iptables for this, but I don't know much about
iptables. I did find this on the net:
iptables -t nat -A PREROUTING -p <tcp|udp> -d <vip> --dport <port> -j
REDIRECT
which looks like it should work, but in fact doesn't. Can anyone out
there help me with this problem?
Thanks in advance,
Doug
|