meele/rathole
A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.
If you need to install docker by yourself, follow the official installation guide.
If you need to install Docker Compose by yourself,follow the official installation guide.
For more information on docker and containerization technologies, refer to official document.
version: '3.8'
services:
rathole:
image: meele/rathole:latest
container_name: rathole
volumes:
- ./config:/app/config
ports:
- "2333:2333"
restart: unless-stopped
command: ["/app/rathole", "-c", "/app/config/config.toml"]
[server]
bind_addr = "0.0.0.0:2333"
default_token = "your_token_here"
[server.transport]
type = "tcp"
[client]
token = "your_token_here"
[[client.servers]]
bind_addr = "127.0.0.1:8080"
remote_addr = "server_address:port"
docker-compose up -d
docker-compose ps
docker-compose logs -f rathole
docker-compose down
docker-compose up -d
docker pull meele/rathole