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
1 vote
0 answers
15 views

Cannot reach internet from wireguard connection in networking namespace

I am following this blog post to experiment with wireguard and networking namespaces on my machine running the Linux Kernel version 5.15.32: https://www.ismailzai.com/blog/creating-wireguard-jails-...
PhilBot's user avatar
  • 79
0 votes
1 answer
18 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
11 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
226 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
25 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
30 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
25 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
43 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
252 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
63 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
0 votes
0 answers
590 views

WireGuad: wg-quick: `/etc/wireguard/wg0.conf' does not exist

I am trying to setup VPN on my server with help of WireGuard. I am following this tutorial https://upcloud.com/resources/tutorials/get-started-wireguard-vpn After my actions I have this ERROR ...
mascai's user avatar
  • 109
-1 votes
1 answer
227 views

Wireguard client connects but not work

I set a Wireguard server on Ubuntu 22.04 64bit. All things work perfect and client connects to server, but Transfer received is very low and not working. Transfer : 1.02 KiB received, 242.96 KiB sent ...
Sasan's user avatar
  • 99
1 vote
2 answers
822 views

WireGuard: one of the peers can’t ping other peers, but handshake works and other peers can ping each other

I’ve recently set up WireGuard on a server using wg-easy (so the config files are generated, not typed out by hand) and I successfully connected a couple of peers, including Linux computers. The last ...
Pic's user avatar
  • 131
0 votes
1 answer
469 views

Debian 12 Wireguard VPN not working/too slow

I installed Wireguard on Ubuntu 22 server via this script. After the installation I scanned QR code from my Android phone and tried it - VPN worked perfectly fine. Then I created a different user for ...
lacinquette's user avatar
0 votes
1 answer
116 views

VPN Connection only for one IP address

The VPN client just should have a connection to my server with ip address 192.144.12.42 and all another internet requests shouldn't go through the VPN connection. So only the IP address 192.144.12.42 ...
Qeychon's user avatar
  • 141
0 votes
1 answer
42 views

Iptables MASQUARADE seems to return the "RESULT" on The Internet instead of the demanding interface

I am trying to do an iptables masquerade from a WireGuard Interface and the Internet. It used to work but lately, I did add a few (just four) WireGuard Interfaces, and it stops working for all of ...
JYL's user avatar
  • 1
0 votes
0 answers
65 views

Why can't it resolve the domain name?

Here is part of the Wireguard systemd service file. [Unit] Description=WireGuard via wg-quick(8) for %I After=network-online.target nss-lookup.target Wants=network-online.target nss-lookup.target ...
Alexis's user avatar
  • 617
1 vote
0 answers
240 views

KDE Connect can't see the other device while Wireguard VPN is enabled

My setup is as follows: Debian/KDE laptop computer, connected to the local network with local IP 192.168.178.25 Raspberry Pi, connected to the local network with local IP 192.168.178.35 AND runnning ...
Ddddddd's user avatar
  • 11
0 votes
1 answer
126 views

How to make wireguard exclude port 80 from tunnel

I am running a Debian VPS host My regular public IP is $A Under Wireguard VPN my public IP is $B I have services accessible on ports 4040 and 5050 on $B I want to access port 80 from $A while ...
jf4i2d's user avatar
  • 53
1 vote
0 answers
251 views

Systemd service fails to run firewall-cmd

I recently set up wireguard on my Fedora-38 machine and started it using systemctl start wg-quick@wg0 which worked perfectly fine until now. When I start the service I see the following error message: ...
minils's user avatar
  • 163
0 votes
0 answers
486 views

DNS leak over Wireguard due to NetworkManager

I recently setup a VPS to run PiHole and Wireguard. One a system (running Pop OS 22.04 with kernel 6.2.6) connected to the VPS and with the VPS set as the gateway and DNS (it is running a local ...
pSYoniK's user avatar
0 votes
1 answer
401 views

Wireguard routing issues IPv4+IPv6

I'm trying to get a "simple" VPN working between two Linux boxes using Wireguard. Unfortunately, existing tutorials I've found weren't that helpful, because they usually A) only set up IPv4 ...
Florian Bach's user avatar
3 votes
1 answer
370 views

In addition to `ip rule`, `ip route`, `iptables`, is there anything else that could affect routing and packet filtering in linux?

Recently I'd like to set CF WARP client on my VPS, but encountered a strange problem. I’m not sure if this is the right place to ask this question, if not I’m very sorry and delete it. Background: I ...
chansey's user avatar
  • 141
0 votes
1 answer
73 views

Wireguard with identical remote LANs: policy-based routing or network namespaces?

I have a server with multiple WireGuard VPNs. Each VPN is independant from others, no connections between them. Some VPNs are connected to remote LANs with same address space. For example I have ...
Gregory MOUSSAT's user avatar
1 vote
0 answers
101 views

wireguard killswitch is not properly working for me

I have a server on where I use wireguard. On this server I have a killswitch set up which seem to be working properly in case the wireguard connection drops. But when I update my ubuntu 22.04 server ...
gunelinx's user avatar
0 votes
0 answers
406 views

How to limit Wireguard bandwidth

I have Debian 11 server with installed Wireguard with wg0 interface and 3 peers. Server bandwidth speed is 100 MBit and traffic is around 500 GB per month. What I need is: these 3 peers can use 100 GB/...
Space's user avatar
  • 1
1 vote
1 answer
2k views

Wireguard over TCP tunnel at 443 port, blocked ports bypassing, solution for OpenWRT

I'm facing a problem - I would like to connect many embedded devices with OpenWRT to my Wireguard server, but all the ports except 80, 443 and some others are blocked. Moreover only TCP is allowed in ...
Sink's user avatar
  • 11
0 votes
0 answers
345 views

How to properly configure iptables with wireguard?

I have two vms (server,client) connected to the network 10.0.0.0/24 and running wireguard, the server has the following config [Interface] PrivateKey = <server_private_key> Address = 172.0.0.1/...
misfit's user avatar
  • 1
0 votes
0 answers
144 views

OpenVPN and WireGuard clients lost internet access despite no configuration changes to them nor server

For a few years both OpenVPN and WireGuard VPNs worked without any issues on my private Fedora server. I connect from mobile and Windows clients. Within the last few weeks both the VPNs lost access to ...
p.h.'s user avatar
  • 51
0 votes
1 answer
3k views

"Job for [email protected] failed because the control process exited with error code"

I am trying to install wireguard on Ubuntu 18.04 64 bit, following one of the video tutorials. Step systemctl start [email protected] finishes with Job for [email protected] failed because the ...
Ildar Meyker's user avatar
0 votes
0 answers
231 views

wireguard vpn: can only ssh in one direction

I have a wireguard server on a AWS EC2 instance. It allows multiple wireguard client machines to successfully connect to each other via ssh. My problem: I cannot ssh from my laptop (at home) to any ...
mcExchange's user avatar
4 votes
0 answers
1k views

Wireguard how to route internet through a peer which is behind NAT

I have two linux laptops A (10.0.0.2) and B (10.0.0.3) with dynamic/behind NAT ip addresses that connect to the same wireguard server/endpoint(S (10.0.0.1)) with static ip address. How can I route the ...
mike's user avatar
  • 161
2 votes
1 answer
587 views

WireGuard : How do I route VPS PUBLIC IPs traffic through tunnel to home router/firewall for public facing self-hosting services?

WireGuard : How do I route VPS PUBLIC IPs traffic through tunnel to home router/firewall for public facing self-hosting services? What a terribly long and wordy question to ask. Long Story: After 10+ ...
I Own I Owe Oh My's user avatar
0 votes
0 answers
162 views

Assistance routing external incoming traffic to interface

I need assistance creating a ip route that forces traffic coming into my VPS's public IP on port 27016 or 3202 to my Wireguard VPN tunnel. For context, I created this VPS to allow me to expose my ...
depoultry's user avatar
0 votes
0 answers
817 views

WireGuard - How to route internet traffic through a mobile peer?

I have wireguard installed on three devices: an iOS device connected to the internet using LTE a laptop connected to the internet using WiFi(behind NAT) a remote server with static IP So far my ...
mike's user avatar
  • 161
0 votes
1 answer
92 views

why is proxied TCP traffic much faster than routed/VPNed TCP traffic

I have a VPS which can download a file from Server X at 2gbps. I have a home internet connection which can download a file from the VPS at 1gbps, but from Server X at only 100mbps. If I use a SOCKS ...
Mir's user avatar
  • 1
1 vote
1 answer
2k views

Does Wireguard postup/predown really work as a "kill switch"?

I've commonly seen people use the postup and predown commands inside wireguard configs to implement a "kill switch", blocking any connections that don't go through Wireguard. Here's an ...
candida2038's user avatar
0 votes
0 answers
194 views

Wireguard mesh with star-shaped failover

I'm currently trying to convert my star-shaped wireguard setup into a mesh-based one with a single server as a fallback node if the direct routes are not reachable. The goal is to reduce latency and ...
overthinker's user avatar
0 votes
0 answers
214 views

Wireguard site-to-site routing opnsense

I have Wireguard running in docker container (wg-easy) on VPS, the other machine connected is home server running opnsense. VPS: local network is 10.0.0.0/24 local address is 10.0.0.73 Wireguard: ...
jux1e's user avatar
  • 1
0 votes
0 answers
514 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
0 answers
401 views

How to route traffic from specific IPs/network interface into a commercial VPN wireguard interface?

I am trying to acheive a setup where I have a Tailscale network of my devices that can route to a VPS on my Tailscale network which is an exit node, but the exit node can then forward the relevant ...
Nauxk's user avatar
  • 11
0 votes
1 answer
6k views

No internet when wireguard is connected

I’ve been using F37 for a while since it was released and Wireguard was working fine. This happens right after the latest update yesterday. My laptop Wireguard config: [Interface] PrivateKey = ...
AFwcxx's user avatar
  • 137
0 votes
0 answers
162 views

Is there a good way to balance UDP packets over multiple ports?

I'm not really sure where to turn, so I'm hoping that someone can help me out. My ISP is very aggressive with various types of throttling. It throttles UDP traffic by port. With incoming UDP traffic ...
Mir's user avatar
  • 1
0 votes
1 answer
731 views

wireguard server MAQUERADE/SNAT low iptables traffic statistics

I have set up my home Ubuntu 22.04 server as a wireguard server. I connect to it from a Ubuntu 22.04 laptop wireguard client, from the internet through my home network firewall to the wireguard server,...
storestyggeulv's user avatar
3 votes
1 answer
1k views

Wireguard specify listen address

Is there a way to configure the Linux wireguard module to only listen on a specific IP address for incoming connections instead of it's default of listening on all available addresses? I cannot find ...
Scoopta's user avatar
  • 1,470
0 votes
0 answers
97 views

Why does my customized wireguard config from Mullvad output "too few arguments"?

I have a wireguard config with a killswitch that I downloaded from Mullvad. I split the PostUp and PreDown commands into two lines so its more readable. With just that change, wg-quick up <config&...
TabsNotSpaces's user avatar
1 vote
0 answers
28 views

Why is my browser showing me the wrong site when I put in a certain IP - but just over wifi?

ADDITIONAL Information: My ISP wifi router is a second DHCP server (since I can not disable it). The problem just comes up when I am connected via wifi. If I am connected via ethernet it works well so ...
bomben's user avatar
  • 427
1 vote
1 answer
4k views

Linux router with traffic forwarding over a wireguard tunnel

I have two location running ArchLinux servers. Remote location is NATed by local ISP's router. ISP over there doesn't provide public IP address so router has the 10.0/16 ip address and there is no ...
Jigar Patel's user avatar
0 votes
0 answers
43 views

forward incoming traffics from VPN to another VPN

I have two servers(a Linux(Ubuntu) and a MikroTik). these two servers are connected to each other via GRE Tunnel, and they can ping each other without any issues. IPs on GRE Tunnel: Linux: 11.11.11.1/...
Fredy's user avatar
  • 1
1 vote
0 answers
121 views

Very strange routing lags on Keenetic Entware

So, Keenetic Hopper with Entware. I have written several scripts for selective routing. All these scripts work fine, no runtime errors, and the routing works. Ping via Wireguard works fine, but ...
NukDokPlex's user avatar