Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.i2p and .onion forwarding support? #86

Closed
whoizit opened this issue Jan 30, 2019 · 11 comments
Closed

.i2p and .onion forwarding support? #86

whoizit opened this issue Jan 30, 2019 · 11 comments

Comments

@whoizit
Copy link
Contributor

whoizit commented Jan 30, 2019

like this for privoxy:

forward .i2p localhost:4444
forward-socks4a .onion localhost:9050 .

https://wiki.archlinux.org/index.php/Privoxy#i2p

This is remote proxy settings, so I can get .i2p, .onion resources even I havn't i2p/tor services on my PC

@nadoo
Copy link
Owner

nadoo commented Mar 6, 2019

Hi @whoizit , haven't use that before, in your config, is that mean forward requests for .i2p domains to http://localhost:4444, and forward requests for .onion domains to socks://localhost:9050?

@whoizit
Copy link
Contributor Author

whoizit commented Mar 6, 2019

with this settings in privoxy I can opens .i2p and .onion sites over my http proxy, remotely. On VPS I run privoxy, default i2pd and almost default tor services, nothing more. It's works like a charm, but only HTTP-proxy, I want SOCKS5 or something new, this why I created this issue.
I think answer on yours question is yes.

@whoizit
Copy link
Contributor Author

whoizit commented Mar 6, 2019

you can try my HTTP proxy over yggdrasil network https://yggdrasil-network.github.io/services.html

@nadoo
Copy link
Owner

nadoo commented Mar 6, 2019

The latest commit f9a21f5 allows to add root domain rules like:

glider.conf

verbose=True
listen=:8443
rules-dir=rules.d

rules.d/i2p.rule

forward=http://127.0.0.1:4444
domain=i2p

rules.d/onion.rule

forward=socks5://127.0.0.1:9050
domain=onion

run glider with:

glider -config glider.conf

you can have a try with it. binary download: glider-0.7.0-linux.zip

@whoizit
Copy link
Contributor Author

whoizit commented Mar 6, 2019

seems like IT WORKS!!!
I test it for http and socks5

I getting this error flag provided but not defined: -checkduration, so I've just rename this option to checkinterval

and I getting some this strings in console output:

2019/03/06 17:13:26 [mixed] socks5 peek error: EOF                                       
2019/03/06 17:13:26 [mixed] socks5 peek error: EOF                                       
2019/03/06 17:13:26 [mixed] socks5 peek error: EOF                                       
2019/03/06 17:13:26 [mixed] socks5 peek error: EOF                                       
2019/03/06 17:13:27 [mixed] socks5 peek error: EOF

and this:
2019/03/06 17:27:46 [socks5] failed to get target address: EOF

@whoizit
Copy link
Contributor Author

whoizit commented Mar 6, 2019

some i2p sites infinitely loading. I don't know it's glider related or i2pd related issue

@whoizit
Copy link
Contributor Author

whoizit commented Mar 6, 2019

seems like infinite load i2p sites it's i2pd related, not glider, cause same on privoxy

@nadoo
Copy link
Owner

nadoo commented Mar 7, 2019

onion sites works?

@whoizit
Copy link
Contributor Author

whoizit commented Mar 7, 2019

i2p and onion sites works

@whoizit
Copy link
Contributor Author

whoizit commented Mar 16, 2019

works well for me, waiting for release

@nadoo
Copy link
Owner

nadoo commented Mar 20, 2019

New version v0.7.0 has been released.

@nadoo nadoo closed this as completed Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants