Skip to main content

Questions tagged [wireguard]

WireGuard is a free and open-source software application and communication protocol that implements virtual private network (VPN) techniques to create secure point-to-point connections in routed or bridged configurations.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Netplan error: device (wg0): linklocal6: failed to get interface identifier; IPv6 cannot continue

How to define a link-local network interface in netplan on a wireguard tunnel (interface)? When i define a wireguard tunnel using netplan with NetworkManager backend, i get the following errors in ...
mispp's user avatar
  • 119
0 votes
0 answers
107 views

How to Configure the Pre-installed WireGuard Client on Ubuntu 24.04 via Network Manager

I'm currently running Ubuntu 24.04 and I've noticed that WireGuard is already integrated with Network Manager by default. I would like to configure WireGuard as a client on my system, but I'm unsure ...
Maxc's user avatar
  • 19
0 votes
0 answers
100 views

WireGuard VPN Client Does Not Connect Remotely

I’ve been trying to set up remote access between my Wireguard VPN server and the client PCs. Setup: Server: Ubuntu PC configured as a WireGuard server. Client: Another Ubuntu PC configured as a ...
tuxicity's user avatar
0 votes
0 answers
103 views

WireGuard - Server Through Gnome Network Manager?

Can a WireGuard server be setup through Gnome network-manager? with a wireguard.conf file - no terminal or other program needed. I need 3 clients to be able to connect to the server. Internet traffic ...
RickAndTired's user avatar
0 votes
0 answers
85 views

Wireguard - Same IP Range On Local and Remote - Can't talk

I need some help. I have a stange wireguard issue. I subnetted out a /24 into multiple /29 locally. (Announced as a /24 over bird2 to other bgp peers, only subnetted locally on server). Locally ...
API VERSA OU's user avatar
0 votes
0 answers
38 views

Wireguard with Opnsense - can't communicate with other machines

on a OpnSense I have already openvpn server set up and working with no issue. For some machine like OpenMediaVault I can only use wireguard so I'm considering leaving Openvpn toward WG or have both ...
gipsea's user avatar
  • 11
0 votes
0 answers
113 views

How can I make Ubuntu route all traffic through my Wireguard VPN?

I have set up a working Wireguard VPN server remotely. I have confirmed that this VPN server works, as my phone can connect flawlessly with it. In Ubuntu 23.10, I have imported my *.conf file as ...
Exeleration-G's user avatar
0 votes
1 answer
149 views

wireguard peer (client) loses VPN IP address shortly after connection, but stays connected to VPN server and can ping the server IP. What gives?

I am tunneling an Ubuntu 22.04 web server through a Wireguard VPN (as the vpn client), to another Ubuntu 22.04 Server as the Wireguard VPN Host (server). I have set up the Client/Server exactly ...
DanRan's user avatar
  • 113
1 vote
1 answer
386 views

Wireguard service seems to start before network is really online

I am going a little crazy trying to make Wireguard work on Ubuntu Server 23.10 running on a Raspberry-Pi5. Overall, Wireguard configuration works. I can bring wg0 up and down. But if I reboot the pi, ...
Mike's user avatar
  • 131
0 votes
0 answers
74 views

Using Ubuntu to solve a unique networking problem

Trying to solve an issue with 2 legacy devices that use broadcast to communicate. Both legacy devices must be on 192.168.0.1 and 192.168.0.5, not my choosing, something that was coded into the devices ...
cadre's user avatar
  • 1
0 votes
0 answers
38 views

How is this possible that one of the peers can't access the internet while the other one can

With the help of an extensive number of guides, I managed to create a working VPN server and even added one client, however, when adding a second client, a problem arose, the configurations seemed to ...
Leteers's user avatar
0 votes
2 answers
816 views

No traffic with Wireguard on Ubuntu

I'm trying to use Wireguard on Ubuntu 22.04. The same server-client-configuration is working without an issue for Windows and Android. I'm not the administrator for the server side, but got the ...
Harald Töpfer's user avatar
0 votes
1 answer
190 views

