From 6610c1a165f08e9dc29dc083fc86a469fb3e14ec Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 19 Jun 2020 23:09:20 +0100 Subject: [PATCH] Use i2p socks proxy --- deploy/i2p | 2 +- session.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/i2p b/deploy/i2p index d83a8501..80b48b80 100755 --- a/deploy/i2p +++ b/deploy/i2p @@ -397,5 +397,5 @@ systemctl restart nginx echo -n "$I2P_DOMAIN" | qrencode -t ANSI echo "Your Epicyon i2p instance is now installed." echo 'In Firefox see preferences/network settings, manual proxy and uncheck DNS over HTTPS. In about:config and find the property media.peerConnection.ice.proxy_only and set it to true.' -echo "In a browser proxied through 127.0.0.1 port 4444 navigate to http://${I2P_DOMAIN} and register an account" +echo "In a browser http proxied through 127.0.0.1 port 4444 and socks5 proxied through 127.0.0.1 port 4447 navigate to http://${I2P_DOMAIN} and register an account" exit 0 diff --git a/session.py b/session.py index ec227c0c..31de91ac 100644 --- a/session.py +++ b/session.py @@ -29,8 +29,8 @@ def createSession(proxyType: str): session.proxies['https'] = 'socks5h://localhost:9050' elif proxyType == 'i2p': session.proxies = {} - session.proxies['http'] = 'socks5h://localhost:4444' - session.proxies['https'] = 'socks5h://localhost:4444' + session.proxies['http'] = 'socks5h://localhost:4447' + session.proxies['https'] = 'socks5h://localhost:4447' elif proxyType == 'gnunet': session.proxies = {} session.proxies['http'] = 'socks5h://localhost:7777'