tamer2010
2011/04/15, 02:12 PM
اهم سكربتات المايكروتك
اهم اسكربت وهو منع التورنت بالمايكروتك
/ip firewall filter add chain=forward p2p=bit-torrent action=drop
سكربت تثبيت البينج
ip firewall nat
add action=netmap chain=dstnat comment="Best ping" disabled=no protocol=icmp
to-addresses=4.0.0.1
ملاحظة غير 4.0.0.1 الي اي بي كارت الان بتاعك
سكربت فصل التصفح عن الدونلود
/ip firewall mangle add chain=postrouting action=mark-packet new-packet-mark=proxy-hit passthrough=no \
tos=48 comment="Proxy Cache Hits Mark" disabled=no
سكربت اعداد الكاش
/ ip firewall nat
add chain=dstnat dst-port=80 protocol=tcp action=redirect to-ports=3128 comment="PROXY REDIRECTION" disabled=no
/ ip web-proxy
set enabled=yes src-address=0.0.0.0 port=3128 hostname="proxy" transparent-proxy=yes parent-proxy=0.0.0.0:0 cache-administrator="webmaster" max-object-size=4096KiB cache-drive=system max-cache-size=380000KiB max-ram-cache-size=64000KiB
/ ip web-proxy access
add dst-port=23-25 action=deny comment="block telnet & spam e-mail relaying" disabled=no
/ip firewall filter
add chain=input dst-port=3128 protocol=tcp in-interface=wan action=drop comment="EXTERNAL PROXY BLOCK" disabled=
سكربت لعمل باك اب نسخة احطياطية يوميا
/ system script
add name="abackup" source="/sys bac sa name=\(\[/sys id g na\] . \"_\" . \
\[ick \[/sys cl g da\] 7 11\] . \[ick \[/sys cl g da\] 0 3\] . \[ick \
\[/sys cl g da\] 4 6\]\)\n
\n/ export file=\(\[/sys id g na\] . \"_\" . \
\[ick \[/sys cl g da\] 7 11\] . \[ick \[/sys cl g da\] 0 3\] . \[ick \
\[/sys cl g da\] 4 6\]\)" \
policy=ftp,reboot,read,write,policy,test,winbox,pa ssword
/ system scheduler
add name="palmcse_abackup" on-event="abackup" interval=24:00:00 start-time=23:59:30 comment="Auto backup script"
سكربت حجب جهاز المستخدم من الدخول الي اجهازة المستخدمين الاخرين
/ ip firewall filter
add chain=forward src-address=192.168.0.0/24 dst-address=192.168.0.0/24 action=drop comment="Block client to client traffic in all ports" disabled=no
قم نسخ الاسكربتات وفتح النيوترمنال وعمل لصق
اهم اسكربت وهو منع التورنت بالمايكروتك
/ip firewall filter add chain=forward p2p=bit-torrent action=drop
سكربت تثبيت البينج
ip firewall nat
add action=netmap chain=dstnat comment="Best ping" disabled=no protocol=icmp
to-addresses=4.0.0.1
ملاحظة غير 4.0.0.1 الي اي بي كارت الان بتاعك
سكربت فصل التصفح عن الدونلود
/ip firewall mangle add chain=postrouting action=mark-packet new-packet-mark=proxy-hit passthrough=no \
tos=48 comment="Proxy Cache Hits Mark" disabled=no
سكربت اعداد الكاش
/ ip firewall nat
add chain=dstnat dst-port=80 protocol=tcp action=redirect to-ports=3128 comment="PROXY REDIRECTION" disabled=no
/ ip web-proxy
set enabled=yes src-address=0.0.0.0 port=3128 hostname="proxy" transparent-proxy=yes parent-proxy=0.0.0.0:0 cache-administrator="webmaster" max-object-size=4096KiB cache-drive=system max-cache-size=380000KiB max-ram-cache-size=64000KiB
/ ip web-proxy access
add dst-port=23-25 action=deny comment="block telnet & spam e-mail relaying" disabled=no
/ip firewall filter
add chain=input dst-port=3128 protocol=tcp in-interface=wan action=drop comment="EXTERNAL PROXY BLOCK" disabled=
سكربت لعمل باك اب نسخة احطياطية يوميا
/ system script
add name="abackup" source="/sys bac sa name=\(\[/sys id g na\] . \"_\" . \
\[ick \[/sys cl g da\] 7 11\] . \[ick \[/sys cl g da\] 0 3\] . \[ick \
\[/sys cl g da\] 4 6\]\)\n
\n/ export file=\(\[/sys id g na\] . \"_\" . \
\[ick \[/sys cl g da\] 7 11\] . \[ick \[/sys cl g da\] 0 3\] . \[ick \
\[/sys cl g da\] 4 6\]\)" \
policy=ftp,reboot,read,write,policy,test,winbox,pa ssword
/ system scheduler
add name="palmcse_abackup" on-event="abackup" interval=24:00:00 start-time=23:59:30 comment="Auto backup script"
سكربت حجب جهاز المستخدم من الدخول الي اجهازة المستخدمين الاخرين
/ ip firewall filter
add chain=forward src-address=192.168.0.0/24 dst-address=192.168.0.0/24 action=drop comment="Block client to client traffic in all ports" disabled=no
قم نسخ الاسكربتات وفتح النيوترمنال وعمل لصق