Community discussions

MikroTik App
 
konstg
newbie
Topic Author
Posts: 40
Joined: Wed Oct 29, 2008 11:22 am
Location: Russia

About interfaces & slow internet

Tue Apr 02, 2013 11:09 am

Hello to all!

We have problems with "very slow internet" in our office. Below is attached pic with interfaces. Seems strange that
public interface has normal speed, on other hand, local interface has low speed.
Can somebody advice us on this matter.....? :shock:
mikr01.JPG
You do not have the required permissions to view the files attached to this post.
 
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1076
Joined: Wed Feb 21, 2007 2:26 pm
Location: Tirane
Contact:

Re: About interfaces & slow internet

Tue Apr 02, 2013 11:45 am

Run torch on the public interface, and see what is going on there, on which ports and from which IPs the traffic is coming and going. I have seen some cases like this before, where the proxy was activated but not protected from the outside. This caused similar situation like yours when there was a lot of traffic on the public interface (because of proxy), but almost nothing arriving on the local network.
 
konstg
newbie
Topic Author
Posts: 40
Joined: Wed Oct 29, 2008 11:22 am
Location: Russia

Re: About interfaces & slow internet

Tue Apr 02, 2013 3:09 pm

Tnanks a lot, Caci99! I'll give a look!

What can you say about this strange behaviour: 231 Gb is used from 307 Gb and we don't see on what! :shock:
file_list1.JPG
I create access only for my network to the Proxy. But it is long time while we can see a message BUILDING CACHE. May be smth goes wrong???
web-pr-sett1.JPG
You do not have the required permissions to view the files attached to this post.
 
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1076
Joined: Wed Feb 21, 2007 2:26 pm
Location: Tirane
Contact:

Re: About interfaces & slow internet

Tue Apr 02, 2013 3:30 pm

Can you post the nat rule where you redirect your LAN to the proxy? It should be something like this:
/ip firewall nat
add chain=dstnat protocol=tcp dst-port=80 in-interface=LAN action=redirect to-ports=8080
You should protect the webproxy port from the outside requests with:
/ip firewall filter
chain=input action=drop protocol=tcp in-interface=ether1 dst-port=8080
where ether1 is presumably the WAN interface

As for the HDD, I think it is your proxy populating it, that is normal.
 
konstg
newbie
Topic Author
Posts: 40
Joined: Wed Oct 29, 2008 11:22 am
Location: Russia

Re: About interfaces & slow internet

Tue Apr 02, 2013 4:22 pm

Can you post the nat rule where you redirect your LAN to the proxy? It should be something like this:
/ip firewall nat
add chain=dstnat protocol=tcp dst-port=80 in-interface=LAN action=redirect to-ports=8080
Yes, the same, but without 'in-interface=LAN'. Is it mandatory?

You should protect the webproxy port from the outside requests with:
/ip firewall filter
chain=input action=drop protocol=tcp in-interface=ether1 dst-port=8080
where ether1 is presumably the WAN interface

As for the HDD, I think it is your proxy populating it, that is normal.
I wrote in Access in Web-Proxy that
if ! from 192.168.0.0/24 then deny
 
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1076
Joined: Wed Feb 21, 2007 2:26 pm
Location: Tirane
Contact:

Re: About interfaces & slow internet

Tue Apr 02, 2013 6:39 pm

It is better if you drop attempted connections to the webproxy from the firewall filter.
The in-interface=LAN, serves because the router will redirect only traffic from your network, which you are interested in, and not from other interfaces.
Still, you need to run torch on the WAN interface, so that you have a better picture of what is going on there.
 
konstg
newbie
Topic Author
Posts: 40
Joined: Wed Oct 29, 2008 11:22 am
Location: Russia

Re: About interfaces & slow internet

Wed Apr 03, 2013 8:12 am

Thank you a lot, Caci99! :)