Questions tagged [wireguard]

352 questions
1
vote
0 answers

Wireguard Destination Host Unreachable on internal network

I'm setting up Wireguard to tunnel from a cloud VM to our internal network. The local server is using the Wireguard plugin for OPNSense. OPNSense acts as firewall, dhcp, etc. The cloud VM is not behind any firewall or anything. Server: interface:…
cclloyd
  • 593
  • 2
  • 14
  • 29
1
vote
0 answers

How can I configure Wireguard running in a docker container on a VPS to allow communication between its' connected clients?

I have a VPS running WireGuard as a server in a docker container, where I've given it the devices I intend on adding as peers. I have a home server running WireGuard as a client in a docker container using the host network mode. IP Forwarding is…
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
  • 418
  • 3
  • 12
  • 27
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
  • 2
  • 5
1
vote
0 answers

WireGuard Chain Tunnel

I'm trying to build a chain WireGuard Tunnel. Right now testing, but I'm stuck. I have two WireGuard servers, 1st one is in India 2nd one is in Singapore. Here is what I'm trying. Client < 10.26.26.0/24 > India < 10.26.27.0/24 > Singapore IN Tunnel…
Aman Juman
  • 324
  • 2
  • 8
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
  • 485
  • 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
  • 131
  • 5
  • 17
1
vote
2 answers

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
  • 2
  • 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

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…
Jan
  • 111
  • 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…