Questions tagged [wireguard]
257 questions
0
votes
1 answer
ufw route allow in on wg0 out on wg0 to 10.0.0.6/32
I use a WireGuard VPM to reversely connect to my home server via an external entry node. On that entry node, I try to add a firewall rule using ufw. Its purpose is to only allow routing to one and only one specific IP (10.0.0.6).
So the basic setup…
![](../../users/profiles/589991.webp)
randmin
- 49
- 7
0
votes
0 answers
WireGuard handshake fails to be received
EDIT: I figured it out, solution below.
I've been attempting to set up WireGuard as a VPN gateway manually instead of using wg-quick, as I don't want to route the local machine's traffic over the tunnel, only a specific interface and subnet's…
![](../../users/profiles/622439.webp)
xBelladonna
- 1
- 1
- 2
0
votes
1 answer
openvpn over wireguard (Multi-cloud Plan)
I am an SRE engineer, currently working on building a hybrid cloud network and its management. Through research, I have been able to use openvpn and wireguard topology combination network proficiently. Because wireguard can combine VPC well, and…
![](../../users/profiles/621694.webp)
randolph
- 1
0
votes
0 answers
Forward VPN Traffic from VPN interface through SOCKS proxy to
I have a working VPN setup with Wireguard and a working SOCKS5 proxy that are running on the same server. I am trying to forward traffic from the VPN interface to the SOCKS proxy before going out to the internet.
The following flow of traffic is…
![](../../users/profiles/537047.webp)
Jan
- 101
- 1
0
votes
1 answer
nmcli connection import type wireguard writes additional default route - How to avoid it?
At start I have:
[root@client ~]# ip ro | grep default
default via 10.0.2.2 dev eth0 proto dhcp metric 100
When i say
nmcli connection import type wireguard file /etc/wireguard/wg0.conf
I get
[root@client ~]# ip ro | grep default
default dev wg0…
0
votes
1 answer
Wireguard tunnelling multiple clients to server and internet (allowedips)
I recently set up wireguard and had it working for one client (laptop), then adding my phone to the mix and my laptop stopped connecting. it works if I comment the other one out. I know it is due to allowedips 0.0.0.0/0 in both cases. The thing is…
![](../../users/profiles/572402.webp)
It doesn't matter
- 3
- 1
- 3
0
votes
0 answers
Connecting two networks on the same range with WireGurard
I have a problem. I need to connect two networks in the same IP range with Site-to-site VPN. Is it possible?
Network #1 (n1) is 192.168.1.0/24 and network #2 (n2) is also in the same range - 192.168.1.0/24
Is there a way I can set up a site to site…
![](../../users/profiles/303751.webp)
Mathew Paret
- 25
- 4
0
votes
2 answers
Why does my VPN add its own IP address range to my routing table with local gateway?
My VPN sets up my routing table with 0/1 & 128.0/1 to their gateway.
However they also set the range of their data center to my local gateway. Let's say 123.456.789.123/32 routes to 192.168.1.1
The default route is also left as 192.168.1.1
Why would…
0
votes
1 answer
WireGuard via systemd-networkd but with /etc/wireguard/wg0.conf
Is there any solution to use /etc/wireguard/wg0.conf for both, wg-quick and systemd-networkd.
Following this example I have to duplicate configuration, but I want to store config in one place.
How to achieve that?
![](../../users/profiles/254006.webp)
kAldown
- 161
- 1
- 1
- 7
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…
![](../../users/profiles/602045.webp)
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…
![](../../users/profiles/600060.webp)
Shunyata Kharg
- 99
- 2
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…
![](../../users/profiles/600060.webp)
Shunyata Kharg
- 99
- 2
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…
![](../../users/profiles/174598.webp)
byf-ferdy
- 63
- 10
0
votes
1 answer
Wireguard on Windows: Unable to set interface addresses, routes, dns,
I have installed Wireguard on Windows 7-32bit
And set the config:
[Interface]
PrivateKey = *********
Address = 172.22.2.2/24
DNS = 172.22.2.1
[Peer]
PublicKey = *******
AllowedIPs = 0.0.0.0/0
Endpoint = ******:8755
PersistentKeepalive = 45
Pretty…
![](../../users/profiles/516079.webp)
George Y
- 380
- 2
- 11