Would look like my scheme, the real Ip replaced by Ip type (184.108.40.206/30, 220.127.116.11/30, etc.).
Real subnetwork get on channel A Real IPs (4.4.4.x/24)
In configuring (Linux) in this case should be turned off NAT and routing is enabled. Further, the interface rl0 should be spelled out two un 192.168.0.254 looking at a subnet (192.168.0.x/24) and real-subnet 18.104.22.168 looking at a subnet (4.4.4.x/24). Further, all is clear for configuring the server (Linux).
We proceed to set up ZS.
We go in (router) and create a rule in our example, they look so :
Destination:192.168.0.0 Netmask: 255.255.255.0 Gateway: 22.214.171.124 Metric 1
Destination:126.96.36.199 Netmask: 255.255.255.0 Gateway: 188.8.131.52 Metric 1
To start off (NAT) with interface (ETH01)
Next, we go in (Net Balantser) create a (Balancing Rules) rule in which we write
(Source IP: 184.108.40.206/24) on
(Destination IP: 0.0.0.0 / 0)
(TARGET GATEVAY: GW-A)
This rule, we have sent all the traffic from the network (4.4.4.x/24) on interface (ET01)
Then go to (Setup–>Startup/Kron–> NAT and Virtual Servers script) and put this rule:
iptables-t nat-A POSTROUTING-s 192.168.0.0/24-o ETH01-j SNAT – to-source 220.127.116.11
It is necessary for that would be a subnet (192.168.0.0/24) could get through this interface.
After the restart ZS !!!
Well, something like this, I do not mostak write instructions can someone will correct me or offer his own version … All thanks for your attention ..