first commit
Some checks failed
Build Multi-Platform Binaries / build (amd64, darwin) (push) Failing after 5m51s
Build Multi-Platform Binaries / build (amd64, windows) (push) Has been cancelled
Build Multi-Platform Binaries / build (arm64, darwin) (push) Has been cancelled
Build Multi-Platform Binaries / build (arm64, linux) (push) Has been cancelled
Build Multi-Platform Binaries / build (amd64, linux) (push) Has been cancelled

This commit is contained in:
Flik
2025-12-25 16:19:53 +08:00
commit 0738aa5d93
13 changed files with 884 additions and 0 deletions

27
server.yaml Normal file
View File

@@ -0,0 +1,27 @@
# GoTunnel Server Configuration
server:
bind_addr: "0.0.0.0"
bind_port: 7000
token: "your-secret-token"
heartbeat_sec: 30
heartbeat_timeout: 90
# Client configurations (centralized management)
clients:
- id: "client-a"
rules:
- name: "web"
local_ip: "127.0.0.1"
local_port: 80
remote_port: 8080
- name: "ssh"
local_ip: "127.0.0.1"
local_port: 22
remote_port: 2222
- id: "client-b"
rules:
- name: "mysql"
local_ip: "127.0.0.1"
local_port: 3306
remote_port: 13306