Use as regras de origem nat ( SNAT ) em vez de MASQUERADE . Isso permite controlar o endereço de origem, para que você possa fazer algo assim:
iptables -t nat -A POSTROUTING -o br1 \
-s 192.168.18.65 -j SNAT --to-source 10.64.18.107
E assim por diante.
Se você der uma olhada na página iptables man, você encontrará o seguinte na descrição da opção MASQUERADE :
It should only be used with dynamically assigned IP (dialup) connections: if you have a static IP address, you should use the SNAT target.