We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ec5c78 commit b7aacd3Copy full SHA for b7aacd3
proxy/wireguard/config.go
@@ -31,8 +31,13 @@ func (c *DeviceConfig) fallbackIP6() bool {
31
}
32
33
func (c *DeviceConfig) createTun() tunCreator {
34
+ if !c.IsClient {
35
+ // See tun_linux.go createKernelTun()
36
+ errors.LogWarning(context.Background(), "Using gVisor TUN. WG inbound doesn't support kernel TUN yet.")
37
+ return createGVisorTun
38
+ }
39
if c.NoKernelTun {
- errors.LogWarning(context.Background(), "Using gVisor TUN.")
40
+ errors.LogWarning(context.Background(), "Using gVisor TUN. NoKernelTun is set to true.")
41
return createGVisorTun
42
43
kernelTunSupported, err := KernelTunSupported()
0 commit comments