Hi all!
I have 4 nodes in a cluster
All nodes have WAN interface eth0
I have VM1 (10.10.10.2/30) on node4 and i want SNAT to eth0 on exit nodes
For node2:
For node4:
This does not work(
VM1 does not see the world
But with 1 exit node everything works fine:
OR
VM1 with 1 exit node sees the world
I have 4 nodes in a cluster
Code:
node1 (WAN: 1.1.1.2)
node2 (WAN: 1.1.1.3) --> exit
node3 (WAN: 1.1.1.4)
node4 (WAN: 1.1.1.5) --> exit
All nodes have WAN interface eth0
I have VM1 (10.10.10.2/30) on node4 and i want SNAT to eth0 on exit nodes
For node2:
iptables -t nat -A POSTROUTING -s 10.10.10.0/30 -o eth0 -j SNAT --to-source 1.1.1.3
For node4:
iptables -t nat -A POSTROUTING -s 10.10.10.0/30 -o eth0 -j SNAT --to-source 1.1.1.5
This does not work(
VM1 does not see the world
But with 1 exit node everything works fine:
Code:
node1 (WAN: 1.1.1.2)
node2 (WAN: 1.1.1.3) --> exit
node3 (WAN: 1.1.1.4)
node4 (WAN: 1.1.1.5)
Code:
node1 (WAN: 1.1.1.2)
node2 (WAN: 1.1.1.3)
node3 (WAN: 1.1.1.4)
node4 (WAN: 1.1.1.5) --> exit
VM1 with 1 exit node sees the world