Remotely access local services through wireguard tunnel from mobile

Use-case: I want to reach services hosted at home through vpn on-the-go from mobile (and I don't want to tunnel them 1-by-1). I have the below topology: I have setup wireguard based on this gist: ...
spinpwr's user avatar
  • 121
0 votes
1 answer
889 views

Wireguard server start issue

When starting the server, Wireguard does not start. Log: systemd[1]: Starting WireGuard via wg-quick(8) for wg0... wg-quick[1139]: [#] ip link add wg0 type wireguard wg-quick[1139]: [#] wg setconf wg0 ...
Alex's user avatar
  • 99
0 votes
0 answers
487 views

Wireguard connection doesnt work after reboot

After reboot of ubuntu client, "server" wireguard tunnel cannot ping client. Connection establishes only after i manually ping host through tunnel from client. My config Server: Mikrotik 7....
Danila Korneenko's user avatar
0 votes
1 answer
1k views

Wireguard - Initial setup question

I followed this manual: https://www.digitalocean.com/community/tutorials/how-to-set-up-wireguard-on-ubuntu-20-04 I came to the end and am now struggling to start the wireguard service. I hope someone ...
user822988's user avatar
0 votes
0 answers
325 views

Issues setting up wireguard on an Ubuntu 22 machine

It's the first time I'm trying to set up a wireguard server on a Ubuntu 22 machine and I don't understand what exactly am I doing wrong. I'm using https://github.com/angristan/wireguard-install as an ...
Leeroy Jenkins's user avatar
0 votes
0 answers
483 views

How to keep WireGuard active and connected through suspends?

On a Windows 10 machine I have an always-on WireGuard (0.5.3) VPN connection. Whenever it suspends, the connection is active right after the computer comes back up. How do I achieve the same effect on ...
Damn Terminal's user avatar
1 vote
1 answer
182 views

Ubuntu Server, connected to third-party VPN, cannot be accessed by an external client connected via another VPN

Setup Ubiquiti UDM Pro w/Network 7.4.162 10.2.2.0/24 Server: Ubuntu 20.04 connected to AirPVN eno2 10.2.2.99/32 eno1 10.2.2.101/32 (enabled temporarily to test if adding a 2nd network connection ...
James's user avatar
  • 11
1 vote
0 answers
959 views

How to allow SSH only from WireGuard and one IP

This is production server and I need to add rules very carefully, I don't sure what is correct rule. Currently my UFW rules allow SSH connection from any IP and from WireGuard, also my own IP (YYY.YYY....
John14's user avatar
  • 13
0 votes
1 answer
542 views

How to bypass wireguard vpn except some ports

I have some ubuntu hosts that are connected to a wireguard vpn. Each of them has a openssh server on port 22 and another service that serve in tcp on port 19999. Is there a way that all the traffic ...
Ripper346's user avatar
  • 101
1 vote
0 answers
436 views

Wireguard VPN Client GUI issue

I am not getting the Wireguard option at Settings > Network > VPN > addnetwork(+). Only PPTP and OpenVPN is visible. How can I add the wireguard option there? Screenshot attached enter image ...
Deepak Maretha's user avatar
0 votes
1 answer
199 views

Cann't reach pypi.org

Context: I have 2 machine: VPN Server (Ubuntu 20.04) Host machine (Ubuntu 22.04) Both of them connected throught WireGuard VPN and Host transfer all his traffic throught VPN Server. On Host machine I ...
Андрей Мельников's user avatar
0 votes
0 answers
946 views

How do I make WireGuard work with an Android device

On Ubuntu 22.04, I've used the guide at How to Set Up WireGuard VPN Server on Ubuntu to setup a Wireguard server on Ubuntu 22.04. All Ok except for "4. Test WireGuard": You can now check ...
Manager Rose's user avatar
0 votes
0 answers
120 views

Wireguard failure and unattended-upgrades: plausible explanation?

A Linode hosted Ubuntu 18.04 LTS server acts as a Wireguard VPN. $ uname -r 6.0.10-x86_64-ABCNNN Installation using https://github.com/angristan/wireguard-install is painless and works perfectly with ...
J Evans's user avatar
  • 151
5 votes
2 answers
16k views

Can't add WireGuard VPN connection to Ubuntu Network Manager

I'm having trouble adding a WireGuard VPN connection to the Network Manager on Ubuntu. I've followed several online tutorials and tried different methods, but nothing seems to work. I've installed ...
UbuntuAskz's user avatar
2 votes
1 answer
310 views

How to tunnel all the traffic for one interface through another interface

I have two working interfaces on my ubuntu machine: tun0 - OpenVPN server with the internal address of: 10.8.0.0/24 wg0 - WireGuard peer interface with the internal address of: 10.7.0.0/24 which is ...
Nojan's user avatar
  • 21
4 votes
3 answers
14k views

wireguard error message: resolvconf: command not found

Ubuntu newbie here, with Ubuntu 22.04.2 LTS. My employer uses Wireguard and they sent me the .conf file. The file name is sp.conf, and they clearly told me not to modify it at all. This means I can ...
phil's user avatar
  • 41
0 votes
1 answer
3k views

Wireguard "Unknown device type"

When I run sudo wg-quick up /etc/wireguard/wg0.conf, I see the following error: Error: Unknown device type When I run modprobe wireguard: modprobe: FATAL: Module wireguard not found in directory /lib/...
Hedgehog's user avatar
1 vote
2 answers
28k views

how to remove wireguard

my os is ubuntu 20 i try remove wireguard sudo apt remove wireguard sudo apt autoclean && sudo apt autoremove Package 'wireguard' is not installed, so not removed 0 upgraded, 0 newly ...
xpredo's user avatar
  • 111
1 vote
1 answer
266 views

Can’t run apt update after installing and setting up wireguard

As mentioned in the title, after installing and setting up wireguard I can’t update or install anything on my VPS, I’m running Ubuntu Server 20.04 LTS root@149:~# apt update Hit:1 http://us.archive....
Kristian's user avatar
1 vote
1 answer
3k views

Wireguard suddenly stopped working

About a week ago I managed to run my own Wireguard based vpn server. Everything was fine until a few days ago when I noticed that clients stopped receiving data. Googling the issue didn't get problem ...
Richard Helper's user avatar
1 vote
3 answers
3k views

How can I set up network manager to auto-connect at boot-time to a Wi-Fi and a WireGuard VPN?

How can I set up network manager to auto-connect at boot-time to a Wi-Fi and a WireGuard VPN? I configured Network Manager with 2 connections: a Wi-Fi and a WireGuard VPN. They both work when I start ...
vbee's user avatar
  • 11
0 votes
0 answers
845 views

No internet access with Wireguard

I'm trying to configure VPN with wireguard. My server config: [Interface] PrivateKey = <key> Address = 10.0.0.1/24 ListenPort = 51830 PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t ...
Константин Комиссаров's user avatar
0 votes
0 answers
2k views

wg-quick: public-interface not found

I am trying to configure WireGuard on remote Ubuntu 22.04 server executed the following commands on the Server sudo apt install wireguard Created private and public key on Server wg genkey | tee ...
elk's user avatar
  • 1
0 votes
3 answers
2k views

Problem with WireGuard/tun module after updating Kubuntu to 22.10

After updating my kubuntu (after that I rebooted my device) to 22.10 from 22.04 I am unable to run the wire guard: sudo wg-quick up wg0 [#] ip link add wg0 type wireguard [#] wg setconf wg0 /dev/fd/63 ...
kwit's user avatar
  • 1
0 votes
0 answers
881 views

Cannot resolve LAN hostname when connected using Wireguard

My LAN has a Wireguard server than my laptop connects to from a remote location. | | | | ...
gameveloster's user avatar
0 votes
0 answers
4k views

Configure Wireguard to access LAN but don't route internet traffic through VPN

Currently I have access to LAN through wireguard and internet. How to configure wg0 to have access to LAN but don't route internet traffic through VPN ? My current config (wg0): Address = 10.0.0.1/32 ...
Jason The Dynamite's user avatar
1 vote
0 answers
895 views

How to use WireGuard LAN only?

I have installed WireGuard (using wg-easy Docker image) on Virtual Machine in cloud. And all works fine, I can create clients and connect. WireGuard have subnet 10.8.0.0/24, and all connected clients ...
kowacicet's user avatar
1 vote
1 answer
9k views

Reset network settings to default (particularly DNS)

I have a remote user who switched from Windows to Ubuntu 22.04 and after installing WireGuard and adding the config we provided him, he's having major DNS issues. It's worth noting we have many Linux ...
murphyslawjr's user avatar
2 votes
1 answer
9k views

How do I port forward from my host to docker container?

I am running netmaker which is a wireguard mesh VPN service on a Docker container, and I need port 9981 to be reachable from the Docker container, so that I can access port 9981 via my Wireguard WAN. ...
Paul Barnett's user avatar
0 votes
0 answers
1k views

Help with correct routing for Tailscale/Wireguard - really frustrated!

Running two VPS instances. One in Auckland, and an Oracle Cloud instance in Sydney. Auckland acts as a wireguard server - using PiVPN's build there, and I connect to the Sydney instance via the ...
Paul Barnett's user avatar
7 votes
2 answers
10k views

WireGuard Management in Network-Manager on Jammy

On Ubuntu 20.04 (Focal), I was able to use the instructions outlined in this question to manage my WireGuard VPN connections through the regular Gnome VPN management. However, this is no longer ...
Dakota Brown's user avatar
0 votes
1 answer
1k views

Wireguard on Ubuntu and ios client

I setup Wireguard on a Linode server using Ubuntu. That seems all fine. However, when I use the instructions to create a QR code for my iOS client, and I connect I don't show my server ip in whatsmyip ...
bradrice's user avatar
  • 115
4 votes
2 answers
14k views

Wireguard VPN, no Internet access

I'm trying out Wireguard VPN, and although I believe that I've finally got it to connect, I have no Internet access, and can't ping various sites on the Internet. I took a Wireguard .conf file ...
heynnema's user avatar
  • 71.4k
3 votes
1 answer
11k views

How to setup WireGuard client so only traffice for specific IPs is routed over VPN

I am using the Wireguard VPN client on Ubuntu 20.04 through the network-manager plug-in. The plug-in reads the configuration file I got from the sys admin, which is below (network-manager also handles ...
Joseph Huber's user avatar
0 votes
1 answer
3k views

Connected to WireGuard but don't have access to internet

I try to install WireGuard on my Ubuntu 20.04 LTS server with this config: [Interface] Address = 10.66.66.1/24,fd42:42:42::1/64 ListenPort = 64129 PrivateKey = xxxxx PostUp = iptables -A FORWARD -i ...
reza makhdomi's user avatar
1 vote
2 answers
2k views

What is safer: Wireguard on Router or on Server behind Router

I am currently setting up my home server and I was wondering if there are any advantages/disadvantages to either of these approaches: Wireguard on Router Server behind Router Does it even matter at ...
FMP's user avatar
  • 13
1 vote
1 answer
3k views

Ubuntu 20.04 Network Manager Wireguard DNS Leak

I added my Peer-Config from Wireguard to Network Manager manually: [Interface] Address = 10.13.13.5 PrivateKey = key ListenPort = 51820 DNS = 10.13.13.1, lan [Peer] PublicKey = key Endpoint = ...
steelmann's user avatar
0 votes
0 answers
95 views

Wireguard Ubuntu Server Virtualmin FirewallD Connectivity

Does anyone know of any Ubunut Server 20.04 and/or Virtualmin related aspects that can interfere / block a wireguard connection? Problem: All settings verified as correct. Client just can not connect....
nightwatch's user avatar