Skip to main content

Questions tagged [wireguard]

Questions specific to Wireguard VPN in general, such as setup or functioning question. Use this tag if your question involves directly Wireguard VPN technology; do not use it if you just happen to be using Wireguard and your question is about a specific network configuration.

Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

Mozilla VPN on Debian over Comcast Xfinity X8B-T modem - no connectivity when connected to VPN server

Mozilla VPN (based on Wireguard) connects to the chosen server, but then I can't reach any website (timeouts). As soon as I disconnect from Mozilla VPN server, connectivity resumes. How to fix it? It ...
likewise's user avatar
  • 570
0 votes
0 answers
24 views

Configure libvirt VPN to connect through WireGuard VPN through the host without the host being on the VPN

Here is my system configuration: Debian stable + KDE virt-manager 2x VMs using bridge network so they get an IP on my LAN and the rest of my network can see them I want to create 2+ more VMs that ...
IMTheNachoMan's user avatar
0 votes
1 answer
72 views

How to declare systemd dependency for a nspawn service that depends on WireGuard interfaces?

I have a nspawn service that needs to take a WireGuard interface from the host. fw0.nspawn [Network] Interface=wg0 According to nspawn man page, I will also need this systemd drop-in. [Unit] Wants=...
Waiho's user avatar
  • 33
0 votes
2 answers
97 views

Wireguard and Ubuntu 22.04. Forcing traffic from port 25 over VPN

So Im hosting a server in a docker container which is a client in a VPN network. I Cant send any egress traffic out of port (say ummm 52) through the host. That box is a client to a wireguard server. ...
Nimrod5000's user avatar
1 vote
0 answers
21 views

Wireguard not routing traffic back

I have 2 Ubuntu Servers with wireguard setup on them . one server is acting like middle man . so clients traffic is routed to middle server and middle server route them to the other server(I call it ...
alien's user avatar
  • 11
0 votes
0 answers
29 views

block certain urls on my VPN server using iptables

I have a private VPN server. Users have multiple ways to connect to my server: wireguard, shadowsocks. I want to restrict my users from accessing some sites. As I understand, the most common way - is ...
asdlfkjlaksjdhfl's user avatar
0 votes
0 answers
33 views

Cannot get wireguard to connect [duplicate]

I'm trying to turn my pi into a home VPN with wireguard, but cannot get it to work, despite not receiving any errors. My pi is connected to my home router via Ethernet cable, and is given ip 192.168.1....
Rachel1983's user avatar
0 votes
1 answer
186 views

Why does Wireguard break my internet access when I run wg-quick up wg0

Im trying to use my raspberry pi as a wireguard server. When connecting my raspberry Pi to my router via Ethernet cable, my router assigns pi to ip 192.168.1.35 Ive confirmed the pi receives internet ...
Rachel1983's user avatar
1 vote
1 answer
138 views

After rebooting Ubuntu, wireguard clients can no longer connect to other hosts on my network

I'm a homelabber. I've had a WireGuard VPN running without incident for about 16 months. It runs on a Ubuntu Server installation within a VM. The hypervisor is byhve running on TrueNAS CORE. Ever ...
Yoshi Walsh's user avatar
2 votes
1 answer
111 views

How to configure a WireGuard client to interact with two distinct servers?

I want an unmanned WireGuard client to work with redundant WireGuard servers. Physical: I have a master database server in a VPS of provider A in the USA. I have continuous replication running to a ...
Martin Bramwell's user avatar
1 vote
1 answer
184 views

How to setup a dedicated NordVPN router and gateway on linux?

The problem is this: The only officially supported router configuration for nordvpn is to use a static config file and openvpn. That doesn't work for me. The question: Using linux, how does one setup ...
theOtherLukeN's user avatar
0 votes
1 answer
23 views

Forcing container to route outbound through VPN - source-based routing not working

I need to ensure outbound traffic from a specific (Docker) container is tunneled through my (WireGuard) VPN (running on my VPS) to exit to the Internet with my VPS external IP, but I am not being ...
LaXiS's user avatar
  • 1
1 vote
0 answers
40 views

Wireguard config to access local network hosts/whole internet

I'm having trouble with what I think is a simple Wireguard setup. Goals: access local network hosts from my Android device (I don't want to forward all traffic). forward all traffic through the VPN ...
koichirose's user avatar
0 votes
0 answers
133 views

