SNAT & local address destination

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I have a problem configuring a Debian box, acting as a load balancer
with ipvs/keepalived.

It has public network configured, let's say 172.25.30.0/24 for the
example, and a private network on 10.111.0.0/16.

It has some services configured on 172.25.30.0/24.

I do source nat on clients coming from 10.111.0.0/16 and going to
Internet, SNAT to an address of 172.25.30.0/24 (with a POSTROUTING rule).

But, how can I SNAT these clients when they want to access some other
services on 172.25.30.0/24 ?

Let's say : I want 10.111.0.0/16 to be SNATed to 172.25.30.15 when they
want to access service at 172.25.30.19.

My POSTROUTING rule is not working because packets are never going in
POSTROUTING.

Thank you for people who can help me :)

Flo


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux