Community discussions

MikroTik App
 
genius312
newbie
Topic Author
Posts: 41
Joined: Thu Feb 10, 2011 9:44 pm

Proxy on 450G slowing down WAN

Wed Mar 02, 2011 12:12 am

I ordered a routerBoard 493g, but I got a 450G while waiting for the other product to get here !
I never thought I would LOVE a router/firewall that much, i will never get back to other products :D

Well, I only have 1 concern, there is a proxy setting in the router that can cache all the web site we go to, and can also block entered web sites.

If I activate that, even without caching, my internet become really slow !
I am on fiber at 100mb/s on the internet, and I get 75Mb/s on speedtest.net with a latency between 0 and 7ms.
Proxy activated without caching just blocking *porn per example, then I have a latency of 207ms and 5Mb/s !

Am I doing something wrong or it is completly normal ?
Or will it be ok when i'll get my 493g ?

Thank you very much for your help !
Martin L.
 
genius312
newbie
Topic Author
Posts: 41
Joined: Thu Feb 10, 2011 9:44 pm

Re: Proxy on 450G slowing down WAN

Mon Mar 07, 2011 5:48 pm

No help ?
 
tiggda
newbie
Posts: 29
Joined: Fri Mar 04, 2011 11:07 am

Re: Proxy on 450G slowing down WAN

Mon Mar 07, 2011 5:51 pm

Are you using only RAM for cache or perhaps microSD card?

Edit:
Sorry, missed the "even without caching" part.
 
genius312
newbie
Topic Author
Posts: 41
Joined: Thu Feb 10, 2011 9:44 pm

Re: Proxy on 450G slowing down WAN

Mon Mar 07, 2011 6:43 pm

Well in fact, I just did some tests and the problem is not from webProxy !!
I have read somewhere on the forum that to activate the web proxy correctly, I should add a firewall filter Rule and a Nat rule !

Filter rule:
Chaine = Input
SRC= 0.0.0.0/0
Protocal= TCP
DST Port= 8080
In. Interface= ETH1-WAN
DROP !

NAT rule:
Chain = DSTnat
Protocol = TCP
Dst Port= 80
dst-nat to adresses x.x.x.x (Routeur IP Adress)
to port= 8080

The Nat rule seams to redirect the port 80 to 8080 because the WebProxy is configured to 8080 only by default, but I also added 80 in the webproxy !

And if I remove only that NAT rule, everything is OK.
I guess I don't really need it ?
 
genius312
newbie
Topic Author
Posts: 41
Joined: Thu Feb 10, 2011 9:44 pm

Re: Proxy on 450G slowing down WAN

Mon Mar 07, 2011 6:52 pm

Ok I get it !!
The NAT rule is to redirect to the router's proxy !
and if I redirect from port 80 to 80, every site goes to the routeur web access !!

So I still need some help on how to configure correctly without loosing so much speed !

Thank you very much,
Martin L.
 
genius312
newbie
Topic Author
Posts: 41
Joined: Thu Feb 10, 2011 9:44 pm

Re: Proxy on 450G slowing down WAN

Mon Mar 07, 2011 10:52 pm

If, in NAT Rule, I redirect to 8080 instead of using DST-nat to IP adress port 8080, it helps on the web proxy !

Without web proxy:
latency = 0ms Download = 93Mbps Upload = 77Mbps

With web proxy no caching :
latency = 205ms Download = 63Mbps Upload = 23Mbps