Wireguard client incoming packets drop

I have a home server running Ubuntu Server. I'm running some services on docker which need a VPN client for anonymity. The wireguard client runs as a standalone application. I'm running traefik to ...
Randy Peeters's user avatar
1 vote
0 answers
139 views

How does all traffic go through wireguard?

I'm trying to understand how all traffic on my machine gets routed through wireguard when I connect to a wiregurad VPN. See outputs below of ip route ip a s, and ip rule. My VPN was set up using my ...
EarthIsHome's user avatar
0 votes
0 answers
140 views

How to use AFWall+ to forward packets through a wireguard VPN to a tethered device?

situation is pretty simple, but I've spending the last 3 days trying to find a solution to this with no luck. I have a printer at home that I need to have access to from my laptop. The printer is in a ...
Daniel Cohen's user avatar
0 votes
0 answers
99 views

How to update noip DDNS while wireguard VPN is running?

I have a debian router that gives my entire house VPN access, it connects to the server that is in my parent's home in another city with wireguard. I need to do this because of firewall issues. ...
D. Ip's user avatar
  • 1
0 votes
1 answer
42 views

Problem upgrading after trying to install wireguard in Devuan Chinera

Trying to install wireguard / wireguard-tools on a Raspberry Pi3b running Devuan Chimaera. Get blocked in generating the system images --- see below: dpkg: error processing package linux-image-rt-...
Michel Bouckaert's user avatar
0 votes
0 answers
31 views

Home Assistant OS + Wireguard Client addon = IP Masquerading not working correctly

I installed addon wireguard-client on my Home Assistant OS on Raspberry Pi IP masquerading is not working; I cannot access other devices on my local area network traceroute stops at 10.10.1.2 instead ...
jotyhista's user avatar
1 vote
1 answer
145 views

Two different wireguard tunnels wg0 and wg1 via wlan0 and eth0 to the same wan ip

I have following config: two interfaces eth0 connected via ISP1 and wlan0 connected via ISP2 to the internet. Both connections have different IP addresses and allow internet connectivity. I setup two ...
Bojan Vukasovic's user avatar
0 votes
0 answers
40 views

Issue understanding iptables (they do the opposite I was expecting)

I have a wireguard intergafce wg1 where I call PostUp = /etc/wireguard/postup.sh. My postup.sh looks like this: WIREGUARD_INTERFACE=wg1 WIREGUARD_LAN=10.0.0.0/24 MASQUERADE_INTERFACE=eth0 CHAIN_NAME=...
Hellmann's user avatar
0 votes
1 answer
111 views

Outgoing docker packets not respecting routing rules

I have a private docker host (A) connected via a Wireguard tunnel to a public "router" in a cloud environment (B). Wireguard: (Docker Container) eth0 172.17.0.2 | docker0 172.17.0.1 (A) eth0 ...
TheChubbyPanda's user avatar
0 votes
1 answer
575 views

Wireguard - LAN machine unpingable (Destination Host Unreachable) but DNS traffic reaches LAN PiHole/Unbound

Summary: LAN address resolution works on some wireguard clients (my andorid phone) but not others (my linux laptop). Details: I have wireguard running on two different Pi's (main and fail over - ...
Opt6594's user avatar
6 votes
2 answers
2k views

Why is my LAN cable opening an UDP port on my computer?

OS: Debian 12 I'm working on my OPSEC pretty often because security is very important for me. Now I have a new router which opens a port on my computer when I plug in the LAN cable. When I disconnect ...
clooney's user avatar
  • 81
0 votes
1 answer
114 views

docker, iptables and wireguard: what approach to pick?

