#Country ban with UFW#
Grab your different country ip addresses and save as Linux IPTables
http://www.ip2location.com/free/visitor-blocker
##Add country## Run the following command
#Country ban with UFW#
Grab your different country ip addresses and save as Linux IPTables
http://www.ip2location.com/free/visitor-blocker
##Add country## Run the following command
| #!/bin/bash | |
| # Author: Besmir Zanaj, 2024 | |
| # This is a very raw script to backup configs (no logs and no stats) from a technitium server | |
| # to another | |
| # | |
| # first create two tokens: one on the source server and another one on the destination one | |
| # fill out the vars below | |
| # create a cronjob with this script on the destinaton host | |
| # eg: |
| host | |
| 0-mail.com | |
| 001.igg.biz | |
| 027168.com | |
| 0815.ru | |
| 0815.ry | |
| 0815.su | |
| 0845.ru | |
| 0box.eu | |
| 0clickemail.com |
| 080mail.com | |
| 0u.ro | |
| 0v.ro | |
| 0w.ro | |
| 1000mail.com | |
| 100m.hl.cninfo.net | |
| 109.62.115.106 | |
| 10m.in | |
| 10mail.com | |
| 10minutemail.us |
| // mta-sts.js This worker is designed to be able to neatly handle MTA-STS policies for multiple domains. | |
| // Make a new worker with this script and add your domains to the stsPolicies dict like the example. | |
| // Add a DNS AAAA record for mta-sts.yourdomain.com pointing to 100:: and set to proxied, | |
| // then add a workers route for mta-sts.yourdomain.com/* pointing to this worker. | |
| // You'll still need to manually add the appropriate _mta-sts.yourdomain.com TXT record to enable the policy, | |
| // and the _smtp._tls.yourdomain.com TXT record for reporting. | |
| const stsPolicies = { |