Questions tagged [wireguard]

WireGuard is an open-source software application and protocol that implements virtual private network techniques to create secure point-to-point connections in routed or bridged configurations. It is run as a module inside the Linux kernel and aims for better performance than the IPsec and OpenVPN tunneling protocols.

Features WireGuard aims to provide a VPN that is both simple and highly effective. A review by ars technica observed that popular VPN technologies such as OpenVPN and IPSEC are often complex to set up, disconnect easily (in the absence of further configuration), take substantial time to negotiate reconnections, may use outdated ciphers, and have relatively massive code (400,000 to 600,000 lines of code for the two examples given) which makes it harder to find bugs.

WireGuard's design seeks to reduce these issues, making the tunnel more secure and easier to manage by default. By using versioning of cryptography packages, it focuses on ciphers believed to be among the most secure current encryption methods, and also has a codebase of around 4000 lines, about 1% of either OpenVPN or IPSEC, making security audits easier. Ars technica reported that in testing, stable tunnels were easy to create with WireGuard, compared to alternatives, and commented that it would be "hard to go back" to long reconnection delays, compared to WireGuard's "no nonsense" instant reconnections.

73 questions
0
votes
1 answer

Error 0x57 in WireGuardSetConfiguration() function (wireguard.dll)

I'm implementing a WireGuard custom client using wireguard.dll for Windows NT. I took the following example as a basis: https://git.zx2c4.com/wireguard-nt/tree/example/example.c I need to create a VPN connection with an existing server. Firstly I…
0
votes
0 answers

Execution failed for task ':tunnel:buildCMakeDebug[arm64-v8a]'. - wireguard-android

I am trying to run and build wireguard-android project on Mac mini but getting following error: Machine: Mac Mini iOS Version: 12.6.3 go version go1.20.2 darwin/amd64 flock 0.4.0 Execution failed for task ':tunnel:buildCMakeDebug[arm64-v8a]'. >…
Vinit ...
  • 1,409
  • 10
  • 37
  • 66
0
votes
0 answers

How to use wireguard VPN protocol to access different locations to test the download speed of a application from different locations?

I want to create a system that automatically tests the download speed of an application from various locations around the world. I tried to use free proxy servers but most of them are dead and some proxies died while processing so I want to use the…
user19547510
0
votes
0 answers

Selenium grid with notes available through WireGuard

So I'm trying to setup an automated build and test flow, with Jenkins and Selenium grid on a central EC2-instance and nodes on physical machines located at my office. I don't have port forwarding available at my office. So I was thinking that I…
Folkmann
  • 6,131
  • 3
  • 13
  • 14
0
votes
0 answers

Adding peers to embedded-dll Windows Wireguard service without restarting the service

I am using embedded-dll Wireguard service (https://github.com/WireGuard/wireguard-windows/tree/master/embeddable-dll-service) The API of the service receives as input Wireguard configuration. If I want to add/remove peers I have to stop the service,…
Farseer
  • 4,036
  • 3
  • 42
  • 61
0
votes
1 answer

Azure Function to communicate to external service via VPN

I would like my azure function to be able to access a postgres db hosted on fly.io, however, to connect to the fly.io organisation I need to do it via a VPN/wireguard-tunnel as its hosted on a private network. Is this possible with an azure…
Chris
  • 1
0
votes
1 answer

Wireguard powershell script not working only on Windows 7, rest windows OS working fine

I am using following code to download Wireguard .msi version, installing and creating tunnel with .conf file but the issue is its not working on Windows 7. Basically When I execute PowerShell Script on Windows 7 the issue is its not even downloading…
0
votes
1 answer

Add route in docker compose

I have VM with docker containers in a cloud. It have 2 containers: wireguard and redmine. I have LDAP-authorization in redmine. LDAP-server locates in private LAN (behind NAT), and I have VPN via wireguard to this LAN. I need add route in…
Bazulenkov
  • 11
  • 6
0
votes
1 answer

How to set up Wireguard client in macos via scripting?

We have a standard config (tunnel.conf) for Wireguard that we want to push to clients (via JAMF Pro). We do not want the end user to have to open the Wireguard UI to import the config, we want to do this via scripting. Given I can place the…
egeland
  • 1,244
  • 1
  • 12
  • 19
0
votes
0 answers

Piping private key (variable) to a "for loop" to generate public key

I am trying to write a small batch script that will run on Windows systems and generate new WireGuard config files that are ready for deployment in a road warrior setup. To do this I am saving the output of wg genkey, wg pubkey and wg genpsk to…
0
votes
1 answer

connect to Wireguard with react native

I want to build an application using react native the UI is not that hard for me I can handle it my main problem is I can not make the application interact with the VPN configs file that I have from Wireguard can you guys please guide me to make my…
Salah Ben Bouzid
  • 381
  • 4
  • 10
0
votes
1 answer

How to configure wg0 interface on Windows 10?

I am not able to manage the wireguard interface using wgctl on Windows (10). I have used it on linux and all is fine. I'm using Windows 10 latest updates, wireguard.exe latest, go 1.17.3 latest. I am using a tunnel created with wireguard.exe…
PrecisionPete
  • 3,139
  • 5
  • 33
  • 52
0
votes
1 answer

how to create wireguard keys solely with php?

I want to create wireguard private and public keys using solely php as the system i am running the script on is old ( 12.04 ) , for many reasons cannot upgrade it so i am not able to use wireguard utilities like wg genkey. is there a way for that ?…
0
votes
0 answers

Dockerfile wireguard kernel issue

Trying to run a decentralized vpn inside of a docker image. The issue im running to I think has to do with my running and installed kernels are different. I have to run modprobe wireguard in my docker file and its returning modprobe: FATAL: Module…
Shibalba
  • 1
  • 2
0
votes
0 answers

Can I modify the HTML contents which passing through the Wireguard?

I set up a VPN server for my team with Wireguard. I want my teammate to notice that their networks are over the VPN by showing small icon in the web page which they visit. Is there any ways to achieve this? - Can I modify the HTML data which is…
Hodol
  • 45
  • 3