Questions tagged [wireguard]

352 questions
25
votes
3 answers

How to see debug logs for WireGuard (e.g. to see authentication attempts)

I've successfully set up a WireGuard VPN on my Debian 10 server. It was incredibly straight forward compared to the setup of OpenVPN, and it's working fine. However, I can't see any logs beyond those from journalctl -u wg-quick@wg0.service. I'd like…
artfulrobot
  • 2,949
  • 13
  • 36
  • 60
12
votes
2 answers

Wireguard not completing handshake

I have two Debian GNU/Linux systems (bullseye/sid), both running wireguard on port 23456, both behind NAT. Both run a kernel version > 5.6 (wireguard mainlined). System A is the server, and it dynamically updates a dedicated "A record" in the…
Lucio Crusca
  • 420
  • 3
  • 12
  • 33
11
votes
3 answers

Cannot setup WireGuard VPN

My goal is to create a VPN so Clients have static IP addresses. Clients are able to communicate with each other and the server, Clients can reach global Internet through the VPN. Also, I'd like to setup DNS and private domain names (working with…
AivanF.
  • 283
  • 1
  • 3
  • 11
8
votes
3 answers

WireGuard user authentication

I've read the WireGuard specification, and it looks like WireGuard doesn't natively support any kind of user authentication (e.g. LDAP or something like that). Any client which has the server's public key, and whose IP address is whitelisted in the…
Aleksandar Pesic
  • 259
  • 2
  • 4
  • 9
7
votes
3 answers

Wireguard Client Addition without restart

I am building a Wireguard VPN network, in which I want to add and remove peers on the server without restarting the service or losing connections with existing peers. Tried searching for the results, but I found nothing that can suit my needs (all…
Anton2319
  • 73
  • 1
  • 1
  • 4
7
votes
2 answers

Wireguard VPN can't access internet and LAN

I have a server running Ubuntu 20.04 and wireguard 1.0.20200513-1~20.04.2. I installed the wireguard app on my phone (Android Samsung S20+) and disabled WIFI and connected to 4G. When the VPN is active I can access the server and nothing else on my…
7
votes
2 answers

Wiregurard override wg0.conf

I have successfully installed Wireguard on Debian Buster. Now I wanted to configure IPv6 afterwards. I have done that. But the settings inside the [Peer]-Section of wg0.conf do not seem to be persistent. systemctl stop wg-quick@wg0.service nano…
Gill-Bates
  • 585
  • 2
  • 8
  • 23
6
votes
3 answers

Is it possible to disable default gateway in WireGuard VPN client?

Is it possible to disable default gateway in WireGuard VPN client? I used "allowed IP" to my own subnet, but still whenever I try to connect to VPN server, the client sets default gateway to the WireGuard server IP. Any other way to disable default…
Farhan
  • 4,269
  • 11
  • 49
  • 80
6
votes
1 answer

Wireguard - How to only tunnel some of the traffic

Is it possible to set up the Wireguard server so that only a list of ips [A, B, C,...] is tunneled via Wireguard - while the rest of the traffic is ignored and goes through the non-Wireguard interface? Said differently, I'm trying to give access to…
Symeof
  • 161
  • 1
  • 1
  • 2
5
votes
1 answer

Broadcast UPnP over WireGuard

I have few devices: VDS, custom NAS on linux, laptop PC. All of that successfully connected to one local subnetwork 10.1.1.0/24 Server configuration: [Interface] Address = 10.1.1.1/24 ListenPort = 5182 PrivateKey = *** [Peer] PublicKey =…
Gedweb
  • 151
  • 1
  • 6
5
votes
2 answers

Make wireguard listen on multiple port

It there a way to make wireguar listen to multiple port ? Like listenning on 80,53,and 4444. I'm looking to achieve this without running multiple wire guard separate interface, to prevent having to create different subnet for the same thing. The…
Remy Grandin
  • 208
  • 3
  • 8
5
votes
1 answer

Wireguard is losing connection for no reason. No connection issues

I have a WG "server" on ubuntu 18.04.6 LTS, hosted in the oracle free tier. I've installed wireguard using well-known https://github.com/angristan/wireguard-install script. Then I've generated several configs for my desktops, phones, etc. It…
yegorov-p
  • 61
  • 1
  • 4
5
votes
1 answer

Port forwarding with wireguard

Using applications like qbittorrent and airdcpp to share files. They all need some ports to be forwarded in order to be "connectable". In the home connection I would go into the router settings 192.168.1.1 and then forward the ports, ex. 56000 to my…
user760466
4
votes
3 answers

Ubuntu 18.04.1, cannot add PPA wireguard/ubuntu/wireguard

I'm trying to install WireGurad on my fresh vanilla Ubuntu 18.04.1 machine, by following the instructions from WireGuard website. But when I try to execute very first command: sudo add-apt-repository ppa:wireguard/wireguard I'm getting the…
Aleksandar Pesic
  • 259
  • 2
  • 4
  • 9
4
votes
1 answer

Redsocks not working with Wireguard, but works with OpenVPN

Summary I use a VPN to route all of my traffic through. Until recently, I used OpenVPN, but then switched to Wireguard. Unfortunately, this broke my redsocks setup, and I can't figure out why. I'm using redsocks because I'm using a command-line…
Patrick
  • 65
  • 8
1
2 3
23 24