Remove wireguard inbound

This commit is contained in:
风扇滑翔翼 2025-07-22 11:11:40 +00:00 committed by GitHub
parent eed05549fc
commit 58b754a7d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 5 additions and 343 deletions

View file

@ -273,11 +273,6 @@ func (h *Handler) createIPCRequest() string {
request.WriteString(fmt.Sprintf("private_key=%s\n", h.conf.SecretKey))
if !h.conf.IsClient {
// placeholder, we'll handle actual port listening on Xray
request.WriteString("listen_port=1337\n")
}
for _, peer := range h.conf.Peers {
if peer.PublicKey != "" {
request.WriteString(fmt.Sprintf("public_key=%s\n", peer.PublicKey))