hi all,
i have a question.
Configuration:
ether1(WAN) IPS:
10.0.0.1
10.0.0.2
10.0.0.3
and in bridge-local there are 3 clients
192.168.1.1
192.168.1.2
192.168.1.3
If instead of src-nat i do:
in mangle every connection from 192.168.1.1 to dst-address 10.2.2.2 marked with: ip1
every connection from 192.168.1.2 to dst-address 10.2.2.2 marked with: ip2
every connection from 192.168.1.3 to dst-address 10.2.2.2 marked with: ip3
than in routes i do
route 0.0.0.0/0 via 10.0.0.100(GW) with routing-mark:ip1 pref-src 10.0.0.1
route 0.0.0.0/0 via 10.0.0.100(GW) with routing-mark:ip2 pref-src 10.0.0.2
route 0.0.0.0/0 via 10.0.0.100(GW) with routing-mark:ip3 pref-src 10.0.0.3
then in ip firewall NAT simple srcnat masquerade
Will work everything if i do this configuration? Instead of 3 src-nat for each ip with this configuration will have the same effect?