Community discussions

MikroTik App
 
TheProgrammer
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Wed Sep 22, 2010 1:47 am

WEP-PROXY SETTINGS [IMPORTANT]

Sun May 29, 2011 9:20 pm

i tired to edit settings of my web-proxy and not work...

i configer my web-proxy to cache sites and files to speed up my browsing of my network but it's slow it

when i blocked or redirect any url it's work fine
when i see cache contents i found all my files
but when i try to download any file from cache it's so so slow

what is the right settings to do this with PPPoE


thank you
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: WEP-PROXY SETTINGS [IMPORTANT]

Mon May 30, 2011 3:49 pm

what did you do to make cached files download faster?

do you limit your bandwidth by PPPoE Profile settings?
 
TheProgrammer
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Wed Sep 22, 2010 1:47 am

Re: WEP-PROXY SETTINGS [IMPORTANT]

Mon May 30, 2011 10:27 pm

if i limit or not my ADSL Line speed is 4 Mbit/s
my download speed 500 KB/s
when i download files from cache it's download by line speed 500 KB/s

when i download it again and again it's dowload by max 400 to 500 KB/s

and when i limit it by PPPoE to 30 KB/s
it's donload any files in cache in 30 KB/s

i want if i limit account or not download any files from chache with line speed 100 Mbit/s

and i don't why this is not working
 
WirelessRudy
Forum Guru
Forum Guru
Posts: 3119
Joined: Tue Aug 08, 2006 5:54 pm
Location: Spain

Re: WEP-PROXY SETTINGS [IMPORTANT]

Tue May 31, 2011 12:40 am

I think what Chupaka means to say is: If you limit your client's download (with PPoE interface) ALL traffic has to obey. The interface doesn't know if a file comes from the internet or from proxy....

I don't have so much experiance with web-proxy and PPoE but I presume that if you want content from the proxy to download with the full network speed to the customer while his internet access is limited you have to put the proxy inside the LAN network. So client downloads from router with full speed and only if proxy can't fulfill demand and needs new (updated) file from internet THAT connection is made to the internet, where you want that that client is limited.
I don't think that is possible within one router. The PPoe interface is last what download traffic ´sees´ from router, and it is limited there.....

Chupaka, correct me if I'm wrong. I jumped in to see if my line of thinking is right in this.....
 
User avatar
routik
Member Candidate
Member Candidate
Posts: 118
Joined: Wed Oct 14, 2009 5:40 pm
Location: Abuja-Nigeria
Contact:

Re: WEP-PROXY SETTINGS [IMPORTANT]

Tue May 31, 2011 1:31 am

i need advice.
i am running router OS on pc, processor speed is 2.8, memory=512, hard disk=40gig , i use hotspot running on the lan with maximum of 40 clients running at once. i want to use transparent web proxy and dns cache. (please advice).
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: WEP-PROXY SETTINGS [IMPORTANT]

Tue May 31, 2011 11:16 am

TheProgrammer, you need to pick cached files out, by DSCP field value (see Cache Hit DSCP in WebProxy settings) and send them to another queue (for example, mark-packet for appropriate DSCP, and then create another simple queue with packet-mark=your_hit_mark and high limits, then place it on top of all simple queues)

collins465, doesn't Hotspot use WebProxy by default? there's a 'Transparent Proxy' checkbox in Hotspot User Profile
 
User avatar
routik
Member Candidate
Member Candidate
Posts: 118
Joined: Wed Oct 14, 2009 5:40 pm
Location: Abuja-Nigeria
Contact:

Re: WEP-PROXY SETTINGS [IMPORTANT]

Tue May 31, 2011 1:18 pm

doesn't Hotspot use WebProxy by default? there's a 'Transparent Proxy' checkbox in Hotspot User Profile
That means i don't need to go and enable /ip webproxy ?
 
User avatar
routik
Member Candidate
Member Candidate
Posts: 118
Joined: Wed Oct 14, 2009 5:40 pm
Location: Abuja-Nigeria
Contact:

Re: WEP-PROXY SETTINGS [IMPORTANT]

Wed Jun 01, 2011 10:13 pm

That means i don't need to go and enable /ip webproxy ?
yes, i figured it out my self.
 
TheProgrammer
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 54
Joined: Wed Sep 22, 2010 1:47 am

Re: WEP-PROXY SETTINGS [IMPORTANT]

Thu Jun 02, 2011 5:17 pm

TheProgrammer, you need to pick cached files out, by DSCP field value (see Cache Hit DSCP in WebProxy settings) and send them to another queue (for example, mark-packet for appropriate DSCP, and then create another simple queue with packet-mark=your_hit_mark and high limits, then place it on top of all simple queues)
ok can you give me terminal code for all settings or be more easy man i'm not expert
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: WEP-PROXY SETTINGS [IMPORTANT]

Fri Jun 03, 2011 3:54 pm

TheProgrammer, you need to pick cached files out, by DSCP field value (see Cache Hit DSCP in WebProxy settings) and send them to another queue (for example, mark-packet for appropriate DSCP, and then create another simple queue with packet-mark=your_hit_mark and high limits, then place it on top of all simple queues)
ok can you give me terminal code for all settings or be more easy man i'm not expert
something like
/ip fi man add chain=output dscp=4 action=mark-packet new-packet-mark=HIT
/queue simple add name=HITS packet-mark=HIT max-limit=10M/10M place-before=0
 
nazzeem
just joined
Posts: 11
Joined: Tue May 10, 2011 8:07 am

Re: WEP-PROXY SETTINGS [IMPORTANT]

Thu Jun 14, 2012 8:49 am

i tired to edit settings of my web-proxy and not work...

i configer my web-proxy to cache sites and files to speed up my browsing of my network but it's slow it

when i blocked or redirect any url it's work fine
when i see cache contents i found all my files
but when i try to download any file from cache it's so so slow

what is the right settings to do this with PPPoE


thank you
Just wanted to find out if the solution posted by chupaka worked as I am planning to have the same issue
something like
/ip fi man add chain=output dscp=4 action=mark-packet new-packet-mark=HIT
/queue simple add name=HITS packet-mark=HIT max-limit=10M/10M place-before=0
 
Devil
Member Candidate
Member Candidate
Posts: 170
Joined: Thu Jul 21, 2011 9:13 am

Re: WEP-PROXY SETTINGS [IMPORTANT]

Thu Jun 14, 2012 9:52 am

This is the idea: http://wiki.mikrotik.com/wiki/Queue_wit ... _Web-Proxy
When you get how this works, you could apply it to any situation.

Who is online

Users browsing this forum: akakua, mantouboji, sas2k and 34 guests