Add redir tproxy and dns inbound
This commit is contained in:
13
common/redir/redir_other.go
Normal file
13
common/redir/redir_other.go
Normal file
@@ -0,0 +1,13 @@
|
||||
//go:build !linux
|
||||
|
||||
package redir
|
||||
|
||||
import (
|
||||
"net"
|
||||
"net/netip"
|
||||
"os"
|
||||
)
|
||||
|
||||
func GetOriginalDestination(conn net.Conn) (destination netip.AddrPort, err error) {
|
||||
return netip.AddrPort{}, os.ErrInvalid
|
||||
}
|
||||
Reference in New Issue
Block a user