Can any one help me?
I need a script loop, that will add NAT entries.
#192.168.0.0/24 public pool which i want to use in 1:8 nat with 172.16.0.0/21 private pool.
for example,
/ip pool
add name=snat-pool ranges=172.16.0.0/21
add name=snat-pool-public ranges=192.168.0.0/24
/ip firewall nat
add chain=srcnat src-address=172.16.0.0/29 action=src-nat to-addresses=192.168.0.1
add chain=srcnat src-address=172.16.0.8/29 action=src-nat to-addresses=192.168.0.2
add chain=srcnat src-address=172.16.0.16/29 action=src-nat to-addresses=192.168.0.3
.
.
.
.
and so on.