Skip to content

Srobin2020S/block_tor_net_by_iptables

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Block Tor Exit Nodes by UFW IPTABLES

Search for all Tor exit nodes from the past 16 hours and by means of UFW add Deny Rules to Firewall IPTABLES

usage:

block_tor_iptables.sh enp0s31f6 80 443 22 21

block_tor_iptables.sh eth0 80 443 22 21

block_tor_iptables.sh null 80 443 22 21

In Crontab:

  • 1 -> crontab -e
  • 2 -> add

25 1 * * * sudo /path/to/file/block_tor_net_by_iptables/block_tor_iptables.sh eth0 80 443 21 22 >> /path/to/file/block_tor_net_by_iptables/output.log

####Requirements

  • root user
  • UFW enable
  • internet ;)

PR are welcome

About

bash script to block TOR network with UFW (cron updates in linux)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%