Community discussions

MikroTik App
 
MikeRichards
just joined
Topic Author
Posts: 9
Joined: Sun Jul 19, 2009 3:55 am

How do I turn off the MikroTik default Winbox page?

Sun Jul 19, 2009 4:14 am

I just installed a RB433AH board to replace an ancient PC with MikroTik version 2.9.27 that I've been using for years. With a RB433AH in the system, my customers can't access my web page. The 433's public address is the same as my http server, ftp server, and mail server IP addresses. So, my customers have been calling to see why a company named MikroTik had taken over my web page.

In the older version, the web page shows up properly.

What can I change so that http://x.x.x.x:80 shows my page and not MikroTik's Winbox/Webbox/Telnet/Graphs/Documentation/License/mikrotik routeros 2.9.27 configuration page?
 
PoniTozheKoni
just joined
Posts: 21
Joined: Thu Jul 31, 2008 4:06 am
Contact:

Re: How do I turn off the MikroTik default Winbox page?

Sun Jul 19, 2009 5:24 am

Use dstnat, for example
/ip firewall nat
add chain=dstnat action=dst-nat in-interface=ether1 dst-port=80 to-addresses=192.168.1.100 to-ports=80 protocol=tcp
All requests to tcp/80 on ether1 will be redirected to 192.168.1.100:80.
 
MikeRichards
just joined
Topic Author
Posts: 9
Joined: Sun Jul 19, 2009 3:55 am

Re: How do I turn off the MikroTik default Winbox page?

Sun Jul 19, 2009 8:10 am

Thank you. I already have something similar. I'll try your exact solution. For port 80, I have:
chain=dstnat dst-address=67.222.229.118 protocol=tcp dsp-port=80 action=dst-nat to-addresses=192.168.0.163 to-ports=80
 
MikeRichards
just joined
Topic Author
Posts: 9
Joined: Sun Jul 19, 2009 3:55 am

Re: How do I turn off the MikroTik default Winbox page?

Sun Jul 19, 2009 6:55 pm

I entered your code exactly as listed, substituting only the IP address and the interface to correspond to my setup, and the default MikroTik page still appeared. It's as if the firewall rules are being disregarded. :(

Is there something else I can try?
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: How do I turn off the MikroTik default Winbox page?

Mon Jul 20, 2009 10:06 am

Do you have any bridge on your router ?
If yes, then make sure packets are going over firewall,
/interface bridge settings set use-ip-firewall=yes
 
dawam
Trainer
Trainer
Posts: 134
Joined: Wed May 31, 2006 1:40 pm
Location: Malaysia

Re: How do I turn off the MikroTik default Winbox page?

Mon Jul 20, 2009 4:40 pm

or just disable www service in /ip service
 
dssmiktik
Forum Veteran
Forum Veteran
Posts: 732
Joined: Fri Aug 17, 2007 8:42 am

Re: How do I turn off the MikroTik default Winbox page?

Tue Jul 21, 2009 10:45 pm

NAT rules get executed before filter input rules, so it should work without disabling web service. In the two commands there's a difference: dst-port and dsp-port. Not sure if that makes a difference.
 
MikeRichards
just joined
Topic Author
Posts: 9
Joined: Sun Jul 19, 2009 3:55 am

Re: How do I turn off the MikroTik default Winbox page?

Wed Jul 22, 2009 5:13 am

Turning www off in IP > Services worked, but was not necessary when I found the real problem - a misconfigured default (0.0.0.0/0) static route.

Even though the company has been using a PC with MikroRik OS for years, this was the first time that I set up a RB433AH. Instead of just entering the gateway for the default route, I must have entered an extra parameter. The interface field in Winbox (ip > route) showed ether2,ether2, but because the OS version was different, I assumed that it was just a version update change. When we had totally unreliable connections to the Internet, for a full week, I finally found a basic setup guide that showed that only two parameters are necessary for the default route, the destination and the gateway IP address. When I deleted and then recreated the default route, everything started working.

The RB/433AH impressed me enough that I bought two more from Streakwave in Salt Lake City, Utah, so that I can retire seven Netgear routers.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26322
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: How do I turn off the MikroTik default Winbox page?

Wed Jul 22, 2009 3:35 pm

good to hear that you worked it all out :)

Who is online

Users browsing this forum: No registered users and 22 guests