Skip to content

Instantly share code, notes, and snippets.

View nonkronk's full-sized avatar
:octocat:
g.dev/nonkronk

Irvan Tristian nonkronk

:octocat:
g.dev/nonkronk
View GitHub Profile
@nonkronk
nonkronk / UpdateAddressList.rsc
Created April 13, 2023 05:38 — forked from ChrisG661/UpdateAddressList.rsc
MikroTik Address List Updater
## Generic IP address list input
## Based on a script written by Sam Norris, ChangeIP.com 2008
## Edited by ChrisG661, 2021
## Permissions: ftp, read, write, policy, test
# Check if file is not empty
:if ([/file get [/file find name=$filename] size] > 0) do={
# Remove existing addresses from the current address list
# Disabled as script will use same list for different sourcefiles
#/ip firewall address-list remove [/ip firewall address-list find list=$listname]
@nonkronk
nonkronk / ZoomHosts.rsc
Last active April 13, 2023 05:41 — forked from ChrisG661/ZoomHosts.rsc
MikroTik Zoom Hosts address list
## Made by ChrisG661, 2021
## github.com/ChrisG661
# Address list name
:local listname "zoom"
# Zoom IP range URLs
:local sourceUrl {"https://assets.zoom.us/docs/ipranges/Zoom.txt"; \
"https://assets.zoom.us/docs/ipranges/ZoomMeetings.txt"; \
"https://assets.zoom.us/docs/ipranges/ZoomCRC.txt"; \
"https://assets.zoom.us/docs/ipranges/ZoomPhone.txt"}