mirror of https://gitlab.com/bashrc2/epicyon
Use i2p socks proxy
parent
dae869b264
commit
6610c1a165
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue