Hi,
I have a dynamic address and I could not find how to set the dynamic IP in the rule for src-nat.
Here are the rules :
/ip firewall nat
add action=dst-nat chain=dstnat comment=NAS dst-address-type=local dst-port=
25,110,143,993,995,80,443,5000-5006,6690,7001 protocol=tcp to-addresses=
192.168.0.22 to-ports=25-7001
add action=src-nat chain=srcnat dst-address=192.168.0.22 dst-port=
25,110,143,993,995,80,443,5000-5006,6690,7001 protocol=tcp to-addresses=
96.20.106.43 to-ports=0-65535
I’m using a dyndns script, working fine and I get ‘current_ip’ variable I can use in the Address List, but I don’t know how to do with src-nat for the “To Addresses” (support only IP address). Any Idea?
