Community discussions

 
nop
just joined
Topic Author
Posts: 4
Joined: Wed Feb 06, 2019 10:36 am

how can i redriect all 80,443 port to one ip?

Sun Feb 10, 2019 8:12 am

i do this /ip firewall nat add chain=dstnat protocol=tcp action=dst-nat src-address=192.168.0.0/24 dst-port=80,443 to-addresses=123.125.115.110 to-ports=80
but i can't access 123.125.115.110 。123.125.115.110 is baidu's ip.

how can i do in routeros can redriect all 80,443 port to 123.125.115.110?
 
User avatar
tikplus
just joined
Posts: 5
Joined: Sun Feb 10, 2019 10:15 am
Contact:

Re: how can i redriect all 80,443 port to one ip?

Sun Feb 10, 2019 11:01 am

hi your rule seem true but if its not working you can check log and define log to check why redirect dont work and dst-nat is the best solution for this article.
The end will be Fine... Just Wait...
تیک پلاس - میکروتیک
 
Zwodka
Frequent Visitor
Frequent Visitor
Posts: 71
Joined: Fri Sep 19, 2014 9:41 pm
Location: Hungary

Re: how can i redriect all 80,443 port to one ip?

Sun Feb 10, 2019 2:12 pm

/ip firewall nat add chain=dstnat protocol=tcp action=dst-nat src-address=192.168.0.0/24 dst-port=80,443 to-addresses=123.125.115.110

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], infosec, Sob and 24 guests