mirror of
https://github.com/iv-org/smart-ipv6-rotator.git
synced 2024-11-27 00:00:30 +00:00
IPv6 rotator for specific subnets - unblock restrictions on IPv6 enabled websites (Google by default but customizable for others)
.gitignore | ||
config.py.example | ||
README.md | ||
smart-ipv6-rotator.py |
Requirements
- IPv6 on your server
- Invidious works in IPv6
- Install these two python packages:
- pyroute2
- requests
How to setup (very simple tutorial for the moment)
- Git clone the repository somewhere
- Copy the file
config.py.example
toconfig.py
. - Change the
ipv6_subnet
to your IPv6 subnet. If you do not know it, you can use a tool like http://www.gestioip.net/cgi-bin/subnet_calculator.cgi - Run once the script using
sudo python smart-ipv6-rotator.py run
- If everything went well then configure a cron for periodically rotate your IPv6 range. Once per day is enough for YouTube servers.