-
Notifications
You must be signed in to change notification settings - Fork 554
Expand file tree
/
Copy pathconfig.exit-node.example.toml
More file actions
47 lines (41 loc) · 1.31 KB
/
config.exit-node.example.toml
File metadata and controls
47 lines (41 loc) · 1.31 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
# Example config for using mhrv-rs with an exit-node deployment.
# See assets/exit_node/README.md for the full deployment walkthrough.
[relay]
mode = "apps_script"
script_id = ["PUT_YOUR_APPS_SCRIPT_DEPLOYMENT_ID_HERE"]
auth_key = "PUT_YOUR_APPS_SCRIPT_AUTH_KEY_HERE"
[network]
google_ip = "216.239.38.120"
front_domain = "www.google.com"
listen_host = "0.0.0.0"
listen_port = 8085
socks5_port = 8086
verify_ssl = true
[network.hosts]
[scan]
[logging]
log_level = "info"
[exit_node]
# Master switch. Set false to disable exit-node entirely without removing
# the config.
enabled = true
# Public URL of your deployed exit-node handler (assets/exit_node/exit_node.ts
# running on Deno Deploy, fly.io, your own VPS, etc.).
relay_url = "https://your-deployed-exit-node.example.com"
# Pre-shared key — must match the PSK constant in your deployed source.
# Generate with: openssl rand -hex 32
psk = "PUT_YOUR_EXIT_NODE_PSK_HERE"
# selective: only `hosts` route via exit node (recommended).
# full: every request routes via exit node (slower, ~250-500ms extra hop).
mode = "selective"
# Hostnames to route through the exit node. Matches exact OR dot-anchored
# suffix (chatgpt.com covers api.chatgpt.com etc.).
hosts = [
"chatgpt.com",
"claude.ai",
"x.com",
"grok.com",
"openai.com",
"aistudio.google.com",
"ai.google.dev",
]