Difference between revisions of "Mikrotik: Redirect Traffic"

From OnnoWiki
Jump to navigation Jump to search
(Created page with " To redirect packets destined for 10.20.30.1:2020 to 192.168.20.1:3040 , you add a DNAT rule in the firewall like this: /ip firewall nat add dst-address=10.20.30.1 dst-por...")
 
Line 5: Line 5:
  
 
  /ip firewall nat add dst-address=10.20.30.1 dst-port=2020 action=dst-nat to-addresses=192.168.20.1 to-ports=3040
 
  /ip firewall nat add dst-address=10.20.30.1 dst-port=2020 action=dst-nat to-addresses=192.168.20.1 to-ports=3040
 +
 +
 +
/ip firewall nat add dst-address=139.177.184.75 dst-port=443 action=dst-nat to-addresses=202.89.117.244 to-ports=443
 +
 +
  
  

Revision as of 19:59, 28 May 2021


To redirect packets destined for 10.20.30.1:2020 to 192.168.20.1:3040 , you add a DNAT rule in the firewall like this:

/ip firewall nat add dst-address=10.20.30.1 dst-port=2020 action=dst-nat to-addresses=192.168.20.1 to-ports=3040


/ip firewall nat add dst-address=139.177.184.75 dst-port=443 action=dst-nat to-addresses=202.89.117.244 to-ports=443



Referensi