PurpleI2P / i2pd

🛡 I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website
BSD 3-Clause "New" or "Revised" License
3.28k stars 424 forks source link

[Question] How to enable outproxy on i2pd ? #1505

Closed Nokia808 closed 4 years ago

Nokia808 commented 4 years ago

Hi. I though that outproxy not supported on i2pd. But, recently, I saw this: https://github.com/PurpleI2P/i2pd/pull/1231

If I'm not wrong - please correct to me - this mean that outproxy usage is supported on i2pd ? If this is the case, then can kindly explain how to do this so that user can use i2pd to brows clearnet sites ?

r4sas commented 4 years ago

https://i2pd.readthedocs.io/en/latest/user-guide/configuration/#http-proxy

Nokia808 commented 4 years ago

@r4sas Thank you for link. But dear why no GUI for this ? I searched GUI of application but did not found such option ! I will post a feature request regarding this.

Please why do not pay more attention for GUI ? There are many things needed to be included in GUI for more convenient usage .....

Thank you for your very hard efforts ......

r4sas commented 4 years ago

i2pd is daemon application, that means foreground work without any GUI by design. @nonlinear-chaos-order-etc-etal coding Qt GUI, but only when he has time.

Nokia808 commented 4 years ago

@r4sas Dear to enable outproxy: what I have to set? Set "httpproxy.outproxy" or set "socksproxy.outproxyport" in i2pd.conf file ?

Also, what are the available outproxy URL addresses ? & what are the available outproxyport ?

Can you kindly give examples ? This is difficult for user !

r4sas commented 4 years ago

If you using default proxies (httpproxy or socksproxy) you must add corresponding value in outproxy option:

[httpproxy]
...
## Address of a proxy server inside I2P, which is used to visit regular Internet
outproxy = http://false.i2p

[socksproxy]
...
## Uncomment and set to 'true' to enable using of SOCKS outproxy
outproxy.enabled = true
## Address and port of outproxy
outproxy = 127.0.0.1
outproxyport = 9050

For httpproxy you must set address to your localnet/localhost or external (in I2P, as in example - false.i2p) HTTP proxy server. Publicly available only false.i2p. For other search at zzz.i2p and internal i2p forum (I dont remember it's address), or set-up your own proxy somewhere and make tunel to it.

In socksproxy you must set set address of SOCKS proxy in your localnet/localhost and port. As I remember outproxy option also support i2p addresses without scheme (just abc.b32.i2p). Here no publically available proxies of that type.

Nokia808 commented 4 years ago

Before closing this issue I have just the following questions (look how it is difficult to work by edit config file):

1) can you give me, kindly, the full path of config file in flatpak that should apply the above instructions to it ? 2) yes, I would like to use default proxies, so is it needed to apply both httpproxy & socksproxy ? 3) when enable outproxy does this mean that we can not utilize it further to run, say Retroshare (or Jami "in the future when support i2p") as COMPLETELY HIDDEN WITHIN i2p network ?? I mean by that: does enabling outproxy will make any i2p user activity pass to clear ??

nonlin-lin-chaos-order-etc-etal commented 4 years ago

In openssl branch, http outproxy and socks outproxy now added to GUI. All should be available at the next flatpak release.

nonlin-lin-chaos-order-etc-etal commented 4 years ago

@Nokia808 Coding questions are resolved. Please ask tech support questions at irc.ilita.i2p #ru . @r4sas @orignal please close this issue.

nonlin-lin-chaos-order-etc-etal commented 2 years ago

<Quantum> Короче, для настройки шлюза i2p в клирнет нужно юзать конфиг типа: <Quantum> https://github.com/PurpleI2P/i2pd/issues/1505 <Quantum> https://i2pd.readthedocs.io/en/latest/user-guide/configuration/#http-proxy

ghost commented 2 years ago

why no GUI for this ?

i2pd-qt GUI is available in flatpak and snap. Unless you want to compile it yourself. https://flathub.org/apps/details/website.i2pd.i2pd https://snapcraft.io/i2pd On Windows, there is a pseudo-graphic interface and tray icon in official builds.

Twig6943 commented 3 days ago

Here's the option to toggle it via the GUI (Flatpak pkg) image