Page 1 of 1
Proxy on 450G slowing down WAN
Posted: Wed Mar 02, 2011 12:12 am
by genius312
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
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.
Re: Proxy on 450G slowing down WAN
Posted: Mon Mar 07, 2011 5:48 pm
by genius312
No help ?
Re: Proxy on 450G slowing down WAN
Posted: Mon Mar 07, 2011 5:51 pm
by tiggda
Are you using only RAM for cache or perhaps microSD card?
Edit:
Sorry, missed the "even without caching" part.
Re: Proxy on 450G slowing down WAN
Posted: Mon Mar 07, 2011 6:43 pm
by genius312
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 ?
Re: Proxy on 450G slowing down WAN
Posted: Mon Mar 07, 2011 6:52 pm
by genius312
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.
Re: Proxy on 450G slowing down WAN
Posted: Mon Mar 07, 2011 10:52 pm
by genius312
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
Re: Proxy on 450G slowing down WAN
Posted: Tue Mar 08, 2011 1:20 am
by makkan
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.
Re: Proxy on 450G slowing down WAN
Posted: Wed Mar 16, 2011 4:14 am
by CobblinGoblin
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.
Re: Proxy on 450G slowing down WAN
Posted: Thu Mar 17, 2011 3:06 am
by CobblinGoblin
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.
Re: Proxy on 450G slowing down WAN
Posted: Sat Mar 19, 2011 2:02 am
by makkan
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.
Re: Proxy on 450G slowing down WAN
Posted: Tue Mar 22, 2011 11:51 pm
by wesambhaya
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
Re: Proxy on 450G slowing down WAN
Posted: Tue Jul 26, 2011 9:51 pm
by CobblinGoblin
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.
Re: Proxy on 450G slowing down WAN
Posted: Wed Aug 08, 2012 8:02 am
by rnbguy
hi did you manage to fix this?
Re: Proxy on 450G slowing down WAN
Posted: Sat Aug 11, 2012 6:47 am
by SeaCow
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 ?
Re: Proxy on 450G slowing down WAN
Posted: Sat Aug 11, 2012 7:53 am
by rnbguy
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.
Re: Proxy on 450G slowing down WAN
Posted: Thu Aug 16, 2012 5:11 am
by Joker757
I'm having the same issue. Any aknowledgement of an issue from support? I'm running a 450G.
Re: Proxy on 450G slowing down WAN
Posted: Thu Sep 06, 2012 10:37 pm
by bax
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 ...
Re: Proxy on 450G slowing down WAN
Posted: Fri Sep 07, 2012 12:03 pm
by rnbguy
icmp isnt port 80 and therefore wont be proxied.
Re: Proxy on 450G slowing down WAN
Posted: Fri Sep 07, 2012 6:50 pm
by bax
icmp isnt port 80 and therefore wont be proxied.
Yes I know that
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
Re: Proxy on 450G slowing down WAN
Posted: Tue Jan 19, 2016 7:55 am
by Learner
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.