http://wiki.mikrotik.com/wiki/Forwarding_a_port_to_an_internal_IP

위 링크에 terminal에서 하는 방법이 설명되어져 있습니다.


Forwarding a port to an internal IP

This example will show you how to forward port (tcp 5900) to an internal IP using destination NAT. 69.69.69.69 is the example wan IP, 192.168.1.101 is the desired internal destination.

/ip firewall nat add chain=dstnat dst-address=69.69.69.69 protocol=tcp dst-port=5900 \
    action=dst-nat to-addresses=192.168.1.101 to-ports=5900



위 예제에서 69.69.69.69 가 외부 공인(wan)IP이고 192.168.1.101이 내부 사설IP임을 알 수 있습니다.

응용해서 적용하면 됩니다.


* gui로 하고 싶다면 아래 유튜브 동영상을 참고 하세요.







+ Recent posts