* WireGuard 0.3.1 Potential Bug #AddConf
[not found] <BY5PR17MB36175E4EB9A88CE42A2D1D86A9FB0@BY5PR17MB3617.namprd17.prod.outlook.com>
@ 2020-11-24 22:04 ` Dennis IT SysAdmin
2020-11-25 13:03 ` Jason A. Donenfeld
0 siblings, 1 reply; 2+ messages in thread
From: Dennis IT SysAdmin @ 2020-11-24 22:04 UTC (permalink / raw)
To: wireguard
While setting up the VPN and also working on creating a powershell module for setup, I went through to test the components in wg.exe, and I noticed an issue with addconf which is supposed to allow appending to a current configuration:
Several scenarios tested-
Windows ( Under an admin (not system) account where config was created (not created using system account):
[
PS C:\Program Files\WireGuard> wg addconf WireGuard 'C:\Program Files\WireGuard\Data\Configurations\WireGuardVPN.conf.dpapi'
fopen: Permission denied
]
Windows ( Under SYSTEM account where config was NOT created (using PSTools to get into SYSTEM environment):
[
PS C:\Program Files\WireGuard> wg addconf WireGuard 'C:\Program Files\WireGuard\Data\Configurations\WireGuardVPN.conf.dpapi'
Line unrecognized: `\x01'
Configuration parsing error
]
DebianServer ( Under SU account where config was created & under USER account where config was NOT created - Same result ):
[
root@unix:/home/system# wg addconf WireGuard /etc/wireguard/wg0.conf
Line unrecognized: `Address=172.10.10.1/24'
Configuration parsing error
]
Thanks,
Dennis Fair | I.T Systems Admin
Four Peaks Landscape Management
p: 480-967-0376 | f: 480-967-0406
m: 480-319-5345
e: it@fourpeakslandscape.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: WireGuard 0.3.1 Potential Bug #AddConf
2020-11-24 22:04 ` WireGuard 0.3.1 Potential Bug #AddConf Dennis IT SysAdmin
@ 2020-11-25 13:03 ` Jason A. Donenfeld
0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2020-11-25 13:03 UTC (permalink / raw)
To: Dennis IT SysAdmin; +Cc: wireguard
That is not what `addconf` is for. This is not a bug.
Please read https://git.zx2c4.com/wireguard-windows/about/enterprise.md
for hints about how to accomplish what you're after.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-25 13:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <BY5PR17MB36175E4EB9A88CE42A2D1D86A9FB0@BY5PR17MB3617.namprd17.prod.outlook.com>
2020-11-24 22:04 ` WireGuard 0.3.1 Potential Bug #AddConf Dennis IT SysAdmin
2020-11-25 13:03 ` Jason A. Donenfeld
Development discussion of WireGuard
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://inbox.vuxu.org/wireguard
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V1 wireguard wireguard/ http://inbox.vuxu.org/wireguard \
wireguard@lists.zx2c4.com
public-inbox-index wireguard
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://inbox.vuxu.org/vuxu.archive.wireguard
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git