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
-1 votes
0 answers
21 views

Setting up a VPN (WireGuard) peer in Mantic's Network settings

I'm trying to set up WireGuard VPN on my home network. The server is working fine (as far as I can tell) but when I start the client on my laptop I lose Internet connectivity. I looked at the Network ...
Ken Wright's user avatar
0 votes
1 answer
136 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
  • 101
0 votes
0 answers
130 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
294 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
157 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
113 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
123 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
390 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
280 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
156 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
0 answers
82 views

Wireguard doesn't connect to internet anymore, any suggestions?

I have dual booted my HP OMEN laptop using 2 separate M.2 SSDs, I was on windows and using Wireguard (Tunnel ABC.conf) and left it running and went off to sleep then it shutdown by itself due to low ...
Saiprasad Hakki's user avatar
0 votes
1 answer
83 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
528 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
90 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
2 votes
1 answer
8k 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
1 vote
1 answer
187 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 A.'s user avatar
4 votes
3 answers
5k 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
2k 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
0 votes
2 answers
14k 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
  • 101
0 votes
0 answers
201 views

Bridge and Wireguard network config

I have Intel NUC with WireGuard client. It works fine. I want to connect another machine via NUC by Ethernet and WireGuard. (Router) <----> NUC (Ubuntu + VPN client) <----> Another Linux ...
dart's user avatar
  • 101
1 vote
1 answer
191 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
1k 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
0 votes
0 answers
400 views

Config Wireguard server to use a socks proxy to access internet

There is a Wiregurad server that is working perfectly, but we need that Wireguard's server connect to the internet using socks proxy through the second server and ONLY Wireguard, Not other programs ...
AmyyazdaN's user avatar
  • 101
1 vote
2 answers
2k 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
585 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
1k 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
613 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
2k 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
615 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
6k 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
0 votes
1 answer
5k 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
819 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
6 votes
2 answers
9k 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
787 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
12k 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
  • 69.7k
2 votes
1 answer
8k 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
2k 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
1k 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
2k 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
80 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
1 vote
1 answer
2k views

Wireguard client and redirect VPN traffic to ETH

I have for project to create a site to site VPN with wireguard and two Raspberry Pi 4 Site A- UniFi UDM PRO - Raspberry Pi WG server ------ Site B UDM PRO Raspberry Pi WG client. the Pi have only one ...
Kevin's user avatar
  • 165
0 votes
0 answers
1k views

Wireguard handshake

I have 3 Ubuntu servers.All of them are running 21.10. (Linux Nas1 5.13.0-1016-raspi #18-Ubuntu SMP PREEMPT Thu Jan 20 08:53:01 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux) One is the wireguard server ...
Kevin Connolly's user avatar
0 votes
1 answer
24 views

command subsitution doesn't work when issued from ssh

I have an Ubuntu vps to which I connect from my laptop that also runs Ubuntu. When I ssh root@server to my server I can successfully run the following command: root@server:~# wg set wg0 peer $(cat /...
PouJa's user avatar
  • 71
1 vote
1 answer
2k views

VPN/WIreguard forward traffic internally as well as externally

This may be more of a Linux firewall question, but the context is the Wireguard VPN setup on Ubuntu. Note, I'm barely getting acquainted with a lot of this stuff. I have Wireguard up and running on ...
Paul G's user avatar
  • 13
2 votes
1 answer
6k views

Wireguard client can not connect to internet

I have installed Wireguard with following commands: sudo apt update sudo apt install wireguard Then I have installed resolvconf: sudo apt install resolvconf Created keys: umask 077 wg genkey | sudo ...
AlwaysLearningNewStuff's user avatar
2 votes
2 answers
4k views

Failed to resolve interface "tun": No such device

I'm trying to use wireguard, but when I try to use it with wg-quick up I get the error. wg-quick up test Warning: `/etc/wireguard/test.conf' is world accessible [#] ip link add test type wireguard [#] ...
Kurosh Ghanizadeh's user avatar
0 votes
1 answer
355 views

Connect laptop to home network using wifi-hotspot on iPhone

Looking for some guidance/thoughts here. I'm going on vacation and will be bringing my laptop which runs 21.04. I use wireguard on my iPhone to connect to my home network whenever I need to access ...
user2012661's user avatar
4 votes
2 answers
13k views

VPN Wireguard - handshake ok but no internet and LAN access

I have a problem with wireguard setup. After setup up I can connect to my device. Handshake is ok but I cannot accesss internet and lan. Device: raspberry pi 4b 8gb ram OS: Ubuntu server ARM x64 20.04 ...
Jason The Dynamite's user avatar
1 vote
0 answers
3k views

Cannot modprobe wireguard on Ubuntu 20.04

Update: This seems to be a problem with my hoster (1blu). Loading the module works perfectly fine on my local computer and on my other server (a different hoster). I cannot make wireguard work on my ...
alinuxexpert's user avatar