Community discussions

MikroTik App
 
gnando
just joined
Topic Author
Posts: 21
Joined: Tue May 02, 2006 12:22 am

web-proxy clean automaitc

Tue Jan 09, 2007 3:55 pm

hello all!!
I need to clean cahe of proxy of automatic form, I have the problem of
[y/N] since I can do so that it inserts yes automatic

pardon by my ingles is bad

gnando
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Tue Jan 09, 2007 5:36 pm

RouterOS has the following commnad,
'ip proxy clear-cache'
that clears the current information stored on cache.
What is your problem with cache ?
 
pro2
just joined
Posts: 16
Joined: Mon Apr 17, 2006 5:02 am

Sun Jan 14, 2007 4:22 pm

RouterOS has the following commnad,
'ip proxy clear-cache'
that clears the current information stored on cache.
What is your problem with cache ?
NAT PROXY
/ ip firewall nat add chain=dstnat src-address=10.0.0.0/16 dst-address=0.0.0.0/0 protocol=tcp dst-port=80 \
action=redirect to-ports=3126 comment="Proxy" disabled=no


Proxy-off
/ system script add name="Proxy-off" source="/ip firewall nat set \[/ip firewall nat find \
comment=\"Proxy\"\] disable=yes
\n/ip web-proxy set enabled=no" \
policy=ftp,reboot,read,write,policy,test,winbox,password

Proxy-limpacache
/ system script add name="Proxy-limpacache" source="/ip web-proxy clear-cache" \
policy=ftp,reboot,read,write,policy,test,winbox,password


Proxy-on
/ system script add name="Proxy-on" source="/ip web-proxy set enabled=yes
\n/ip firewall nat \
set \[/ip firewall nat find comment=\"Proxy\"\] disable=no
\n" \
policy=ftp,reboot,read,write,policy,test,winbox,password


scheduler proxy-off
/ system scheduler add name="control-proxy-off" on-event=Proxy-off start-date=nov/29/2006 start-time=02:30:00 interval=15d comment="" disabled=no

scheduler proxy-limpacache
/ system scheduler add name="control-proxy-limpacache" on-event=Proxy-limpacache start-date=nov/29/2006 start-time=02:31:00 interval=15d comment="" disabled=no

scheduler proxy-on
/ system scheduler add name="controle-proxy-on" on-event=Proxy-on start-date=nov/29/2006 start-time=02:40:00 interval=15d comment="" disabled=no


[/b]
 
gnando
just joined
Topic Author
Posts: 21
Joined: Tue May 02, 2006 12:22 am

thanks...

Wed Jan 17, 2007 4:27 pm

thanks I work myself!

gnando
 
gnando
just joined
Topic Author
Posts: 21
Joined: Tue May 02, 2006 12:22 am

web proxy not clean autmatic help

Fri Mar 16, 2007 1:45 pm

I have constructed scrpits but it does not clean the hard disk automatic.The memory if the cleaning

thanks

gnando