วันอังคารที่ 26 ธันวาคม พ.ศ. 2560

Allow IP TH Only MIKROTIK

https://www.ip2location.com/free/visitor-blocker

เลือก thailand
Ex
/ip firewall address-list add list=TH_list address=1.0.128.0/17
...
....
/ip firewall address-list add list=TH_list address=200.0.128.0/17
/ip firewall filter
add action=drop chain=input dst-port=53 in-interface=ether12 protocol=udp
add action=drop chain=input comment="Allow TH_list" in-interface=ether12 \
    protocol=udp src-address-list=!TH_list
add action=drop chain=input dst-port=53 in-interface=ether12 protocol=tcp

ไม่มีความคิดเห็น:

แสดงความคิดเห็น