Questions tagged [wireguard]
352 questions
1
vote
1 answer
Does AWS Lightsail block wireguard?
For a long time now I had an AWS Lightsail VPS serving as a wireguard gateway to my home server.
Since recently connection to the Lightsail instance via wireguard is no longer possible.
When I took a look with SSH I got
$> sudo wg-quick up wg0
[#]…

andrsmllr
- 121
- 4
1
vote
0 answers
Apache reverse proxy and wireguard
I own a VPS (ubuntu 20.04) running a VPN via Wireguard (1.0.20200513) and an Apache (2.4.41) web server, and I have a machine connected to this VPN running nextcloud (docker).
The issue is that whenever i try to upload a file greater than 2-2.5GB it…

Jose
- 29
- 3
1
vote
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…

Mathew Paret
- 95
- 1
- 8
1
vote
0 answers
iptables allow traffic through wireguard gateway
I have a server A running as gateway for some intranet connected on eth0. A is connected to multiple "relay nodes" like B, C, D... via WireGuard.
Assume here's the IP setup:
Host
Address
A
10.0.0.1/24
B
10.0.0.2/24
C
10.0.0.3/24
A…

iBug
- 1,212
- 2
- 13
- 23
1
vote
1 answer
Wireguard client communication without peer key via 1 router server
I have this setup:
---server 1 config---
[Interface]
Address = 10.200.200.1/24
ListenPort = 6666
PrivateKey = server_private_key
[Peer]
PublicKey = client1_public_key
AllowedIPs = 10.200.200.2/32
PersistentKeepalive = 21
[Peer]
PublicKey =…

William Taylor
- 113
- 4
1
vote
1 answer
Set VPN Connection Timeout in WireGuard
I have a WireGuard VPN server running. How do I set a timeout so that connected clients will get disconnected if they are idle for the given time (or maybe even disconnection irrespective of being idle or not)? Where do I specify this parameter, I…

Aravindan Sridhar
- 29
- 1
- 3
1
vote
1 answer
Wireguard mesh between public and local network
I currently have my mesh setup like this:
With the wireguard config similar to this on every node:
[Interface]
Address = 10.1.0.1/32
PrivateKey =
ListenPort = 5888
[Peer] # example public node [1-3]
PublicKey =
AllowedIPs = 10.1.0.2/32
Endpoint =…

maxisme
- 159
- 1
- 10
1
vote
0 answers
How to configure Wireguard to allow Internet access?
I have an Ubuntu 20.04.1 LTS to host a linuxserver/wireguard Docker container. Clients can successfully connect to the Wireguard server, but I'm unable browse Internet websites on the clients while they're connected. How do I configure my Wireguard…

PaulH
- 181
- 1
- 3
- 8
1
vote
0 answers
ping packet loss in wireguard UDP over TCP + UDP over socat tunnels
I have a wireguard tunnel mostly working between two Debian systems, but I had to workaround a ISP firewall (firewall X in the diagram below) that blocks everything inbound and prevents Server B from listenting for wireguard UDP packets…

Lucio Crusca
- 420
- 3
- 12
- 33
1
vote
1 answer
Configure internal groups with Wireguard VPN
I am very newbie to VPN so, be patient with me.
Is it possible to get WireGuard work with config like that?:
I need to create groups of pcs that can see only each other and with no access to the internet through VPN. They use their own gateway.
For…

gerpaick
- 15
- 8
1
vote
1 answer
Wireguard routing from wg1 to wg0
I have two networks configured with Wireguard. wg0 is for servers and wg1 for VPN users. When a VPN user on wg1 wants to reach the wg0 network, the packets should be router over one of the wg0 servers (the VPN gate).
wg0.conf on VPN gateway and on…

TRW
- 488
- 3
- 16
1
vote
1 answer
iptables, wireguard: 2-way routing between VPN and LAN
i am setting-up a VPN using WireGuard and are stuck configuring my firewall on the respective VPN server. I want the following features available:
VPN devices (10.6.0.0/24) available from LAN (10.20.0.0/24) (problem!)
LAN devices (10.20.0.0/24)…

TheClockTwister
- 161
- 1
- 8
1
vote
1 answer
WireGuard: cannot delete iptables rule for default route
since I don't want friends and colleagues in my VPN to use my VPN server as a proxy VPN for "anonymous" surfing, I want to disable the default route for the VPN. In a nutshell:
LAN (10.20.0.0/24) must be accessible
WAN (0.0.0.0/0) must be…

TheClockTwister
- 161
- 1
- 8
1
vote
1 answer
Kubernetes: route outgoing UDP traffic through service
My question is about Kubernetes' internal traffic routing and probably about routing / NAT in general.
Goal:
I'm running a Wireguard service on Kubernetes and I'd like to route all outgoing traffic which has entered through Wireguard through another…

bob3000
- 11
- 3
1
vote
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…

George Y
- 528
- 6
- 16