Skip to content

Redirects TOR users browsing your site over clearweb to your onion address

Notifications You must be signed in to change notification settings

badonions/tor-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tor-redirect

Redirects TOR users browsing your site over clearweb to your onion address

Idea by chloe

Installation instructions

Add

include_once "tor-redirect.php";

to the top of all your files which should do this check.

Make sure to actually add it to the top of the file, since you cannot change location header if anything on the page has been sent to the user.

Automatically update exit node list

Add getlist.sh to crontab to schedule fetching of exit-node ips

crontab -e

Add to file to fetch exit-node ips 00.00 every day

00 00 * * * /path/to/getlist.sh

About

Redirects TOR users browsing your site over clearweb to your onion address

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published