3 ms·
Neat! You could do this without even having WireGuard installed with wireguard-go and Netstack.
by tptacek 5y ago
Neat! You could do this without even having WireGuard installed with wireguard-go and Netstack.
- anderspitman 5y agoDo you have link to an example of how this would be done?
- tptacek 5y agoGoogle "user mode WireGuard".
- jjoergensen 5y agoPerhaps this could serve as inspiration https://git.zx2c4.com/wireguard-go/tree/tun/netstack https://git.zx2c4.com/wireguard-go/tree/tun/netstack Fly.io version using it https://github.com/superfly/flyctl/tree/master/pkg/wg https://github.com/superfly/flyctl/tree/master/pkg/wg net.Dialer using gVisor https://git.zx2c4.com/wireguard-go/tree/tun/netstack/tun.go#n209 https://git.zx2c4.com/wireguard-go/tree/tun/netstack/tun.go#...
- anderspitman 5y agoThanks!