Web3 Pi tunnel - a basic tcp reverse tunnel
Project description
WEb3Pi Tunnel
PoC Python implementation of a basic TCP tunnel. Primary purpose: provide a public IP to clients behind NATs.
It was initially developed alongside the Web3Pi Proxy.
Setup
Simply install web3pi-tunnel
package using your Python package manager, using pip for example:
pip install web3pi-tunnel
Configuration
Provide .env
file or set the system environments with the following entries.
Client
TUNNEL_SERVICE_HOST
- the network address of the tunnel serverCLIENT_SERVICE_HOST
- the network address of the client target serviceCLIENT_SERVICE_PORT
- the port of the client target serviceTUNNEL_ESTABLISH_PORT
- the port of the tunnel serverTUNNEL_SERVICE_AUTH_KEY
- the api key to authenticate at the tunnel server
Server
SERVICE_PUBLIC_IP
- the network address of the tunnel serverSERVICE_PUBLIC_LISTEN_PORT
- the port of tunnel server for external web3 usersTUNNEL_ESTABLISH_PORT
- the port of the tunnel server for the tunnel clientPROXY_ESTABLISH_PORT
- the port of the tunnel server for statsTUNNEL_SERVICE_AUTH_KEY
- the api key to authenticate the tunnel client
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
web3pi_tunnel-0.1a2.tar.gz
(21.8 kB
view hashes)
Built Distribution
Close
Hashes for web3pi_tunnel-0.1a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51a8cfda3a075fbb8596333654a82ad045a938500af494c548d87855ac7c7999 |
|
MD5 | 7d21033d666285357a16596f715f2087 |
|
BLAKE2b-256 | 9f520ab89318c71bbfca7d70058598c037e2c170612a5d5bbbf90ad59e242b8b |