mirror of
https://github.com/pwlgrzs/Mikrotik-Blacklist.git
synced 2025-06-20 17:15:42 +02:00
Update to the list
This commit is contained in:
parent
2a76a28f88
commit
467aca2834
5 changed files with 8218 additions and 7675 deletions
14
.github/FUNDING.yml
vendored
14
.github/FUNDING.yml
vendored
|
@ -1,13 +1 @@
|
|||
# These are supported funding model platforms
|
||||
|
||||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||
patreon: # Replace with a single Patreon username
|
||||
open_collective: # Replace with a single Open Collective username
|
||||
ko_fi: pblvsk # Replace with a single Ko-fi username
|
||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||
liberapay: # Replace with a single Liberapay username
|
||||
issuehunt: # Replace with a single IssueHunt username
|
||||
otechie: # Replace with a single Otechie username
|
||||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
||||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
||||
ko_fi: pblvsk # Replace with a single Ko-fi username
|
23
README.md
23
README.md
|
@ -12,24 +12,29 @@ and reformat it to allow automatic import to MT routers. This is automated proce
|
|||
|
||||
# READ THIS BEFORE GOING ANY FORWARD!
|
||||
|
||||
As of April 2023 blocklist has almost 5MB, installing this on a device with low disk space, such as HeX PoE, may (and almost certainly will) cause issues such as inability to save other settings if disk is full. You have been warned.
|
||||
As of April 2023 blocklist has almost 5MB, installing this on a device with low disk space, such as HeX PoE, may (and almost certainly will) cause issues such as inability to save other settings if disk is full.
|
||||
If you have a device with 16MB disk space I suggest you use a light version of the list, it's also being updated but without heavy pfSense sources.
|
||||
|
||||
## How to run this on MT
|
||||
Run following to your MT device with not less that 7d schedule (sources are not updated more frequently anyway):
|
||||
|
||||
Download script:
|
||||
`/tool fetch url="https://raw.githubusercontent.com/pwlgrzs/Mikrotik-Blacklist/master/blacklist.rsc" mode=https`
|
||||
Install script:
|
||||
`/ip firewall address-list remove [find where list="pwlgrzs-blacklist"]; /import file-name=blacklist.rsc`
|
||||
1. Download install.rsc or install-light.rsc file and upload it to your device
|
||||
2. In the Mikrotik terminal run: `/import install.rsc` or `/import install-light.rsc`
|
||||
3. Enjoy!
|
||||
|
||||
You'll also need firewall rule:
|
||||
`/ip firewall filter add chain=input action=drop connection-state=new src-address-list=pwlgrzs-blacklist in-interface=IFNAME`
|
||||
*Note: Replace IFNAME in-interface name with one you have configured*
|
||||
|
||||
Check out more detailed instructions [here](https://pawelgrzes.pl/posts/Mikrotik-Blocking-unwanted-connections-with-external-IP-list/).
|
||||
|
||||
You can also import install.rsc file, it will do all of above for you.
|
||||
Upload to MT and run `/import file-name=install.rsc` in terminal. You still need to manually add firewall rule.
|
||||
I sometimes add updates and notes about the list [here](https://pawelgrzes.pl/posts/Mikrotik-Blocking-unwanted-connections-with-external-IP-list/).
|
||||
|
||||
## TODO
|
||||
- Add more sources.
|
||||
|
||||
## Changelog:
|
||||
- 15.04.2023
|
||||
- Added light version of the list (without heavy pfSense sources) for small disk devices
|
||||
- Added light version installer
|
||||
- Installers now remove themselves
|
||||
- 12.04.2023
|
||||
- added pfSense sources (abuse, badguys, block)
|
||||
|
|
15844
blacklist.rsc
15844
blacklist.rsc
File diff suppressed because it is too large
Load diff
7
install-light.rsc
Normal file
7
install-light.rsc
Normal file
|
@ -0,0 +1,7 @@
|
|||
/system script
|
||||
add name="pwlgrzs-blacklist-dl" source={/tool fetch url="https://raw.githubusercontent.com/pwlgrzs/Mikrotik-Blacklist/master/blacklist-light.rsc" mode=https}
|
||||
add name="pwlgrzs-blacklist-replace" source {/ip firewall address-list remove [find where list="pwlgrzs-blacklist"]; /import file-name=blacklist-light.rsc; /file remove blacklist-light.rsc}
|
||||
/system scheduler
|
||||
add interval=7d name="dl-mt-blacklist" start-date=Jan/01/2000 start-time=00:05:00 on-event=pwlgrzs-blacklist-dl
|
||||
add interval=7d name="ins-mt-blacklist" start-date=Jan/01/2000 start-time=00:10:00 on-event=pwlgrzs-blacklist-replace
|
||||
/file remove install-light.rsc
|
|
@ -1,6 +1,7 @@
|
|||
/system script
|
||||
add name="pwlgrzs-blacklist-dl" source={/tool fetch url="https://raw.githubusercontent.com/pwlgrzs/Mikrotik-Blacklist/master/blacklist.rsc" mode=https}
|
||||
add name="pwlgrzs-blacklist-replace" source {/ip firewall address-list remove [find where list="pwlgrzs-blacklist"]; /import file-name=blacklist.rsc}
|
||||
add name="pwlgrzs-blacklist-replace" source {/ip firewall address-list remove [find where list="pwlgrzs-blacklist"]; /import file-name=blacklist.rsc; /file remove blacklist.rsc}
|
||||
/system scheduler
|
||||
add interval=7d name="dl-mt-blacklist" start-date=Jan/01/2000 start-time=00:05:00 on-event=pwlgrzs-blacklist-dl
|
||||
add interval=7d name="ins-mt-blacklist" start-date=Jan/01/2000 start-time=00:10:00 on-event=pwlgrzs-blacklist-replace
|
||||
add interval=7d name="ins-mt-blacklist" start-date=Jan/01/2000 start-time=00:10:00 on-event=pwlgrzs-blacklist-replace
|
||||
/file remove install.rsc
|
Loading…
Add table
Add a link
Reference in a new issue