/ip proxy
set always-from-cache=no cache-administrator="webmaster" cache-hit-dscp=4 \
cache-on-disk=no enabled=yes max-cache-size=none max-client-connections=\
600 max-fresh-time=3d max-server-connections=600 parent-proxy=0.0.0.0 \
parent-proxy-port=0 port=3128 serialize-connections=no src-address=\
0.0.0.0
===========================================================================
/ip proxy access
add action=deny comment=proxy disabled=no src-address=192.168.20.0/24
===========================================================================
/ip firewall nat
add action=redirect chain=dstnat comment=Redirect disabled=no in-interface=\
local port=3128 protocol=\
tcp src-address-list=!allow to-ports=3128
===========================================================================
/system script
add name=allow policy=\
ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source=\
"/ip proxy access set [find comment=\"proxy\"] action=allow"
add name=deny policy=\
ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source=\
"/ip proxy access set [find comment=\"proxy\"] action=deny"
===========================================================================
/system scheduler
add comment="" disabled=no interval=1w name=allow on-event=allow policy=\
reboot,read,write,policy,test,password,sniff,sensitive start-date=\
may/02/2012 start-time=12:00:00
add comment="" disabled=no interval=1w name=deny on-event=deny policy=\
reboot,read,write,policy,test,password,sniff,sensitive start-date=\
may/02/2012 start-time=13:00:00
1 komentar:
makasih gan atas infonya, dan salam kenal dari ku,
Posting Komentar