diff --git a/intra/ipn/socks5.go b/intra/ipn/socks5.go index 380f935c..38fa7096 100644 --- a/intra/ipn/socks5.go +++ b/intra/ipn/socks5.go @@ -88,7 +88,7 @@ func NewSocks5Proxy(id string, ctl protect.Controller, po *settings.ProxyOptions portnumber, _ := strconv.Atoi(po.Port) mh := new(multihost.MH) - mh.With([]string{po.Host}) // resolves if ip is name + mh.With([]string{po.Host, po.IP}) // resolves if ip is name var clients []proxy.Dialer // x.net.proxy doesn't yet support udp