From 21129b6e008b45c81088a9fa1ec5b2566c60bf93 Mon Sep 17 00:00:00 2001 From: ivulit Date: Fri, 20 Feb 2026 12:34:22 +0300 Subject: [PATCH] Add domain-fronting-ip to example config --- example.config.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/example.config.toml b/example.config.toml index 68f7926..638fb33 100644 --- a/example.config.toml +++ b/example.config.toml @@ -59,6 +59,14 @@ prefer-ip = "prefer-ipv6" # access. domain-fronting-port = 443 +# By default, mtg resolves the fronting hostname (from the secret) via DNS +# to establish a TCP connection. If DNS resolution of that hostname is blocked, +# you can specify an IP address to connect to directly. The hostname is still +# used for SNI in the TLS handshake. +# +# default value is not set (DNS resolution is used). +# domain-fronting-ip = "142.250.185.112" + # FakeTLS can compare timestamps to prevent probes. Each message has # encrypted timestamp. So, mtg can compare this timestamp and decide if # we need to proceed with connection or not.