Questions tagged [wireguard]
352 questions
0
votes
0 answers
WireGuard iptables forwarding
Could someone help me to figure out a weird issue?
Wireguard server ip: 192.168.1.100
wg0 private address block: 192.168.4.0/24
Server with all services & (listening ports): 192.168.1.200 (10000,20000,30000)
Basically, I set up a Wireguard VPN…

J. Doe
- 1
- 1
0
votes
0 answers
Some websites not responding on routed interface
I have an interface wg0, a WireGuard interface generated by a WireGuard client running on machineA which is connected to a server. Everything works as expected.
I route traffic from wg0 to eth3 - a LAN interface on machineA - using netfilter…

Shunyata Kharg
- 109
- 3
0
votes
0 answers
Wireguard very slow in Google Cloud
I installed wireguard to my google cloud instance with the same steps on this guide to ubuntu 20.04. I have 100mbps download and 5mbps upload in my home. But when I connect to the wireguard vpn. My speedtest results are 20mbps download and 5mbps…
0
votes
1 answer
Routing ipv6 traffic from LAN to wg0
I have ipv6 connectivity over wg0 (a WireGuard interface), and my LAN has a local ipv6 network.
From a desktop (Ubuntu 20.04.1) connected to the router (Ubuntu 20.04.1) with the LAN and wg0 (WireGuard) interfaces, I do:
mtr --show-ips…

Shunyata Kharg
- 109
- 3
0
votes
0 answers
Wireguard peer sharing
I have the following setup:
a lokal NAS server in my home network with a dynamic IP. Lets call it backup server
multiple rented servers in a data center with static IPs. Lets call them server 1-x
multiple mobile and desktop clients with dynamic IPs…

byf-ferdy
- 63
- 10
0
votes
0 answers
WireGuard on CentOS with Android Client setup issues
I used this guide here to setup wireguard on a CentOS machine.
I have my private key, my public key, the firewall and my wg0.conf:
[Interface]
Address = 192.168.5.1/24
SaveConfig = true
ListenPort = 31194
PrivateKey =

uncovery
- 305
- 5
- 14
0
votes
1 answer
How do I route a specific ip address via the default system gateway?
I send all the traffic through a Wireguard VPN, but I need to setup an exception. Packets directed to my own public IP have to go through the default gateway of the system.
It works as intended if I add this to the kernel routes:
route add X.X.X.X…

NANI SORE
- 3
- 1
0
votes
1 answer
IP transparent tunneling with wireguard
Say I have node1 and node2, connected over the internet. An application server on node1 has an IP acl for the IP of node2.
For security reasons I open a Wireguard tunnel between the nodes. I'd like to keep the configs of the application the…

hbogert
- 411
- 1
- 5
- 18
0
votes
0 answers
Wireguard on Windows 10 - remote LAN access issues
I have a work LAN (192.168.0.0/24) with a bunch of Windows 10 and Linux machines that I need to have access to from anywhere. Since it is behind an ISP NAT and is not accessible from outside, I had to arrange a globally accessible remote server…

z0mb1e_kgd
- 1
- 1
- 1
0
votes
0 answers
How to Route all traffic outside WireGuard?
I'm a newbie with networking and I'm trying to figure out one thing, so please bare with me if I'm missing anything the maybe it's obvoius for you guys ;)
I have an Rpi that act as a server, and I recently installed DuckDNS to be able to access some…

FabioEnne
- 101
- 1
0
votes
0 answers
Use WireGuard for combining bandwidth (multiwan)
Is it possible to combine multiple uplinks for getting faster VPN access to a server with WireGuard?
I already played around with MultiWAN (mwan3, OpenWRT) in the past but for VPN access, its only possible to use a single connection (OpenVPN,…
0
votes
0 answers
Routing Between LAN and Wireguard on DD-WRT Router
TL; DR
I'm trying to route between a local network (192.168.0.0/24) on my router and a Wireguard interface (192.168.2.0/24) on the router. The router can use the Wireguard interface just fine but other hosts on 192.168.0.0/24 cannot. How do I…

decaby7e
- 1
- 2
0
votes
1 answer
Configure Wireguard to block all non-ssh traffic
I am trying to restrict my Wireguard VPN to only allow SSH connections between the clients and I am struggling to setup proper iptables PostUp rules for the wireguard server.
My Interface has the following PostUp rules:
PostUp = iptables -A…

P.R.
- 103
- 1
- 5
0
votes
1 answer
Wireguard reports transmission errors while underlying interface reports none
I'm investigating an intermittent network failure, and when looking at /proc/net/dev file I see that WireGuard interface reports variable number of transmission errors for all VMs in the cluster (it scales more or less with the volume of traffic…

wvxvw
- 124
- 1
- 9
0
votes
1 answer
Log a message from Windows to a Syslog server (Wireguard)
I would like to know when a Wireguard client set a tunnel up. So is it possible to do something like :
PostUp=command_which_creates_a_syslog_event
Because I don't see any other way to log when a client set his tunnel up.

amrbcl
- 53
- 5