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

How to debug issues with a macOS app that has a network extension as a tunnel provider?

I am maintaining a project, and I just started, so I don't know the codebase very well. My first task was to update the Wireguard library that the project makes use of to the latest version. After I did so, the application refuses to connect through…
Alfonso Tesauro
  • 1,730
  • 13
  • 21
0
votes
1 answer

Wireguard tunnel source to c#.Net: Service Run troubleshooting

I'm trying to make a simple console app client (starter.exe) on c# .NET Framework 4.6 to make a WireGuard protocol based connection using Wireguard source code. What is done: Downloaded wireguard source code from here:…
kirpi4
  • 143
  • 1
  • 1
  • 11
0
votes
0 answers

Execution failed for task ':ui:kaptGenerateStubsReleaseKotlin'

Trying to build the android client for Wireguard (https://git.zx2c4.com/wireguard-android/about). I get the following error: Execution failed for task ':ui:kaptGenerateStubsReleaseKotlin'. after running: ./gradlew assembleRelease Can't see anything…
qualia
  • 41
  • 2
0
votes
1 answer

Windows: interface without ComponentId?

For the application I develop, in C++, I need to get the componentId of an interface. In particular, the WireGuard interface (componentId=wintun that is the adapter installed with the official WireGuard installer). Usually I get it from the registry…
n3mo
  • 663
  • 8
  • 23
0
votes
1 answer

wireguard ios, route ip+net: sysctl: operation not supported

I try to run the wireguard project from https://git.zx2c4.com/wireguard-apple/about/ on my ios device. I have a problem, I can't make it to work, I keep getting the following error when I try to connect: [NET] route ip+net: sysctl: operation not…
jalanga
  • 1,456
  • 2
  • 17
  • 44
-1
votes
0 answers

WireGuard for iOS & macOS - Invalid manifest error

I am trying to integrate WireGuard for iOS and macOS in Xcode, the build process is success, but the integration shows error.Help me to solve this error.And the error is showed in image below: Screenshot I am facing issue while integrating…
Pravin TS
  • 1
  • 1
-1
votes
0 answers

Problem with second PiVPN Server on same network

I previously set up a piVPN server at my home and it worked almost immediatelty. I recently began setting up a second one and it had not worked at all, which is a real surprise. They are wireguard servers set up on raspberry pi 4Bs running Raspberry…
-1
votes
0 answers

PIVPN Wireguard local device behind router to VPN server no internet over wireguard

I would like to route my private IP traffic from a Fire TV (the device does not matter much, at the moment I'm testing with an Ubuntu VPN at the moment and wireguard) over my private VPS server because of peering speed problems from my internet…
-1
votes
1 answer

Port forwarding not working with wireguard

I have three computers, my laptop, a Cloud server and a Private server, and my aim is to be able to connect my laptop to the private server for ssh and http. All computers is running WireGuard VPN, and the Cloud server is configured to enable port…
wmmhihaa
  • 744
  • 8
  • 21
-1
votes
1 answer

WireGuard VPN: wg0.conf does not exist

I am trying to setup VPN on my server with help of WireGuard. I am following this tutorial https://upcloud.com/resources/tutorials/get-started-wireguard-vpn ERROR systemctl status wg-quick@wg0 × wg-quick@wg0.service - WireGuard via wg-quick(8) for…
mascai
  • 1,373
  • 1
  • 9
  • 30
-1
votes
1 answer

wireguard Invalid manifest swift

I try to build a vpn with wireguard as open server. and then I try to inject the dependency of wireguard, the error is raised as showed in image below: Screenshot I don't know how to solve it.
Frank Ding
  • 11
  • 1
  • 2
-1
votes
1 answer

SSH Command using Popen() odd results

I've been using the following code for a while now, however recently (in the last month) it's been failing: # Make sure WireGuard starts at boot systemd_cmd = 'ssh %s %s@%s "systemctl enable wg-quick@wg0"' % (SSH_OPTS, SSH_USER,…
-1
votes
1 answer

Adding a usage on a shell script

Hello There my fellow devs, So recently i made this script that does wireguard installation and management, so i have been trying to add a usage on my shell script and i need some help. Original…
1 2 3 4
5