Load bundled personal defaults when no saved profile exists

This commit is contained in:
shenlei
2026-10-10 16:27:22 +09:00
parent 2eb9a6d81c
commit 10b10e5bdf
9 changed files with 87 additions and 0 deletions
@@ -0,0 +1,28 @@
# Personal builds: copy to default.private.toml and fill in your network.
# This file is bundled only when no private default exists.
hostname = "MeshPort"
ipv4 = "10.77.0.11/24"
listeners = []
[[peer]]
uri = "tcp://relay.example.com:11010"
[network_identity]
network_name = "game-net"
network_secret = ""
[flags]
no_tun = false
use_smoltcp = false
enable_encryption = true
default_protocol = "udp"
latency_first = true
enable_ipv6 = true
[runtime]
mode = "system_vpn"
[optimization]
mode = "adaptive"
prefer_udp = true
relay_peer_ids = []