Questions tagged [wireguard]
440 questions
35
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
- 3,401
21
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.
- 393
17
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
- 173
14
votes
3 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
- 289
10
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
- 289
10
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
9
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
- 191
8
votes
5 answers
How to start wireguard client on windows, in the background?
I have multiple computers (Win10 pro) placed at different remote locations (my partners) that I need to manage. I need to access them from a central location. So I have a central VPN server, and I want multiple Win10 pro instances to connect to it.…
nagylzs
- 849
8
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
- 773
- 3
- 14
- 27
7
votes
3 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
- 228
- 1
- 3
- 9
7
votes
1 answer
"very high" (probably?) MTU being set automatically on wireguard interface
So, I have a VPS running on Amazon Lightsail and I installed wireguard on it; I setup an interface this way:
[Interface]
Address = 10.255.128.1/24
MTU = 1420
SaveConfig = true
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A…
7
votes
1 answer
WireGuard & UFW : UFW blocks traffic on wg0, even if a rule allows it
I run Wireguard on Debian with the default interface wg0. With the following ufw rule, I would expect that ufw would pass my traffic:
ufw allow in on wg0 to any
But instead, ufw is blocking the traffic:
[14674.950320] [UFW BLOCK] IN=wg0 OUT=eth0…
Gill-Bates
- 773
- 3
- 14
- 27
7
votes
1 answer
Wireguard is losing connection
I have an Ubuntu 18.04.6 LTS, with WireGuard installed from https://github.com/angristan/wireguard-install script.
I created configs for desktops, phones, etc. It connects successfully, but hangs intermittently.
There's no connectivity issues.…
yegorov-p
- 81
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…
EncryptedWatermelon
- 211
- 1
- 2
- 9
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,377
- 12
- 56
- 87