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

@ -31,11 +31,6 @@ func (c *DeviceConfig) fallbackIP6() bool {
}
func (c *DeviceConfig) createTun() tunCreator {
if !c.IsClient {
// See tun_linux.go createKernelTun()
errors.LogWarning(context.Background(), "Using gVisor TUN. WG inbound doesn't support kernel TUN yet.")
return createGVisorTun
}
if c.NoKernelTun {
errors.LogWarning(context.Background(), "Using gVisor TUN. NoKernelTun is set to true.")
return createGVisorTun