Difference between revisions of "Mikrotik: Port Forwarding"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
[[File:Screenshot from 2020-11-06 06-37-06.png|center|600px|thumb]]
+
[[File:Screenshot from 2020-11-06 06-37-06.png|center|400px|thumb]]
  
 
Contoh:
 
Contoh:

Revision as of 07:15, 6 November 2020

Screenshot from 2020-11-06 06-37-06.png

Contoh:

/ip address print
 #   ADDRESS            NETWORK         INTERFACE                              
 0 D 192.168.0.168/24   192.168.0.0     ether1                                 
 1   192.168.100.1/24   192.168.100.0   bridge1 


/ip firewall nat add chain=dstnat dst-address=192.168.0.168 action=dst-nat to-addresses=192.168.100.1
/ip firewall nat add chain=dstnat dst-port=80 action=dst-nat protocol=tcp to-address=192.168.100.200 to-port=80