add vtun handle and listener

This commit is contained in:
ginuerzh
2025-07-23 22:49:59 +08:00
parent a24b29c8c2
commit 0bfc7f10cd
4 changed files with 62 additions and 49 deletions
+2
View File
@@ -72,6 +72,7 @@ import (
_ "github.com/go-gost/x/handler/tun"
_ "github.com/go-gost/x/handler/tunnel"
_ "github.com/go-gost/x/handler/unix"
_ "github.com/go-gost/x/handler/vtun"
// Register listeners
_ "github.com/go-gost/x/listener/dns"
@@ -105,5 +106,6 @@ import (
_ "github.com/go-gost/x/listener/tun"
_ "github.com/go-gost/x/listener/udp"
_ "github.com/go-gost/x/listener/unix"
_ "github.com/go-gost/x/listener/vtun"
_ "github.com/go-gost/x/listener/ws"
)