Questions tagged [wireguard]
352 questions
1
vote
1 answer
WireGuard default route in AWS ECS container
I have a container inside an AWS ECS instance.
I want to establish a connection to a WireGuard server from that container.
The connection itself works but I have issues with routing all the traffic from that container through the wg0 interface.
If I…

Andrei Glingeanu
- 111
- 3
1
vote
0 answers
Allow forwarding only between VPN clients within the same subnet mask
I am using Wireguard (interface wg0) for a VPN on a server, where all connected clients have IPv6 addresses assigned by the server (controlled by AllowedIPs).
Let's say we have three clients:
Client A, with 7767:1::a
Client B, with 7767:2::b
Client…

Yeti
- 279
- 1
- 4
- 15
1
vote
0 answers
Wireguard - Clients need to make many attempts to connect before receiving data back
I have a vanilla wireguard configuration - a cloud VPS running Centos stream is the server, and the clients in question are MacOS and an iOS iphone.
Often when attempting to connect after a long period of not using the VPN, there's no issue and the…

Christian
- 11
- 2
1
vote
0 answers
Wireguard not working on linux ubuntu
I have setup a vpn server in my house using pivpn and wireguard on a raspberry and I want to connect to it when I'm away.
I have generated the wireguard configuration which is working on all my devices (android, windows, macos) but not on linux…

Isky
- 121
- 2
1
vote
1 answer
Whitelist cgroup from wireguard VPN
I have a wireguard VPN, setup and enabled through NetworkManager, called wg0. I want to allow a program to access the internet directly without going through the tunnel. For this I’m trying to match by cgroupv2
Here’s what the routing looks like:
>…

Cimbali
- 183
- 8
1
vote
0 answers
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/month traffic at top speed (meaning no bandwidth…

Space
- 11
- 1
1
vote
2 answers
Cannot connect to Samba share via VPN
I have a Wireguard site-to-site VPN that connects successfully.
I can ping the remote Samba server using it's IP address 192.168.30.1
I cannot access a share over the VPN tunnel using its IP address \\192.168.30.1\disk
Some background;
Two ASUS…

Dennis
- 677
- 1
- 9
- 23
1
vote
0 answers
Wireguard - Setup server to allow connection to LAN but not route internet
I am trying to learn WireGuard. I see many tutorials online for how to have internet and local network access over WireGuard. However, what I would like is a connection where the peer can access my home network, but still uses the peer's own…

Boosted1g
- 11
- 3
1
vote
1 answer
Using Wireguard to route traffic via server
I'd like to use Wireguard on my VPS server to tunnel my http/https traffic and have a fixed IP.
I tried using the tutorial on the Digital Ocean (https://www.digitalocean.com/community/tutorials/how-to-set-up-wireguard-on-ubuntu-20-04) but I can't…

Lucas Veiga
- 111
- 4
1
vote
0 answers
Wireguard connectivity between handshakes
I've been having this really weird issue. I'm running WG on a VPS and on my macbook.
I run WG on the linuxserver container on a debian host.
The connection is great, the speed is good, everything works really well.
I've noticed though that every…

Lorenzo Piccoli Módolo
- 111
- 3
1
vote
0 answers
Use wireguard client as default gateway of another (server in docker)
almost same as this article
Wireguard use one client as gateway of another
but i have wireguard in docker so i can't understand how to solve my routing problem
peer1 --- wireguard_server(in docker) --- peer2 --- internet
peer1:…

a1dude
- 11
- 3
1
vote
0 answers
How to make Wireguard and Tasilscale coexist on the same machine?
Seems that restarting the wg service always creates a routing table with higher priority than Tailsales which results in the inability to. connect to the machine via Tailscale until both services are stopped, firewall rules are flushed and services…

dzhi
- 800
- 3
- 10
- 26
1
vote
0 answers
How to isolate interfaces on a wireguard proxy server
I have a Wireguard server that I want to act as a public proxy to all my WG VPNs.
My first wg config (wg0) is a standard road warrior scenario. This is the setup:
ProxyPeer - wg0 address 10.0.0.1, publicly reachable
LANPeer - inside of LAN…

hKaspy
- 11
- 2
1
vote
1 answer
which Wireguard MTU is chosen when each side has a different MTU value?
tl;dr given a Wireguard client and server with different MTU values, which value is used?
Given a Wireguard "client" with configuration file
[Interface]
MTU = 1440
...
and a Wireguard "server" with configuration file
[Interface]
MTU =…

JamesThomasMoon
- 725
- 2
- 5
- 24
1
vote
0 answers
I cannot use internet and there is no connection after activation of Wireguard
I am really noob in this field. I am trying to carry out a server to develop a domotic center with home assistant. The point is that I would like to access remotely to this server because it is in a country house. To do so, I was trying with…

alberto xD
- 11
- 2