-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrelays.yaml
More file actions
66 lines (61 loc) · 1.58 KB
/
Copy pathrelays.yaml
File metadata and controls
66 lines (61 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# LocalUp Relay Server Configuration
#
# This file defines available relay servers for tunnel connections.
# The binary embeds this configuration at compile time.
version: 1
# Global relay configuration
config:
# Default protocol to use if not specified
default_protocol: https
# Connection timeout in seconds
connection_timeout: 30
# Health check interval in seconds
health_check_interval: 60
# Relay servers
relays:
# Europe West - Primary
- id: eu-west-1
name: Europe West (Spain)
region: eu-west
location:
city: Madrid
state: Madrid
country: ES
continent: Europe
endpoints:
# HTTPS endpoint (with TLS termination)
- protocol: https
address: tunnel.kfs.es:4443
capacity: 1000 # Max concurrent connections
priority: 1 # Lower number = higher priority
# TCP endpoint (raw TCP proxy)
- protocol: tcp
address: tunnel.kfs.es:5443
capacity: 1000
priority: 1
status: active
tags:
- production
- primary
# Region groups for fallback
region_groups:
- name: Europe
regions:
- eu-west
fallback_order:
- eu-west
# Selection policies
selection_policies:
# Automatic selection (default)
auto:
# Prefer relays in same region as client
prefer_same_region: true
# Fallback to nearest region if same region unavailable
fallback_to_nearest: false
# Consider relay capacity when selecting
consider_capacity: true
# Only use active relays
only_active: true
# Include production tags
include_tags:
- production