stangri/source.openwrt.melmac.net

[PBR] Wish: I2P Support

FZXizzbKv7jg opened this issue · 6 comments

Support I2P provided by package i2pd.

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.

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

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

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 .

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?

Yes right.