22
loading...
This website collects cookies to deliver better user experience
Linux/Unix (For Windows, some differences will be characteristic (see the corresponding sections in the installation and configuration items))
TOR Client - Tor is free and open-source software for enabling anonymous communication. It directs Internet traffic through a free, worldwide, volunteer overlay network, consisting of more than seven thousand relays, for concealing a user's location and usage from anyone conducting network surveillance or traffic analysis. Using Tor makes it more difficult to trace the Internet activity to the user. This includes "visits to Web sites, online posts, instant messages, and other communication forms". Tor's intended use is to protect the personal privacy of its users, as well as their freedom and ability to conduct confidential communication by keeping their Internet activities unmonitored.
Privoxy - is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk.Can be used both for single device protection (by installing it on device you want to protect) and newtork protection (by configuring network devices to use privoxy server as proxy).
sudo apt update
sudo apt install tor
sudo /etc/init.d/tor restart
tor --hash-password <enter your password here>
./etc/tor/torrc
SOCKSPort 9050
HashedControlPassword 'your hashed passsword obtained earlier here'
CookieAuthentication 1
sudo /etc/init.d/tor restart
MaxCircuitDirtiness 'int'
sudo apt install privoxy
/etc/privoxy/config
forward-socks5t / 127.0.0.1:9050 .
sudo /etc/init.d/privoxy restart
import requests
def check_ip():
ip = requests.get('https://httpbin.org/ip')
return ip.text
if __name__ == '__main__':
result = check_ip()
print(result)