> Even though you can direct traffic from external-to-external, unless
> it's usng a local proxy like balance, the response will fly directly
> from the external server to the client, and so arriving out-of-context.
I know about that. That's why I have an SNAT rule to re-write
the source addr of the forwarded packets so that responses
come back to the forwarding box and conntrack de-NAT them
back to the original client.
I've worked around the problem by adding this to
run_iptables -t filter -A eth0_fwd -o eth0 \
-m policy --dir out --pol none -j net2net
But I'm sure there is a more "proper" way to do this.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!