Thanks to some help in a previous thread, I have managed to track down a specific issue, but I am not sure how to approach the potential fix. To summarize the issue: docker on my server seems to break,...
Anta's user avatar
  • 1
1 vote
1 answer
182 views

Wireguard cant read wg0.conf on share

I have a virtual fedora server running using libvirt and have shared a directory from the host using virtiofs. hostshare /etc/wireguard virtiofs rw,relatime 0 0 The dir in the guest is mapped to /etc/...
Christian's user avatar
  • 2,205
0 votes
0 answers
82 views

WireGuard: what is the default value/behavior for AllowedIPs

I'm trying to understand the use of AllowedIPs in WireGuard, because I had trouble with route setting under wireguard-relayed scenario. An simplified example: Server side: [Interface] Address = 172....
xrfang's user avatar
  • 215
0 votes
0 answers
97 views

Is it possible to configure NginX reverse proxy for udp Pritunl traffic?

Pritunl server configured on Ubuntu VM inside LAN with IP 192.168.1.20. Pritunl uses process: pritunl-web on 443 TCP port: tcp LISTEN 0 4096 *:443 *:* ...
linuxxoid's user avatar
  • 111
0 votes
0 answers
53 views

Wireguard through openvpn

I'm a total noob in networking but need to connect 2 VPN. OPENVPN-CLIENT: Connected to cyberghost WIREGUARD: I use it to connect to my remote server I want wireguard to be routed through openvpn-...
T00rk's user avatar
  • 101
0 votes
0 answers
175 views

Wireguard Client to Server to Site VPN

So, i've got a little project on hand where i don't really see what I am doing wrong. TLDR; wireguard vpn doesn't forward icmp package back to target host I'm trying to setup a wireguard vpn as a ...
Klay1337's user avatar
1 vote
0 answers
64 views

Wireguard can't access other peer's network from one peer only

I setup the wireguard tunel between two houses. One house has a FritzBox (managed router) with 192.168.168.0/24 network, and the other one runs Linux machine behind router on 192.168.1.0/24 network. I'...
Nemanja Boric's user avatar
1 vote
1 answer
630 views

Wireguard not working on ubuntu 22.04

I have wireguard config file which i successfully using on my android phone, but it is not working on my laptop. it connects but doesn't work. How can i fix it? Please, help me. [Interface] PrivateKey ...
Никита Смяцкий's user avatar
1 vote
1 answer
1k views

How to get Wireguard VPN to connect over Tor?

The following Mullvad documentation describes how to get an OpenVPN VPN to connect over Tor: https://mullvad.net/es/help/tor-and-mullvad-vpn/ I would like to achieve the same result but using ...
carolstanley76's user avatar
0 votes
0 answers
71 views

Wireguard - unable to use wired interface

I've configured wireguard server and client to work using the wifi interface (wlan). When plugging into my router via a cable, i'm unable to establish a connection/handshake on connected interface ...
user53150's user avatar
1 vote
1 answer
89 views

The IP address of the server is modified in relation to the client once the VPN connection is established using WireGuard

I've a below wireguard configuration at the server side [Interface] ListenPort = 51820 PrivateKey = oPernzzF+Kl499z2TMwemZLUN6/e630Q= [Peer] PublicKey = yyhY5Blx+PxCHu/wK7QgiL/veRrXHQ34RmTi//zynVA= ...
SOUBHEEK NATH's user avatar
1 vote
1 answer
2k views

Wireguard VPN handshake successful but no traffic/ ping

I have set up WireGuard VPN on my router (FritzBox) and added the VPN config to my Manjaro Gnome notebook. My router in the LAN at home is available on 192.168.0.1. [Interface] PrivateKey = xxxx ...
Mayor Mayer's user avatar
1 vote
1 answer
184 views

OpenBSD and Wireguard hub and spoke: spoke to spoke communication

I have successfully set up an OpenBSD system running Wireguard [wg0] which I have designated "the centre" at 192.168.100.1/24. I also have clients successfully running Wireguard, of various ...
Christopher Causer's user avatar
1 vote
1 answer
938 views

