summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorHannes Eder <heder@google.com>2010-07-23 12:46:32 +0200
committerPatrick McHardy <kaber@trash.net>2010-07-23 12:46:32 +0200
commit7b215ffc3885a38182d3d49ceb41d0a81c3e041a (patch)
tree65172fb8eec92848efee3b76f32ff3dabc4c84fa /include/net
parent9c3e1c39679144c250dda95098333ecb5f1f407a (diff)
downloadlinux-3.10-7b215ffc3885a38182d3d49ceb41d0a81c3e041a.tar.gz
linux-3.10-7b215ffc3885a38182d3d49ceb41d0a81c3e041a.tar.bz2
linux-3.10-7b215ffc3885a38182d3d49ceb41d0a81c3e041a.zip
IPVS: make friends with nf_conntrack
Update the nf_conntrack tuple in reply direction, as we will see traffic from the real server (RIP) to the client (CIP). Once this is done we can use netfilters SNAT in POSTROUTING, especially with xt_ipvs, to do source NAT, e.g.: % iptables -t nat -A POSTROUTING -m ipvs --vaddr 192.168.100.30/32 --vport 80 \ -j SNAT --to-source 192.168.10.10 [ minor fixes by Simon Horman <horms@verge.net.au> ] Signed-off-by: Hannes Eder <heder@google.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions