Compare commits
2 commits
673a9cb10c
...
dd4f576e07
Author | SHA1 | Date | |
---|---|---|---|
dd4f576e07 | |||
26f2551cbb |
|
@ -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:
|
||||||
|
|
41
i2pd/examples/tunnels.d/tg-mtproxy.conf
Normal file
41
i2pd/examples/tunnels.d/tg-mtproxy.conf
Normal 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
|
Loading…
Reference in a new issue