The block construction of Etherna allows for very easy content creation. Some things just cannot be made easier.

Membatasi download extensi tertentu pada mikrotik

Ada beberapa trik yang bisa membatasi download yang sering menghabiskan bandwidth. Bisa menggunakan Squid Proxy dengan fitur delay_pools, bisa juga dengan menggunakan mikrotik. Tetapi menurut saya yang paling ampuh menggunakan squid proxy.

Ini beberapa tahap setting firewall pada mikrotik untuk membatasi download file extensi tertentu:

LIMIT EXTENSION ——————–

ip firewall mangle
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.mp3
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.iso
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.exe
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.rar
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.avi
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.wmv
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.mpeg
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.mpg
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.dat
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.tar.gz
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.tar.bz2
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.zip
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.3gp
add chain=forward action=mark-connection new-connection-mark=limitfile passthrough=yes content=.mp4
add chain=forward action=mark-packet new-packet-mark=down passthrough=no connection-mark=limitfile

QUEUE ———————

queue tree
add name=”downlimit” parent=global-out packet-mark=down limit-at=512k queue=default-small priority=4 max-limit=512k burst-limit=0 burst-threshold=0 burst-time=0s