Questions tagged [wireguard]

257 questions
1
vote
1 answer

Cannot connect local peer to local peer over Wireguard

I have online server with IP 1.2.3.4 and two local computers on different locations. computer A and computer B. I have followed instructions how to setup Wireguard here: https://www.cyberciti.biz/faq/ubuntu-20-04-set-up-wireguard-vpn-server/ But…
iWizard
  • 398
  • 2
  • 10
  • 26
1
vote
1 answer

WireGuard: Limiting download & upload bandwidth

I'm trying to limit download and upload speed of each wireguard peer to 512kbit. The problem is that my following commands, only limits download bandwidth of peer and doesn't limit upload bandwidth. Any help would be appreciated. tc rules for…
user3411911
  • 11
  • 1
  • 5
1
vote
0 answers

Can't establish s2s VPN connection between AWS EC2 and OVH Public Cloud using WireGuard

I can't establish VPN connection between AWS EC2 instance and OVH Public Cloud. In /var/log/syslog there's no errors - just some info about wg-quick operations like adding routing etc. AWS EC2 instance: OS: Ubuntu 20.04.2 LTS Internal IP Address:…
maar
  • 487
  • 6
  • 20
1
vote
1 answer

Routing LAN traffic from Edgerouter to wg0

So I've read and tried all I could find on the interwebs and I stil can't get my head around this. I'm trying to accomplish something super easy with OpenVPN on my EdgeRouter X that seems impossible with WireGuard for me: Routing all traffic from…
pycvalade
  • 111
  • 4
1
vote
0 answers

What can I do to connect Wireguard VPN over mobile data when connection over wifi is working on IOS14

I have set up a wireguard tunnel between my IPhone 6s and a public server. I am using the Wireguard app on IOS 14.4.2 Iphone has the following configuration: [Interface] PrivateKey = ListenPort = 31194 Address = 10.0.0.2/32,…
1
vote
0 answers

Mullvad VPN + Wireguard server: can't connect to my Wireguard server on Google Cloud VM

I plan to host a Wireguard server on a Google Cloud VM (Ubuntu), which is then connected to my VPN provider (In this case, Mullvad). I do this so I can install a Pi-Hole instance aswell as an Unbound instance. I can connect to the Wireguard server…
John
  • 11
  • 1
1
vote
1 answer

Wireguard connection fails when DNS isn't working

I had my Wireguard connection working fine, and then after some network changes it failed. DNS wasn't working, and when I fixed the address in /etc/resolv.conf, pings on my Wireguard connection suddenly started coming through. Is this the expected…
Roger Dueck
  • 496
  • 4
  • 14
1
vote
1 answer

Multiple wireguard tunnels to same server how to force different interfaces

I have multiple wan links on my router and I'd want a wireguard tunnel on each wan interface to the same server. I started different working tunnels to the server using different destination ports, but of course they're using the default gateway and…
Metiu
  • 133
  • 1
  • 4
1
vote
1 answer

How to do client to client routing rules with UFW?

I would like to use UFW to control client to client access rules for a wireguard network. And I would like to do this on a central hub server. But I can't quite figure it out. Right now it works but everybody can access everything. UFW seems to be…
PrecisionPete
  • 231
  • 3
  • 10
1
vote
0 answers

setting up a wireguard "relay"

I have two VPN interfaces, one is my VLAN the other is an internet access. I would like to forward as if it was the default route all the internet traffic coming from the first interface to the latter. But I also want that the host system doesn't…
kuroneko
  • 121
  • 3
1
vote
0 answers

routing ppp <-> wireguard interfaces

I want to connect via wireguard to a droplet that will be running openfortivpn for connecting to a 192.168.11.0/24 network. I have confirmed that only traffic to 192.168.11.* goes through fortivpn and everything else comes out of my droplet ip. I…
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
1 answer

Firewalld forwarding same-zone traffic from Wireguard interface, without allowing access to Host-ports

I am running a RHEL-based Linux distribution on a VPS, that is supposed to be a VPN-Gateway Server. I am using Wireguard for interconnecting Clients with each other over this Gateway. The Server has ipv4-forwarding enabled, all Clients are connected…
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,048
  • 2
  • 9
  • 21