Comments (2)
I am not sure if I understand your issue. wgctrl-go uses a unix domain socket for configuring userspace devices. You only need to ensure that you open a socket in the correct location.
See:
wgctrl-go/internal/wguser/conn_unix.go
Lines 20 to 26 in 925a1e7
from wgctrl-go.
Wireguard on netstack does not run in "userspace" as a userspace wireguard implementation. gvisor's netstack has its own IP stack implemented in userspace on top of which wireguard runs, so there is no unix domain socket to connect to.
gvisor implements linux syscalls in userspace and is written in go. Wireguard-go supports it (https://pkg.go.dev/golang.zx2c4.com/wireguard/tun/netstack)
I don't remember the context on what I specifically wanted in this issue though.
from wgctrl-go.
Related Issues (20)
- Wireguard is not working on LTE though accessible via WiFi HOT 1
- documentation for parsing interfaces on FreeBSD HOT 1
- Cannot configure wg0 interface on Windows 10
- Drop staticcheck (honnef.co/go/tools) from go.mod require list HOT 2
- Strict netlink option breaks CentOS 7 HOT 1
- internal/wglinux: multicast group listener HOT 4
- missing go118/netip when building? HOT 2
- Question: Configuring for client HOT 5
- Missing DNS? HOT 3
- Cross compile for freebsd fails HOT 1
- internal/windows: deadlock in function interfaceHandle()
- Cant install HOT 3
- Conf is not saved HOT 4
- Conf is not saved HOT 1
- Reza
- Wireguard
- Wireguard
- Windows Issue: This security ID may not be assigned as the owner of this object. HOT 6
- Peer map instead of a Peer list HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wgctrl-go.