diff --git a/src/generator/config/subexport.cpp b/src/generator/config/subexport.cpp index 9d1f691..2f08566 100644 --- a/src/generator/config/subexport.cpp +++ b/src/generator/config/subexport.cpp @@ -1088,7 +1088,9 @@ std::string proxyToSurge(std::vector &nodes, const std::string &base_conf proxy += ",server-cert-fingerprint-sha256=" + x.Fingerprint; if (!x.ServerName.empty()) proxy += ",sni=" + x.ServerName; - break; + if (!x.Ports.empty()) + proxy += ",port-hopping=" + x.Ports; + break; case ProxyType::WireGuard: if (surge_ver < 4 && surge_ver != -3) continue;