With web proxy and caching (to internal, didn't receive mt MicroSD yet)
latency = 215ms Download = 5Mbps Upload = 11Mbps

Still weird that I loose that much even without caching !!
I thought a would in latency, but not that much either !!

Any help ?

Reference : http://wiki.mikrotik.com/wiki/How_to_ma ... _web_proxy
 
makkan
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Mon Jul 26, 2010 12:38 am

Re: Proxy on 450G slowing down WAN

Tue Mar 08, 2011 1:20 am

Hi!

Can you Do this:
1. Run proxy at port 8080
2. Redirect tcp port 80 to8080 on your local interface.
3. Add this input filter rule in firewall:
In interface=local net interface, action=accept
4. Make speed test

It's just a funny bug that I found on some router os, can't remember which though.
 
CobblinGoblin
just joined
Posts: 4
Joined: Tue Sep 14, 2010 9:23 pm

Re: Proxy on 450G slowing down WAN

Wed Mar 16, 2011 4:14 am

I have found the same thing on my 450. As soon as I turn on the webproxy and then redirect to it jump from 4 to 5 ms pings to 250 to 260ms ping times. Surfing seems fast, but the latency sure seems high. I use webproxy for page logging purposes so I hate to have it turned off all the time.
 
CobblinGoblin
just joined
Posts: 4
Joined: Tue Sep 14, 2010 9:23 pm

Re: Proxy on 450G slowing down WAN

Thu Mar 17, 2011 3:06 am

I have the same issue on my 450, I also can get it to do it on a i386 machine. Any ideas on how to get this fixed. I see 26ms pings with webproxy off and 250 on. Any traffic hitting the proxy gets slowed badly. I set my rules to avoid my connection using a not 10.0.1.x. once the traffic avoids the proxy it's great.
 
makkan
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Mon Jul 26, 2010 12:38 am

Re: Proxy on 450G slowing down WAN

Sat Mar 19, 2011 2:02 am

CobblinGoblin

What happends if you do what I said in my previous post?

Test 2:

Place this NAT rule after the proxy NAT rule:

chain=input, src address=local-net (e.g. 192.168.1.0/24), action=accept


I have seen this rule + the one in my previous post to really slow down the INet. The one in my previous post has been effective when I have not used proxy, and this last one when I have been using proxy.
 
wesambhaya
just joined
Posts: 13
Joined: Thu Mar 10, 2011 12:22 am

Re: Proxy on 450G slowing down WAN

Tue Mar 22, 2011 11:51 pm

I have 433ah, also the web proxy slow down the internet????!!!!!!!. I flow the setting which exist in the following URL:
http://wiki.mikrotik.com/wiki/Proxy_on_ ... rnal_drive
to activate the web proxy.
Please help my if there is any additional setting.
Thanks
 
CobblinGoblin
just joined
Posts: 4
Joined: Tue Sep 14, 2010 9:23 pm

Re: Proxy on 450G slowing down WAN

Tue Jul 26, 2011 9:51 pm

I still ahve this issue on my 450g, even with all the suggestions in place. My CPU util is less than 40% but my latency is in teh 250's with webproxy on and in the 40's without.
 
rnbguy
Frequent Visitor
Frequent Visitor
Posts: 55
Joined: Fri Sep 12, 2008 8:55 am

Re: Proxy on 450G slowing down WAN

Wed Aug 08, 2012 8:02 am

hi did you manage to fix this?
 
SeaCow
just joined
Posts: 8
Joined: Sun Mar 13, 2011 1:52 am

Re: Proxy on 450G slowing down WAN

Sat Aug 11, 2012 6:47 am

On my 493G the speed stays the same but I gain 200ms on the ping so that's not really a good thing. Is it normal ?
 
rnbguy
Frequent Visitor
Frequent Visitor
Posts: 55
Joined: Fri Sep 12, 2008 8:55 am

Re: Proxy on 450G slowing down WAN

Sat Aug 11, 2012 7:53 am

same for me, its not a normal thing for proxies to do this, im guessing this is caused by read/write?

would be really good to find out what causes this.
 
Joker757
newbie
Posts: 47
Joined: Sun Jan 29, 2012 1:08 am

Re: Proxy on 450G slowing down WAN

Thu Aug 16, 2012 5:11 am

I'm having the same issue. Any aknowledgement of an issue from support? I'm running a 450G.
 
User avatar
bax
Member Candidate
Member Candidate
Posts: 268
Joined: Mon Dec 20, 2004 8:45 pm
Location: Croatia

Re: Proxy on 450G slowing down WAN

Thu Sep 06, 2012 10:37 pm

Hm ...
Im also runing web proxy on X86 ROS 5.20 and can confirm that ping is going high
when firewall rule redirect to proxy : PING 150-200 ,
when I just disable firewall transparent proxy PING is 50 -60

But this is only seen on http://www.speedtest.net/
Ordinary ping to some host on internet is same ...
 
rnbguy
Frequent Visitor
Frequent Visitor
Posts: 55
Joined: Fri Sep 12, 2008 8:55 am

Re: Proxy on 450G slowing down WAN

Fri Sep 07, 2012 12:03 pm

icmp isnt port 80 and therefore wont be proxied.
 
User avatar
bax
Member Candidate
Member Candidate
Posts: 268
Joined: Mon Dec 20, 2004 8:45 pm
Location: Croatia

Re: Proxy on 450G slowing down WAN

Fri Sep 07, 2012 6:50 pm

icmp isnt port 80 and therefore wont be proxied.
Yes I know that :D
I say that this "proxy issue" is only show in web when testing on speedtest.net ... i dont know why ... but im suspecting on speedtest.net script ... not on mikrotik proxy
 
Learner
just joined
Posts: 1
Joined: Tue Jan 19, 2016 7:49 am

Re: Proxy on 450G slowing down WAN

Tue Jan 19, 2016 7:55 am

is their any other way to redirect 8080 to 80 port that didn't make internet slow down ?
Please help...

I using built memory in router-board... Thank you.

Who is online

Users browsing this forum: Bing [Bot] and 58 guests