Can I run PIVPN with Wireguard without MASQUERADING?

When installing pivpn on Raspberry Pi it will create an iptables rule: pi@RPi64:~ $ sudo iptables -L -t nat ...
bomben's user avatar
  • 509
0 votes
0 answers
99 views

Some services hang randomly on my linux server (except VPN for some reason)

Ok, this is a bit strange. I have a Fedora linux server on which run various services. Some example are: Nginx reverse proxy Wireguard VPN (runs inside a docker container) SSH Fedora Cockpit UI ...
Edoardo Fiocchi's user avatar
0 votes
0 answers
79 views

Understanding routing rules with wg-quick in a private network namespace?

I've been trying to wrap my head around this for several days now, so I drew a picture (at bottom of post). Context I have a VPS with two namespaces: init namespace (root) custom namespace (my cool ...
user38643's user avatar
  • 101
0 votes
1 answer
357 views

Bind9 REFUSED on same server

I have a local BIND9 DNS server running in a Docker container. In another container I have Wireguard running, which I use to connect to my home network from outside. The issue I'm running into is that ...
Nebula's user avatar
  • 101
0 votes
1 answer
198 views

Allowing internal address to be accessed via wireguard vpn

This question has been asked a few times and I've spent plenty of time on ChatGPT trying to figure it out. I have three machines: RP zero that has Wireguard VPN and a Fluidd dashboard that can be ...
Jaeger's user avatar
  • 101
0 votes
0 answers
49 views

Need help with Wireguard allowedip/pre/post settings

I started playing with wireguard on a pfsense router to try to see if I could overcome a CG Nat on a hotspot I want to use when visiting my mother a couple hours from home. I stay in an RV when up ...
Scott's user avatar
  • 151
0 votes
0 answers
1k views

Package linux-headers-6.1.0-12-amd64 is not configured yet

I'm running proxmox host 8.0.4 on debian 12 - 6.2.16-10-pve One of my LXC running debian 12 6.2.16-10-pve, cant do any apt use If I try to install any package I got this error dkms: running auto ...
seserize's user avatar
1 vote
0 answers
135 views

Performance problems when running Wireguard between virtual machines

I’m running into performance problems with Wireguard tunnels running between two virtual machines on the same hypervisor (running under Qemu/KVM) and I would greatly appreciate any insights/advice ...
Tulkas's user avatar
  • 53
0 votes
1 answer
188 views

Wireguard no internet after enablling Kill Switch [closed]

Everything worked smoothly until a few days ago when on Linux Mint (Ubuntu / xfce) while enabling the kill switch on Wireguard, I couldn't access the internet. [Interface] PrivateKey = ************ # ...
Milan Grujić's user avatar
0 votes
0 answers
37 views

WireGuard stops listening on my public IP once I change gateway

I have a TurnKeyLinux (Debian) WireGuard vm set up. Let's say the WAN address is 1.2.3.4, my WireGuard VM is 192.168.0.10 and the gateway is set to my cablemodem 192.168.0.1 Ports are open as required ...
espresso fan's user avatar
0 votes
1 answer
254 views

Wireguard does not work when eth0 is up

Setup Router as Wireguard server on my network Raspberry Pi OS: Raspbian Buster connected to a mobile hotspot via wifi (interface wlan0) et0 set to static IP to control a device with static IP ...
Marius's user avatar
  • 1
2 votes
1 answer
1k views

How can I configure a podman container to use my wireguard interface only?

Using wg-quick with the Table=off setting, I managed to set up a non-default interface wg1 on on linux bookworm machine that works as I expect it to: curl ifconfig.co return my real IP. curl --...
nicoco's user avatar
  • 419
0 votes
0 answers
206 views

Wireguard: Access Raspberry Pi from Windows 10 through local network

To preface, I am very much a noob when it comes to networking, so bear with me. I am trying to access files on my Raspberry Pi from Windows 10. I will eventually have a system setup to automatically ...
FizzyD's user avatar
  • 1