Professional Documents
Culture Documents
Mencegah Netcut Dmikrotik
Mencegah Netcut Dmikrotik
/ system script
add name="stop_dc1" source="ip firewall rule forward enable \[/ip firewall rule forward
find action=drop\]
\n" \ policy=ftp,reboot,read,write,policy,test
for RouterOS v2.9 it looks like this:
/ system script
add name="stop_dc1" source="ip firewall filter enable \[/ip firewall filter find action=drop\]
\n" \
policy=ftp,reboot,read,write,policy,test
/ system script
add name="start_dc1" source="ip firewall rule forward disable \[/ip firewall rule forward find \
action=drop\]
\n" policy=ftp,reboot,read,write,policy,test
(I have to add that for these two scripts you have to have a firewall rule: )
/ ip firewall rule forward
add p2p=all-p2p action=drop comment="" disabled=no
This example will explain you “How to Block Web Sites” & “How to Stop Downloading”. I have use
Web-Proxy test Package.
First, Configure Proxy.
/ip proxy
enabled: yes
src-address: 0.0.0.0
port: 8080
parent-proxy: 0.0.0.0:0
cache-drive: system
cache-administrator: "ASHISH PATEL"
max-disk-cache-size: none
max-ram-cache-size: none
cache-only-on-disk: no
maximal-client-connections: 1000
maximal-server-connections: 1000
max-object-size: 512KiB
max-fresh-time: 3d
It will block website http://www.vansol27.com, We can always block the same for different networks
by giving src-address. It will block for particular source address.
We can also stop downloading files like.mp3, .exe, .dat, .avi,…etc.
This will block all the websites contain word “mail” in url.