Manually set ip / bring up wg interface #5
Notifications
Due Date
No due date set.
Depends on
#10 Big code refactoring
Wireguard/Wireguard-tools.js
Reference: Wireguard/Wireguard-tools.js#5
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi there, thanks for these great tools!
When I create a wireguard interface, I'm having to manually bring up the interface and add an address to it.
Of note, looking at the interface for
'WgConfig
theAddress
has a capitalized a. I tried it without the capital but that didn't work either.Here is an example:
Then looking at the interface it is down, without an ip address.
If I add an ip address and bring up the interface, the wireguard link works.
What am I doing wrong? Thanks
Also, forgot to mention, when I try to delete the interface - it doesn't delete it.
I have to manually run
hello, thanks, set ip address in any platform current not supported, in the future or next version added
in delete interface in windows and macOS is bug from code in addon, current fixing.
in linux correctly delete interface my computers and docker containers, check if run with sudo node, if persist i comment here
@MorningLightMountain713 current checking again in wsl if persist bug and another distros linux
@MorningLightMountain713
use
address
, current isAddress
, a future rename toaddress
code reference:
38dca1bebe/addons/tools/wginterface.hh (L189-L195)
Issue persists, I am using sudo to run node.
Here is the code:
Here is the output:
Thanks
This is how I'm adding the ip and bringing the interface up now:
It all works now:
I just need to add any additional routes for allowed networks
Fixed #10, Linux and Windows now support setting IP addresses. route only external commands