You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wormhole-server/configs/server.yaml

49 lines
743 B

# Wormhole SOCKS5 Server Configuration
serviceType: server
proxy:
address: 0.0.0.0
port: 1080
auth:
username: admin
password: secure_password_123
timeout: 30s
maxConns: 5000
logLevel: info
healthCheck:
enabled: true
address: 127.0.0.1
port: 8090
# Optimization Features (将在迁移中实现)
optimizedServer:
enabled: true
maxIdleTime: 5m
bufferSize: 65536
logConnections: true
# DNS Caching
dnsCache:
enabled: true
maxSize: 10000
ttl: 10m
# Rate Limiting
rateLimit:
enabled: true
requestsPerSecond: 100
# Access Control
accessControl:
allowedIPs:
- "127.0.0.1"
- "192.168.1.0/24"
# Performance Monitoring
metrics:
enabled: true
interval: 5m