Files
ProjectAGiPrompt/14-2026年2月11日-XAwindows转发/gost.yaml
2026-03-18 16:16:47 +08:00

45 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

log:
level: info
format: json
output: C:\gost\logs\gost.log
services:
# 服务1: 主机C访问主机A的39000端口TCP
# 主机C连接 192.168.10.1:39000
- name: forward-c-to-a-39000
addr: 192.168.10.1:39000
handler:
type: tcp
listener:
type: tcp
forwarder:
nodes:
- name: host-a-39000
addr: 144.7.97.70:39000
# 服务2: 主机C访问主机A的1999端口HTTP
# 主机C连接 192.168.10.1:1999 或 http://192.168.10.1:1999
- name: forward-c-to-a-1999
addr: 192.168.10.1:1999
handler:
type: tcp
listener:
type: tcp
forwarder:
nodes:
- name: host-a-1999
addr: 144.7.97.70:1999
# 服务3: 主机A访问主机C的59014端口HTTP
# 主机A连接 144.7.8.50:59014 或 http://144.7.8.50:59014
- name: forward-a-to-c-59014
addr: 144.7.8.50:59014
handler:
type: tcp
listener:
type: tcp
forwarder:
nodes:
- name: host-c-59014
addr: 192.168.10.2:59014