Questions tagged [wireguard]
352 questions
3
votes
3 answers
Chaining WireGuard Servers: Can ping both from client, but can't access internet. IP routing issue?
I am attempting a chained/double-hop VPN setup where all client traffic passes through 2 servers before reaching the internet:
Client → Server1 → Server2 → Public Internet
All peers are on these private address blocks: 10.103.213.0/24 (IPv4) and…

its_me
- 225
- 1
- 7
- 23
3
votes
2 answers
Routing only the private network in wireguard VPN
I have a few hosts behind a NAT router that I want to access via a wireguard VPN. I could successfully configure the private network, but there's still something that baffles me.
I want each peer to:
access each other (172.9.9.*) via the VPN (via…

ARDVL
- 43
- 1
- 1
- 6
3
votes
3 answers
Route all traffic through Wireguard peer
I have a Wireguard VPN setup that basically looks like this:
P1 ---- S ---- P ---- LAN
Px -----|
S (ip 192.168.60.1) is a WG server running on Ubuntu 20.04 with ufw enabled, with a public IP (using wg0 interface).
P (ip 192.168.60.2) is a WG peer…

Andrija Kovačević
- 33
- 1
- 1
- 3
3
votes
0 answers
How to forward all incoming traffic to server A to server B and B returns it to A?
Suppose I have two servers: A and B. On both I have installed WireGuard.
On server A, wg0 is routed with IP 10.8.0.0/24 and on server B, wg0 is routed with IP 10.7.0.0/24.
Let's say server A's WireGuard is listening on port 4000 and server B's…

1nted
- 49
- 6
3
votes
0 answers
How to find out which kernel module opened a socket?
When I try to find the process for an opened socket using e.g. ss I get the following output:
❯ sudo ss -tulpen
Failed to open cgroup2 by ID
Failed to open cgroup2 by ID
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port…

sneusse
- 131
- 2
3
votes
2 answers
IPv6 network for WireGuard VPN
I am currently migrating a company-internal VPN from OpenVPN to WireGuard.
While at it, I want to migrate it from IPv4 to IPv6.
The infrastructure currently consists of one server and ~1200 clients behind DSL connections of several ISPs…

Richard Neumann
- 144
- 1
- 8
3
votes
2 answers
Wireguard Unable to Complete Handshake on Android only 4G network
I have a Wireguard server on my home network which works fine on all my devices, including my phone when it's connected on Wi-Fi. The problem comes when I disconnect from the Wi-Fi and go on 4G, now my phone is unable to complete the handshake with…

MrRoy3
- 33
- 1
- 1
- 6
3
votes
1 answer
wireguard "destination address required" when trying to communicate from client-to-client rather than client-to-server
I have a simple wireguard network comprised of a single "server" (the only device with an externally routable ip address) and two clients. Communication between the server and the clients seems to work great: from the server, I can access the…

larsks
- 43,623
- 14
- 121
- 180
3
votes
1 answer
Creating a socks5 proxy from a Wireguard vpn on client
I use ssh tunnel currently with Firefox and setup socks5 on it the point is that if the proxy is off and if there is problem with server then nothing loads,that's why I want to use socks proxy with wireguard.So when the wireguard is off and not…

Steve Moretz
- 173
- 1
- 9
3
votes
1 answer
How to configure FreeNAS for a WireGuard VPN?
I have a FreeNAS 11.3 system and followed iXsystems' instructions on setting up WireGuard. With a simple wg0.conf I'm now able to connect successfully. I'd like to be able to use this setup as a proper VPN, meaning that I can use the tunnel to…

Adam
- 605
- 1
- 7
- 15
3
votes
2 answers
Wireguard VPN connection not resolving local host names
I have setup a Wireguard VPN on my raspberry pi and I can connect to it via client app on my mobile phone. I can access the internet though the phone and I confirm that the phone is using the same IP of the raspberry pi, so the VPN is working for…

BMM
- 191
- 5
- 10
2
votes
0 answers
How to set up a wireguard IPv4 to IPv6 VPN?
My ISP currently does not support IPv6, and I'm trying to set up a way for all of my computers at home to have a public IPv6 address range.
I've been following a guide on getting wireguard set up, and I'm able to get an IPv4 VPN set up. However for…

Nicholas Eckardt
- 23
- 1
- 3
2
votes
1 answer
Wireguard as VM bridge without hypervisor visible on VPN
I'm trying to connect two hypervisors together across the internet. Both hypervisors are running KVM for virtualization and I manually created bridges for the VM networking, which currently works.
I would like to use Wireguard to connect the VM…

Alex
- 389
- 9
- 23
2
votes
2 answers
Running Wireguard disables SSH access to the machine
I have a machine C which I can SSH into from my machine B. But when C uses Wireguard to connect to the internet through machine A, I no longer can SSH into it from B.
What do I do?

HappyFace
- 151
- 1
- 9
2
votes
1 answer
Excluding fwmark(ed) Packets from Wireguard Tunnel
In the scenario described here, I ended up with this config in the client (the endpoint WG server has two public IPs)
[Interface]
Address = /32
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[Peer]
PublicKey =…

Gaia
- 1,855
- 5
- 34
- 60