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
# Sample native-http config.
# Use RUNNEL_PASSWORD for the shared secret; do not commit real passwords.
log: info
log_file: ./logs/runnel-native-http.log
telemetry_sock: ./run/runnel-native-http.sock
tui: true
client:
listen: 127.0.0.1:1080
server: SERVER-IP:1443
server_name: SERVER-NAME
ca_cert: ./certs/server.crt
mode: native-http
path: /connect
filter: proxy
user_agent: Mozilla/5.0
handshake_timeout_secs: 10
connect_timeout_secs: 10
max_header_size: 8192
system_proxy: false
server:
listen: 0.0.0.0:1443
cert: ./certs/server.crt
key: ./certs/server.key
mode: native-http
path: /connect
auth_window_secs: 120
handshake_timeout_secs: 10
connect_timeout_secs: 10
max_header_size: 16384
max_tunnel_body_size: 8192
allow_private_targets: false
fallback_url: https://example.org
fallback_timeout_secs: 15
max_fallback_body_size: 1048576
cert:
cert: ./certs/server.crt
key: ./certs/server.key
names:
- SERVER-NAME