edgevpn
edgevpn copied to clipboard
Failed to run edgevpn on Macos as a vpn
I tried to use edgevpn on Macos with the command "edgevpn --address 10.0.1.11/24 --interface utun3", but it told me "not implemented"
Hi, thanks for filing an issue!
I don't have a macOS environment to test this up, could you provide the full log?
Same issue, log is the same as on Linux: "no warranty", version, " Starting EdgeVPN network", Node ID, Node Addresses, and last log entries are:
{"level":"INFO","time":"2023-03-09T23:33:31.279+0100","caller":"discovery/dht.go:104","message":" Bootstrapping DHT"}
error while starting network service: 'not implemented'
Same issue, and after some debug, I notice it's because the code in interface_darwin.go
, in prepareInterface
, it set mtu/address and set interface status up, but as I know netlink
is a linux package which doesn't support macos, so need some macos way to set these info.
With the latest release, you can run something like
sudo edgevpn --token="$TOKEN" --address="10.1.0.12/24" --interface=utun9
And your macos node will be connected to the network.