feat(config): add config validator to avoid wrong settings
This commit is contained in:
+2
-1
@@ -13,6 +13,7 @@ local_addr = "127.0.0.1:9090"
|
||||
[[connect.web]] # others -> you
|
||||
protocol = "tcp"
|
||||
local_port = 9000
|
||||
local_addr = "127.0.0.1" # default; set to 0.0.0.0 to expose on LAN
|
||||
dst_addr = "any-client-in.ts.net:8080"
|
||||
|
||||
[[connect.minecraft]]
|
||||
@@ -25,4 +26,4 @@ lan_motd = "Minecraft via Tailscale"
|
||||
[[connect.udp_example]]
|
||||
protocol = "udp"
|
||||
local_port = 24454
|
||||
dst_addr = "any-client-in.ts.net:24454"
|
||||
dst_addr = "any-client-in.ts.net:24454"
|
||||
|
||||
Reference in New Issue
Block a user