source.openwrt.melmac.net icon indicating copy to clipboard operation
source.openwrt.melmac.net copied to clipboard

[PBR] Wish: I2P Support

Open FZXizzbKv7jg opened this issue 4 years ago • 6 comments

Support I2P provided by package i2pd.

FZXizzbKv7jg avatar May 06 '21 11:05 FZXizzbKv7jg

I have zero experience with that protocol, and I don't have the time to experiment with it right now. If you can provide the following information I can have a look at supporting it:

  1. How to identify i2p interface.
  2. How to obtain i2p interface gateway.

stangri avatar Nov 15 '21 02:11 stangri

service name: i2pd

config /etc/i2pd/i2pd.conf:

## Where to write pidfile (default: i2pd.pid, not used in Windows)
# pidfile = /run/i2pd.pid
                                                                                                                                         
## Network interface to bind to                        
## Updates address4/6 options if they are not set                                                                                                             
ifname = vpniface

## External IPv4 or IPv6 address to listen for connections  
## By default i2pd sets IP automatically                                                                                                                 
# host = 1.2.3.4   

## Port to listen for connections                                      
## By default i2pd picks random port. You MUST pick a random number too,    
## don't just uncomment this                                         
# port = 4567  

[httpproxy]                                                                    
## Uncomment and set to 'false' to disable HTTP Proxy                       
# enabled = true                                                         
## Address and port service will listen on                                     
address = 192.168.1.1                                                       
port = 4444    

tunnels config: /etc/i2pd/tunnels.conf

FZXizzbKv7jg avatar Jul 07 '22 14:07 FZXizzbKv7jg

So on your system there's an interface called 'vpniface'?

stangri avatar Jul 07 '22 21:07 stangri

Several interfaces for lan, wan, wg, with a different name. There's no interface to create for i2p.

You can bind i2p to a wan or vpn interface.

The implementation for i2p should be similar to tor's. Suffix is .i2p .

FZXizzbKv7jg avatar Jul 08 '22 13:07 FZXizzbKv7jg

The implementation for i2p should be similar to tor's. Suffix is .i2p .

So it's a proxy where you can send HTTP/HTTPS requests?

stangri avatar Sep 29 '22 09:09 stangri

Yes right.

FZXizzbKv7jg avatar Sep 30 '22 13:09 FZXizzbKv7jg