Use i2p socks proxy

main
Bob Mottram 2020-06-19 23:09:20 +01:00
parent dae869b264
commit 6610c1a165
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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'