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

Set up PiVPN with WireGuard port forwarding issues

I am trying to set up a personal VPN at home using PiVPN and WireGuard, and the installation went fine and everything seems to work and I am even able to connect to the VPN from my mobile device, however I am not getting a connection to the network…
0
votes
0 answers

How do I use fetch with WireGuard in NodeJS?

I need to use a VPN in a few parts of my NodeJS server but only when fetching from one APIs. Everything else in my server should work as normal. I am using WireGuard, I could use OpenVPN but I prefer WireGuard as I get much slower speeds with…
gm76
  • 3
  • 2
0
votes
0 answers

Allowing Local Multicast mDNS Access Through Linux Wireguard VPN

I have a Raspberry Pi 4 ("Buster") on which I am deploying a VPN. I am using the Linux Wireguard library installed through: sudo apt install wireguard. Here is an example XXXXXX.conf file I would use in the command wg-quick up XXXXXXX. I have…
m-a-draco
  • 35
  • 5
0
votes
1 answer

Regex get IP from Wireguard conf file

To automate the deployment of our Wireguard VPN connection I need a Regex expression to get the assigned IP for a user in the configuration file for Wireguard. The file looks like this, with a Block for each user: [Interface] PrivateKey =…
0
votes
0 answers

Protonvpn wireguard config does not work on openwrt router 22.03.05

I could successfully install protonvpn openvpn config files and could connect to internet but speed is very low so I tried wireguard but.... I have free proton vpn account - just testing waters ... I downloaded one of the free and one std server…
Hellov
  • 21
  • 3
0
votes
0 answers

How to send a UDP packet through a wireguard VPN tunnel? Packets are not encrypted

I'm using a socket program (in C) to send a UDP packet from a wireguard client to the server. I use the socket sendto() method to send the packet. At the server end I capture the packet using another server program (in C & pcap).    As I need to…
Sanka Don
  • 11
  • 1
0
votes
0 answers

How to create react-native IOS native module for wiredguard app

I am try to create IOS native module for react-native wireguard app. i have intrgrated wireguard package in to ios app, but unable to config tunnel and connect to VPN Any one have integrated wireguard with react-native ios native module, there are…
satyasai m
  • 11
  • 1
0
votes
0 answers

How setup Wireguard VPN to acces AWS VPC private network

I want to configure an Amazon EC2 instance with WireGuard to establish a Virtual Private Network (VPN) and enable access to private instances within my Amazon VPC. This is my network setup: VPC: 10.50.0.0/16 Public Subnet: 10.50.10.0/24 Private…
0
votes
1 answer

Route container traffic to separate non-container host via wireguard container

My setup is basically two containers on one host (Host A), a prometheus container, and a wireguard container. And one a separate host (Host B) I have wireguard set up (not in a container). On host A the containers are set up such that the wireguard…
Nomad
  • 51
  • 5
0
votes
0 answers

mobile client have no internet when connected to Wireguard server on VPS

Hello Folks, I setup Wireguard server on my VPS too many times with different approaches and configs, yet there is no internet when I connect a client(e.g mobile/laptop) to my vps, although it connects. My VPS is running on Ubuntu 20. I used 2…
MilAD86
  • 1
  • 1
0
votes
0 answers

PiVPN (wireguard) and Eero

My current setup is modem > spectrum router > Eero I am trying to setup PiVPN (wireguard) on my Raspberry Pi but it doesn't seem like I am able to connect to my Pi when I set up the vpn. I set a static ip for my Pi (on Eero) and set up port…
0
votes
0 answers

Connect to tailscale internal network and route internet traffic to an external VPN with wireguard

I have a linux machine that need to access internet via an external VPN provider (supporting wireguard) connect internal tailscale network When I activate either wireguard (VPN) or tailscale individually, it works fine. But I did not find the…
Al3c5
  • 1
0
votes
0 answers

Failing to build connection with server folder using SMBConnection

I am trying to connect to a server folder which is only accessible through Wireguard VPN. I installed the VPN, and created the wg-config.conf file and currently, I am able to connect via Finder on my Mac. Here is the access address:…
serdar_bay
  • 271
  • 1
  • 7
0
votes
0 answers

How to retrieve the total transferred and received bytes in a WireGuard(wireguard-apple) implementation using Swift Package Manager?

I've been working on integrating the WireGuard-Apple project into my personal VPN project using Swift Package Manager. I have successfully implemented WireGuard and can enable and disable the tunnel using my PacketTunnelProvider class. However, I'm…
Hayri
  • 1
0
votes
0 answers

How to use v2ray in a react native application

I am developing a VPN app in react native and I wanted to use v2ray (https://www.v2ray.com/en) to hide a wireguard vpn tunnel (I have not set up wireguard yet). I found this library https://cdn.jsdelivr.net/npm/react-native-v2ray/ but it seems very…