If you would like to direct requests for a certain port to an internal
machine (sometimes called opening a port, port mapping), you can do it
like this:
Code: [Select]
/ip firewall nat add chain=dstnat dst-port=1234 action=dst-nat protocol=tcp to-address=192.168.1.1 to-port=1234
This rule translates to: when an incoming connection requests TCP port 1234, use the DST-NAT action and redirect it to local address 192.168.1.1 and the port 1234
No comments:
Post a Comment