Community discussions

MikroTik App
 
engineertote
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Tue May 19, 2009 1:36 pm

Vedios Cached in my web proxy ONLY youtube not !!??

Mon Oct 26, 2009 11:10 am

Hi all

I have set and configured web proxy in my Mikrotik and its doing great ,, browsing , downloads and Videos are saved in the server and its all cached ..

I have only one problem ,, vedios in youtube and metacafe not caching .. i'v tried another videos in another web sites and all working very well .. only this youtibe and metacafe not ..

Can any one help in this

in the access list i have tried to add youtube and also tried without add youtube to allow in access list and both cases was same results .

here is my web proxy setting :

[admin@MikroTik] > ip web-proxy
[admin@MikroTik] ip web-proxy> print
enabled: yes
src-address: 0.0.0.0
port: 3128
hostname: "proxy"
transparent-proxy: yes
parent-proxy: 0.0.0.0:0
cache-administrator: "ahmed@gccitcom.com"
max-object-size: 400000KiB
cache-drive: system
max-cache-size: unlimited
max-ram-cache-size: unlimited
status: running
reserved-for-cache: 29707264KiB
reserved-for-ram-cache: 2048KiB


[admin@MikroTik] ip web-proxy cache> print
Flags: X - disabled, I - invalid
0 ;;; Allow sado alahe
action=allow

1 url=":cgi-bin \\?" action=deny

2 url="\\.flv$" action=allow

3 url="\\.jpg$" action=allow

4 url="\\.gif$" action=allow

5 url="\\.exe$" action=allow

6 url="\\.zip$" action=allow

7 url="\\.jpg$" action=allow

8 url="\\.mpeg$" action=allow

9 url="\\.mp3$" action=allow

10 url="\\.avi$" action=allow

11 url="\\.pdf$" action=allow

12 url="\\.rar$" action=allow

13 url="\\.mov$" action=allow

14 url="\\.mpg$" action=allow
-- [Q quit|D dump|down]



[admin@MikroTik] ip web-proxy access> print
Flags: X - disabled, I - invalid
0 url="proxy" action=allow

1 src-address=10.5.50.253/32 action=allow

2 src-address=10.5.50.246/32 action=allow

3 src-address=10.5.50.252/32 action=allow

4 src-address=10.5.50.3/32 action=allow

5 url="217.17.233.49" action=allow

6 url="gov.tr" action=allow

7 ;;; block telnet & spam e-mail relaying
dst-port=23-25 action=deny

8 action=deny


Firewall setting :

[admin@MikroTik] ip firewall filter> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=forward src-address=10.5.50.3 protocol=tcp dst-port=1863 action=accept

1 chain=forward src-address=10.5.50.253 protocol=tcp dst-port=1863 action=accept

2 X chain=forward src-address=10.5.50.0/24 dst-address=0.0.0.0/0 protocol=tcp p2p=all-p2p action=accept

3 chain=forward src-address=10.5.50.0/24 protocol=tcp dst-port=1863 action=reject reject-with=icmp-network-unreachable
[admin@MikroTik] ip firewall filter>


[admin@MikroTik] ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=dstnat in-interface=ether2 protocol=tcp dst-port=80 action=redirect to-ports=3128

1 ;;; masquerade hotspot network
chain=srcnat action=masquerade

2 chain=dstnat dst-address=192.168.0.55 protocol=tcp dst-port=2007 action=dst-nat to-addresses=10.5.50.3 to-ports=4899
Last edited by engineertote on Mon Oct 26, 2009 11:14 am, edited 1 time in total.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Vedios Cached in my web proxy ONLY youtube not !!??

Mon Oct 26, 2009 11:11 am

you can't cache youtube.
 
engineertote
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Tue May 19, 2009 1:36 pm

Re: Vedios Cached in my web proxy ONLY youtube not !!??

Mon Oct 26, 2009 11:15 am

Thanks for quiq replay ,, but why other vedios cached very well ? is it only youtube and metacafe can't cached ? why ?


Thanks
you can't cache youtube.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Vedios Cached in my web proxy ONLY youtube not !!??

Mon Oct 26, 2009 11:24 am

some of these video servers are designed differently
 
engineertote
Member Candidate
Member Candidate
Topic Author
Posts: 177
Joined: Tue May 19, 2009 1:36 pm

Re: Vedios Cached in my web proxy ONLY youtube not !!??

Mon Oct 26, 2009 11:35 am

is there any other way to cache youtube or metacafe ?
some of these video servers are designed differently
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Vedios Cached in my web proxy ONLY youtube not !!??

Mon Oct 26, 2009 11:37 am

you can't cache youtube.
see above
 
princeyusab
just joined
Posts: 2
Joined: Fri Sep 05, 2008 3:20 pm

Re: Vedios Cached in my web proxy ONLY youtube not !!??

Mon Oct 26, 2009 1:44 pm

Hello, All
Pls can any help me out on this:
I have a system with mikrotik os 2.97 configure.
the system has 2network cards one for LAN and one for WAN
the LAN contain the following ip 192.168.0.1/24 and for the WAN is 81.199.232.178/29
i have set up hotspot, DHCP Server, i have a surc nat with surc add 192.168.0.0/24 with action masquerade for the LAN interface.

my question here is: How i can configure web-proxy for cache?
I want it to be on same hard disc on the OS.

And i want it to be in a way that no any additional configuration will be made for client to use the proxy?
Pls help me out
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Vedios Cached in my web proxy ONLY youtube not !!??

Mon Oct 26, 2009 1:49 pm

why don't you upgrade to v3.30 or v4.1 first ?

Who is online

Users browsing this forum: yhfung and 32 guests