Compare commits

...

2 commits

Author SHA1 Message Date
Alexey Skobkin dd4f576e07 i2pd. Example Telegram proxy configuration file. 2022-03-13 03:31:32 +03:00
Alexey Skobkin 26f2551cbb i2pd. Some updates and comments for ports. 2022-03-13 03:31:10 +03:00
2 changed files with 52 additions and 2 deletions

View file

@ -1,4 +1,5 @@
# https://github.com/PurpleI2P/i2pd/blob/openssl/contrib/docker/Dockerfile # https://github.com/PurpleI2P/i2pd/blob/openssl/contrib/docker/Dockerfile
# https://i2pd.readthedocs.io/en/latest/user-guide/configuration/
version: '3.7' version: '3.7'
@ -10,16 +11,24 @@ services:
#- "./config:/config" #- "./config:/config"
- "${HOST_DATA_DIR}:${DATA_DIR}" - "${HOST_DATA_DIR}:${DATA_DIR}"
ports: ports:
# Web interface
- "7070:7070/tcp" - "7070:7070/tcp"
# HTTP Proxy
- "4444:4444/tcp" - "4444:4444/tcp"
# SOCKS proxy
- "4447:4447/tcp" - "4447:4447/tcp"
# SAM bridge
- "7656:7656/tcp" - "7656:7656/tcp"
- "2827:2827/tcp" # BOB command channel
#- "2827:2827/tcp"
# I2CP server
- "7654:7654/tcp" - "7654:7654/tcp"
# I2P control service
- "7650:7650/tcp" - "7650:7650/tcp"
env_file: .env env_file: .env
network_mode: host
restart: unless-stopped restart: unless-stopped
user: "${HOST_USER:-}" user: "${HOST_USER:-0}"
logging: logging:
driver: "json-file" driver: "json-file"
options: options:

View file

@ -0,0 +1,41 @@
# That file must be placed in I2Pd tunnels.d directory, after you must reload I2Pd tunnels config or restart application!
[TG-MTPROXY-1]
type = client
address = 127.0.0.1
port = 8440
destination = vxxfipsygx6jpz57pmb3d3mjgsk5ls2idxeo2bffs3yp62muyq7q.b32.i2p
signaturetype = 7
inbound.length = 1
outbound.length = 1
inbound.quantity = 5
outbound.quantity = 5
i2cp.leaseSetType = 3
i2cp.leaseSetEncType = 0,4
i2p.streaming.initialAckDelay = 20
keys = transient-tg-mtproxy
# MTPROXY- secret - d676d59cd211bfe0031e4db3debc6a1b
[TG-MTPROXY-2]
type = client
address = 127.0.0.1
port = 8441
destination = vp3vans4ra3vpo24orm5seaxvod4x4lwiqajrfazb62hfwb45ddq.b32.i2p
keys = transient-tg-mtproxy
# MTPROXY- secret - 1b3e58008e4a2838505ea99838db21df
[TG-MTPROXY-3]
type = client
address = 127.0.0.1
port = 8442
destination = v5myukkjh7aotnvmdxhqkuwgq3utl3vaps2tpi42iv2urxzb4wsq.b32.i2p
keys = transient-tg-mtproxy
# MTPROXY- secret - 00001111222233334444555566667777
[TG-MTPROXY-4]
type = client
address = 127.0.0.1
port = 8443
destination = 7c75jum5uap6ayhtdnjhztsqk3z5qz7ndzaasavs34ne7vf2gekq.b32.i2p
keys = transient-tg-mtproxy
# MTPROXY- secret - 00001111222233334444555566667777