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
1
vote
0 answers

Send request via VPN tunnel inside Network Extension

I'm trying to send a simple request with established VPN connection (NEPacketTunnelProvider) and I try to use URLSession.shared which sends traffic outside of the tunnel. But that resource is only available inside the tunnel. Is there a possible way…
1
vote
1 answer

How to validate a WireGuard public key?

I'm writing Java code that works with a set of WireGuard peers, and would like to check if the String representing the public key for each peer actually is a valid key.
gjoranv
  • 4,376
  • 3
  • 21
  • 37
1
vote
0 answers

Adding wireguard-go into Go app for Mac and Windows

Writing an application in Go that will create and delete WireGuard tunnels. Need to add wireguard-go within the application rather than installing as a separate WireGuard program. For linux it is easy, I did it. For Windows and Mac I'm not finding…
Exp3ct_m3
  • 31
  • 2
1
vote
1 answer

How can I configure my wireguard VPN on ESP32

I am an Iranian guy. And because of my country limitation in use of global server such firebase, ... I can not use these server directly and I need to set up a VPN on my ESP32. I choose wireguard for this purpose and I the require library for that.…
MMB1999
  • 11
  • 1
  • 3
1
vote
0 answers

Wireguard in Docker container cannot connect to bridged containers forwarded ports

I have the following setup: Raspi with Docker and multiple Containers connected to my Router. Some containers are on a MACVLAN network and receive regular IP Address in my LAN (e.g. Pihole, Unbound, etc.), some are on bridged networks and expose…
Zaphod
  • 11
  • 3
1
vote
0 answers

Bash substitution fails in xcode build settings

I am compiling WireGuard within Xcode, which requires setting up make as an external build tool. However, the compilation would fail every time, and I couldn't figure it out. I realized that the directory I was giving to the external tool was not…
1
vote
1 answer

Embedding WireGuard into a Go app on Windows

I am writing an application in Go that will use WireGuard tunnels to communicate. I want to embed WireGuard within the application rather than install the separate WireGuard program. I understand that I can use wireguard.dll and tunnel.dll to embed…
PrecisionPete
  • 3,139
  • 5
  • 33
  • 52
1
vote
0 answers

fatal error: lipo: can't open input file: wireguard-go-bridge/libwg-go-arm64.a (No such file or directory

I have developed a framework which was working fine in debug mood also working in mobile phone but when I make a build for distribution compiler send me error I have used Wireguard vpn use and its integration in app. Makefile:68: warning: overriding…
1
vote
1 answer

Use qrencode to generate png/svg QR code for Wireguard client configuration

I am looking to generate a QR code on a PHP webpage. The user starts on a page where they submit a form, the only input being the name of the new client. This page is a manager for VPN clients. After the redirect, PHP generates the configuration…
solidforge
  • 36
  • 7
1
vote
0 answers

Signal connection timed out when over VPN

I've a raspberrypi with pihole and wireguard installed. Pihole works fine, same for wireguard except Signal Messenger for Android. When I'm connected over VPN I always get a timeout. java.net.ConnectException: Failed to connect to /192.168.210.1…
Ink. Hulk
  • 11
  • 1
0
votes
0 answers

wireguard vpn: server and client code modification

i have got a project to work on wireguard vpn and modify it's code to add some XOR in it and the scenario is as below: wireguard turns on by user, user uses the applications and the wireguard grabs all their data to send to the destination, i want…
0
votes
0 answers

Wireguard duplicate IP if cert on multiple devices

We've been using Wireguard with great success, but recently found if a user uses a cert(client is the term used in the GUI) on multiple devices they both get the same IP resulting in packet loss/network instability. We are looking for ways to…
0
votes
0 answers

Communication between home Wireguard w/o public IP and another Wireguard instance in a VPS

I'm running a Wireguard server ("wg-home", 192.168.7.50/24) and other services at home, which I'd like to access from outside my own network. Unfortunately, my ISP does not provide a public IP, so I'm looking for a configuration that allows me to…
Roberto Milani
  • 760
  • 4
  • 20
  • 40
0
votes
0 answers

err::ERR_NAME_NOT_RESOLVED - private VPN WireGuard

I'm facing an issue with a private VPN hosted on AWS S3 that use WireGuard (default configuration). Certains sites doesn't work on the client that is connected to the VPN, we get an error "Unknown Host" (ping terminal) or "ERR_NAME_NOT_RESOLVED"…
Alexis R
  • 138
  • 7
0
votes
1 answer

Wireguard - How to change the adapter friendly-name on windows in Golang?

I downloaded the wireguard-windows repository and I navigated to this path wireguard-windows/tunnel/winipcfg/types.go in this types.go file I found this function: // FriendlyName method returns a user-friendly name for the adapter. For example:…
brendamich
  • 11
  • 1