• Breaking News

    Wednesday 16 August 2017

    129. Mikrotik Allow Access From Specific Country



    You can contact me: plus.google.com/+PhallaCCMT; youtube.com/phallaccmt; facebook.com/Phalla.CCMT; twitter.com/PhallaCCMT and Phalla.CCMT@gmail.com

    Script:

    Download Address List file to Router:
    /tool fetch url=http://www.iwik.org/ipcountry/mikrotik/KH

    Import IP Address from File to Address-List:
    /import file-name=KH

    Filter Rule:
    /ip firewall filter add chain=forward in-interface=ether1_WAN src-address-list=!KH action=drop comment="Allow Only access From My Country" disabled=no


    Ref:
    http://www.ip2location.com/free/visitor-blocker
    http://www.iwik.org/ipcountry/
    http://www.nationsonline.org/oneworld/country_code_list.htm


    2 comments:

    1. tool fetch url=http://www.iwik.org/ipcountry/mikrotik/KH this order not working in 2020 the winbox terminal
      Thanks

      ReplyDelete
    2. / tool fetch url=http://www.iwik.org/ipcountry/mikrotik/KH
      this yes

      ReplyDelete

    Fashion

    Beauty

    Travel