Friday, January 26, 2018

139. Mikrotik How to Block Mobile Phone From Accessing the Internet


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

Script:

#DHCP-Server Name
:local DHCPServer "Guest";

#PhallaCCMT.blogspot.com
:foreach i in=[/ip dhcp-server lease find dynamic=yes active-server=$DHCPServer] do={
:local DhcpDynMAC [/ip dhcp-server lease get $i mac-address];
:local DhcpDynCLIENTID [/ip dhcp-server lease get $i active-client-id];
:local DhcpDynHOST [/ip dhcp-server lease get $i host-name];
:local phoneNAME [:pick $DhcpDynHOST 0 4];

#YouCanAddMorePhone
:if ( ($phoneNAME="BLUS") || ($phoneNAME="iPad") || ($phoneNAME="andr") || ($phoneNAME="Andr") || ($phoneNAME="Wind") || ($phoneNAME="iPho") || ($phoneNAME="BLAC") ) do={
/ip dhcp-server lease add block-access=yes mac-address="$DhcpDynMAC" use-src-mac=yes comment="$DhcpDynHOST" server="$DHCPServer" client-id="$DhcpDynCLIENTID";
}
}
/ip dhcp-server lease remove [find host-name~"BLUS*"]
/ip dhcp-server lease remove [find host-name~"android*"]
/ip dhcp-server lease remove [find host-name~"Android*"]
/ip dhcp-server lease remove [find host-name~"Windows*"]
/ip dhcp-server lease remove [find host-name~"iPad*"]
/ip dhcp-server lease remove [find host-name~"iPhone*"]
/ip dhcp-server lease remove [find host-name~"BLACKBERRY*"]

#

20 comments:

  1. Very usefull your script!! Is it possible to place an exception on the script, for i.e: iPhoneManager to be able to access internet? Thank you!

    ReplyDelete
  2. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. Blockchain PR

    ReplyDelete
  3. i made some arrangement for don't remove the statics one, so i can release some mobiles


    :foreach j in=[/ip dhcp-server lease find dynamic=yes active-server=$DHCPServer] do={
    :local DhcpDynHOST [/ip dhcp-server lease get $j host-name];
    :local phoneNAME [:pick $DhcpDynHOST 0 4];
    :if ( ($phoneNAME="BLUS") || ($phoneNAME="iPad") || ($phoneNAME="andr") || ($phoneNAME="Andr") || ($phoneNAME="Wind") || ($phoneNAME="iPho") || ($phoneNAME="BLAC") || ($phoneNAME="Gala") ) do={
    /ip dhcp-server lease remove $j
    }
    }

    ReplyDelete
  4. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. Mobiles under 10000

    ReplyDelete
  5. What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. www.cbreviewsguru.com

    ReplyDelete
  6. Please let me know if you’re looking for a article writer for your site. You have some really great posts and I feel I would be a good asset. If you ever want to take some of the load off, I’d absolutely love to write some material for your blog in exchange for a link back to mine. Please send me an email if interested. Thank you! video bokep terbaru

    ReplyDelete
  7. Accordingly, the expansion in efficiency and potential procedure re-designing which can be accomplished will positively affect consumer loyalty levels. Android Development Trends 2019

    ReplyDelete
  8. I saw how my friend started earning excellent the casino so I decided to try to play online casino

    ReplyDelete
  9. I saw how my friend started earning excellent the casino so I decided to try to play online casino

    ReplyDelete
  10. Truth be told, correspondence over a remote system is a great deal like two-way radio correspondence. internetprivatsphare.de

    ReplyDelete
  11. Great article Lot's of information to Read...Great Man Keep Posting and update to People..Thanks https://impactresearch.org

    ReplyDelete
  12. How i can limit download on Mobile devices ?

    ReplyDelete
  13. Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. reseller hosting en méxico

    ReplyDelete
  14. Thanks, that was a really cool read!
    먹튀

    ReplyDelete
  15. The script isnt working on my MikroTik... It doesn't run as per schedule and also if i run it manually once the phone is leaves the wifi and connects again it is allowed... I want to add all phones to block list now rather than just blocking them for that session...

    ReplyDelete
  16. Excellent to be visiting your blog again, it has been months for me. Rightly, this article that I've been served for therefore long. I want this article to finish my assignment within the faculty, and it has the same topic together with your article. Thanks for the ton of valuable help, nice share. Voyance par telephone

    ReplyDelete
  17. One short and lovely answer is – it relies on your objectives. For an intuitive game or an application, which requires one of a kind inbuilt highlights, mobile apps are the best decision.Mobile App Development Company

    ReplyDelete
  18. if i have two dhcp server
    how to get remove for 1 dhcpserver

    ReplyDelete
  19. 139. Mikrotik How To Block Mobile Phone From Accessing The Internet - Phalla Ccmt >>>>> Download Now

    >>>>> Download Full

    139. Mikrotik How To Block Mobile Phone From Accessing The Internet - Phalla Ccmt >>>>> Download LINK

    >>>>> Download Now

    139. Mikrotik How To Block Mobile Phone From Accessing The Internet - Phalla Ccmt >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete
  20. The guide's clarity and step-by-step instructions empower administrators to manage network traffic effectively, demonstrating the flexibility and customization capabilities of MikroTik routers. https://www.mobilezmarket.com/

    ReplyDelete