Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15172

Beginner Basics • Re: Redirect all traffic to the LAN webserver

$
0
0
What this is actually worked for me, in case someone face this same issue
Code:
/ip firewall natadd chain=dstnat protocol=tcp dst-port=80 action=dst-nat to-addresses=192.168.89.253 to-ports=80add chain=dstnat protocol=tcp dst-port=443 action=dst-nat to-addresses=192.168.89.253 to-ports=443/ip dns staticadd name=www.mywifi.com address=192.168.89.253/ip firewall natadd chain=srcnat src-address=192.168.89.0/24 dst-address=192.168.89.253 action=masquerade

Statistics: Posted by redstoneminer — Mon Mar 11, 2024 1:28 pm



Viewing all articles
Browse latest Browse all 15172

Trending Articles