Hi,

I am in the process of setting up ZLB for our spam filtering platform. This has 
certain requirements as in the real server must see the original sender's IP 
not the load balancer's IP so I have it set up in DNAT.

The real server must also be able to get out to the Internet to run DNS, 
Blacklist and other queries.

I've been running around in circles on google trying to find out how to get the 
load balancer to allow outbound traffic but all I get is references to having 
to set up iptables using this command:

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Thing is, that means that traffic out goes from the local IP of the load 
balancer and not the virtual IP that traffic comes in from. The iptables rule 
doesn't work for the virtual interfaces with a rule such as this:

iptables -t nat -A POSTROUTING -o eth0:1 -j MASQUERADE

I've also found that rules added to iptables don't show up with iptables -L 
which is a bit odd to me. I have to reboot to clear the rules every time I want 
to test which seems a bit excessive.

All the best,
Colin Waring.

[cid:[email protected]]

Colin Waring

Technical Director

Dolphin ICT Limited

T

+44 (0)151 438 2246

www.dolphinict.co.uk<http://www.dolphinict.co.uk>

[email protected]<mailto:[email protected]>

US15a, Armstrong House, First Avenue, Robin Hood Airport, Doncaster, DN9 3GA





[cid:[email protected]]<http://www.linkedin.com/company/dolphin-ict>

Dolphin ICT Limited. NOTICE & DISCLAIMER
Dolphin ICT Limited, a private limited company, with company registration 
number 6206916,
registered in the United Kingdom, the registered office of which is at US15a, 
Armstrong House, First Avenue, Robin Hood Airport, Doncaster, DN9 3GA
VAT registration number GB 918 1896 88.



------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to