mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
ba48069325
Addresses #14734. This PR wires up `tunnel.go` to a `tailnet.Conn` via the new `/tailnet` endpoint, with all the necessary controllers such that a VPN connection can be started, stopped and inspected via the CoderVPN protocol.
11 lines
184 B
Go
11 lines
184 B
Go
//go:build !darwin
|
|
|
|
package vpn
|
|
|
|
import "github.com/tailscale/wireguard-go/tun"
|
|
|
|
// This is a no-op on non-Darwin platforms.
|
|
func makeTUN(int) (tun.Device, error) {
|
|
return nil, nil
|
|
}
|