etp (Easy Tunnel Proxy) is a lightweight and high-performance tunnel proxy middleware that supports TCP, HTTP protocols, and upper-layer TCP protocols. It can quickly expose intranet services as public services, making it convenient for development and testing while reducing the cost of purchasing cloud servers.
- Support for TCP, HTTP, HTTPS, and other protocols
- High-performance data transmission
- Millisecond-level startup
- Multi-client support
- Lightweight and easy to use
Download the corresponding release version package for your operating system. The server is typically deployed on a machine with a public IP address.
Edit the configuration file
etps.toml
bindPort=9527
[[clients]]
name = "Mac"
secretKey = "4b0063baa5ae47c2910fc25265aae4b9"
[[clients.proxies]]
name = "mysql"
type = "tcp"
localPort = 3306
remotePort = 3307
[[clients.proxies]]
name = "redis"
type = "tcp"
localPort = 6379
remotePort = 6380
Start the etp
server. For external access, deploy it on a server with a public IP address.
./etps -c etps.toml
Edit the configuration file
etpc.toml
serverAddr = "127.0.0.1"
serverPort=9527
secretKey="4b0063baa5ae47c2910fc25265aae4b9"
Start the client on an intranet computer:
./etpc -c etpc.toml