/ip firewall nat
add action=dst-nat chain=dstnat comment="iPecs - Rule 1 of 6 - TCP 5588" \
dst-port=5588 in-interface-list=WAN protocol=tcp to-addresses=\
192.168.20.42 to-ports=5588
add action=dst-nat chain=dstnat comment="iPecs - Rule 2 of 6 - TCP 8899" \
dst-port=8899 in-interface-list=WAN protocol=tcp to-addresses=\
192.168.20.42 to-ports=8899
add action=dst-nat chain=dstnat comment="iPecs - Rule 3 of 6 - UDP 5588" \
dst-port=5588 in-interface-list=WAN protocol=udp to-addresses=\
192.168.20.42 to-ports=5588
add action=dst-nat chain=dstnat comment="iPecs - Rule 4 of 6 - UDP 7000-7031" \
dst-port=7000-7031 in-interface-list=WAN protocol=udp to-addresses=\
192.168.20.42 to-ports=7000-7031
add action=dst-nat chain=dstnat comment="iPecs - Rule 5 of 6 - UDP 7100-7131" \
dst-port=7100-7131 in-interface-list=WAN protocol=udp to-addresses=\
192.168.20.42 to-ports=7100-7131
add action=dst-nat chain=dstnat comment="iPecs - Rule 6 of 6 - TCP 8089" \
dst-port=8089 in-interface-list=WAN protocol=tcp to-addresses=\
192.168.20.42 to-ports=443
/ip firewall nat
add action=dst-nat chain=dstnat comment="GS - Rule 1 of 9 - Web Interface" \
dst-port=8089 in-interface-list=WAN protocol=tcp to-addresses=\
192.168.2.42 to-ports=8089
add action=dst-nat chain=dstnat comment="GS - Rule 2 of 9 - TCP5060" \
dst-port=5060 in-interface-list=WAN protocol=tcp to-addresses=\
192.168.2.42 to-ports=5060
add action=dst-nat chain=dstnat comment="GS - Rule 3 of 9 - UDP5060" \
dst-port=5060 in-interface-list=WAN protocol=udp to-addresses=\
192.168.2.42 to-ports=5060
add action=dst-nat chain=dstnat comment="GS - Rule 4 of 9 - TCP5061" \
dst-port=5061 in-interface-list=WAN protocol=tcp to-addresses=\
192.168.2.42 to-ports=5061
add action=dst-nat chain=dstnat comment="GS - Rule 5 of 9 - UDP5061" \
dst-port=5061 in-interface-list=WAN protocol=udp to-addresses=\
192.168.2.42 to-ports=5061
add action=dst-nat chain=dstnat comment="GS - Rule 6 of 9 - TCP 10000-20000" \
dst-port=10000-20000 in-interface-list=WAN protocol=tcp to-addresses=\
192.168.2.42 to-ports=10000-20000
add action=dst-nat chain=dstnat comment="GS - Rule 7 of 9 - UDP 10000-20000" \
dst-port=10000-20000 in-interface-list=WAN protocol=udp to-addresses=\
192.168.2.42 to-ports=10000-20000
add action=dst-nat chain=dstnat comment="GS - Rule 8 of 9 - UDP 50000-52999" \
dst-port=50000-52999 in-interface-list=WAN protocol=udp to-addresses=\
192.168.2.42 to-ports=50000-52999
add action=dst-nat chain=dstnat comment="GS - Rule 9 of 9 - TCP 53000-55999" \
dst-port=53000-55999 in-interface-list=WAN protocol=tcp to-addresses=\
192.168.2.42 to-ports=53000-55999
