Questions tagged [wireguard]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
11 views

How to use multiple vpn clients with wireguard on windows?

I have multiple connections to the same vpn server. One connection is a wireguard with access to the Internet, the other is an openvpn connection with access only to the local network of the remote ...
0 votes
1 answer
50 views

IPv6-only WireGuard VPN without NAT

Goal I'm trying to set up a WireGuard VPN with IPv6 only through which I (a) want to route all traffic and (b) with a server that is accessible from the internet. Since I couldn't even get (a) to work,...
user avatar
  • 103
0 votes
1 answer
36 views

Routing works incorrectly with wireguard inside Docker network

I'm not even sure that's the right wording, I'll try to explain. I want to setup a small VPN are to host some private projects as well as access internet. I also want to have my own DNS server to have ...
user avatar
0 votes
1 answer
31 views

WireGuard peer sends init messages to server; server doesn't receive

Table of Contents: Context; Peer wg0.conf excerpts; Server wg0.conf excerpts; tshark packet sniffer output. Context: Peer is a headless LAN host that I configure/control via SSH from my Mac on the ...
user avatar
  • 115
0 votes
2 answers
90 views

SSH hang bringing WireGuard client up

I have a headless Ubuntu system that is dedicated to being a WireGuard client to other devices on the LAN (currently to one device). I.e., it's intended to forward through the tunnel all enp1s0 (ETH1) ...
user avatar
  • 115
0 votes
1 answer
19 views

firewalld: forward traffic as a wireguard VPN gateway

I have setup a pi running Pi OS 11 as a VPN gateway for my local network using Wireguard & Nftables, that all works fine. However, I wish to switch over to firewalld to be compatible with docker ...
user avatar
  • 103
0 votes
1 answer
23 views

Example from Wireguard's wg-quick man page: how can it work?

This is from the Examples section of the man page for wg-quick: A combination of the `Table', `PostUp', and `PreDown' fields may be used for policy routing as well. For example, the following may be ...
user avatar
  • 115
0 votes
1 answer
57 views

Wireguard WAN IP server accessible from router, but not LAN

I'm using a GL.inet router with OpenWRT OpenWrt 19.07.8 r11364-ef56c85848. I have set up a Wireguard server on a remote machine. With the VPN not connected I can reach that server from my LAN using ...
user avatar
  • 165
2 votes
2 answers
75 views

How can I prevent wireguard from leaking traffic?

Using wireguard VPN with a self-hosted VPN server. I learned of this "leak" when visiting family. I happened to be seeding a movie in my torrent list. A single movie, not a particularly ...
user avatar
0 votes
2 answers
17 views

Wireguard wg0.conf file: what fields may it (not?) contain?

The Ubuntu man page for wg has a Configuration File Format portion. That portion says of the .conf file's [Interface] and [Peer] sections that they "may contain the following fields." Am I ...
user avatar
  • 115
0 votes
2 answers
36 views

Specify openvpn/wireguard server outbound interface

I have an openvpn/wireguard server on my VPS, and my VPS has 2 interfaces eth0/eth1, which both can access the Internet. But I want all my vpn outbound traffic to go through eth1. So how can I do it?
user avatar
1 vote
1 answer
49 views

Open website on Wireguard host

Setup: Ubuntu 22.04 server Wireguard host Samba Tomcat UFW is enabled Both Samba and Tomcat/8080 are allowed from anywhere I can open the Tomcat website on the local network (192.168.1.23:8080). I ...
user avatar
  • 6,700
0 votes
0 answers
46 views

How to lower CPU usage while using iptables NAT

I have 5 VM's : VM-A,VM-1,VM-2,VM-3,VM-4 I using wireguard to connect VM-A to all other VM's. The traffic transfer rate is around 200Mbps. All the VM's have 5gbps network. But the CPU is rising to 95%....
user avatar
  • 17
0 votes
0 answers
28 views

Why can't I RDP into my devices behind my router with my wireguard tunnel up

My network setup was working, until I realized that my understanding of the firewall requirements for this assignment (class project) were off and need to alter things. With my new configuration of ...
user avatar
0 votes
0 answers
87 views

wireguard + working lan in a routed lxc container

I have an issue with my wireguard tunnel. Im trying to set it up in a routed lxc with the lan intact. The containers networking works fine but im showing the config so you can see. The issue is that i ...
user avatar
0 votes
0 answers
398 views

Why can I access Internet but not local devices over VPN (wireguard)?

I set up a wireguard VPN on a raspberry pi using the steps described in this tutorial: https://notthebe.ee/raspi.html I tried to access the VPN from a laptop through a wireless hotspot on my phone. ...
user avatar
0 votes
0 answers
28 views

Wireguard peer as an internet gateway

I have a Debian server with Wireguard installed and want to connect to it from my phone in a way, that Debian server will act as a phone's gateway to the internet. So all internet traffic from the ...
user avatar
0 votes
1 answer
161 views

How to forward openvpn/wireguard to another wirdguard interface without modifying global route table?

I have one wireguard interface wg_vpn, but I don't want it to be global, so I add the line "Table = off" to the wg_vpn.conf to prevent wg-quick to modify the route table. I also have an ...
user avatar
0 votes
2 answers
187 views

Wireguard - no access to the internet

I have installed Wireguard on Debian 11 and created config for iPhone, and when the peers are connected, internet is not working on iPhone and also not on Debian 11 server. Config on Debian 11: [...
user avatar
1 vote
0 answers
39 views

Create Network Tunnel

Currently, I host a server in my house and a VPS from OVH. Is there a way I could create a network tunnel that lets me use any extra IP addresses from the OVH VPS for the server I have at home? If ...
user avatar
0 votes
0 answers
281 views

Allow Docker Container with MacVLAN network to access Wireguard connected remote

I do have two servers: Server A: a local NAS running RHEL 8.5 (5.17.1 kernel - so it has native wireguard support); local IP 192.168.1.1 Server B: a VPS with debian 11.3 (5.10.0 kernel - also has ...
user avatar
0 votes
0 answers
206 views

VPN Server behind CGNAT

I have 2 homes: home1 is using an ISP with CGNAT, home2 has a public ip address. I'd like to be able to connect from anywhere to a Wireguard VPN server from home1 (SH1) and use that connection to ...
user avatar
  • 101
2 votes
0 answers
42 views

How do I fix a quantum group membership? (I'm in the group, unless I look at the group, in which case I'm not in the group)

This happened (explanation on how we got to this below): PS C:\> Add-LocalGroupMember -Group "Network Configuration Operators" -Member myuser Add-LocalGroupMember : MYLAPTOP\myuser is ...
user avatar
0 votes
2 answers
55 views

How to allow peers access only to the Internet?

I tried for a long time to find the answer to the question "How to allow peers access only to the Internet?", But I did not find anything. The only thing I understood is that this can be ...
user avatar
  • 3
1 vote
1 answer
484 views

Wireguard (Client) not working with Windows IP forwarding turned on

I have an issue using WireGuard client on windows. When I'm trying to connect to WireGuard server, there are no pings, no domain resolves - nothing. WireGuard shows that I do send like a 1GB/sec of ...
user avatar
0 votes
0 answers
148 views

How to allow incoming connections on port N through the original ip-address when Wireguard client is on

I have a desktop PC connected via an Ethernet cable to the router. Let's suppose the external ip-address given by the ISP is static and doesn't change. Now I have enabled a Wireguard connection to the ...
user avatar
0 votes
1 answer
185 views

Wireguard on a DigitalOcean Droplet not allowing ssh, vnc, or smb

EDIT 3/15/22: Config info added at the end of this question I had a WireGuard VPN on a Google Cloud VPN but due to networking fees setup a new one on DigitalOcean. For some reason, I cannot SSH, VNC, ...
user avatar
0 votes
0 answers
109 views

Wireguard doesnt provide connection

I try to configure Wireguard on private VDS on DigitialOcean. Write all configs, but there is no connection There is Server Config [Interface] Address = 10.8.0.1/24 Address = fd0d:86fa:c3bc::1/64 ...
user avatar
0 votes
1 answer
89 views

iptables - percentage sign followed by an i (%i)

I have this iptables rule that comes with my autogenerated wireguard config as a postup rule. I tried to figure out each step of the rule. But neither the manual or a search engine would tell me what ...
user avatar
  • 936
0 votes
0 answers
178 views

Internet access through wireguard over multiple hops

I am trying to achieve the following: I want my personal computer A to connect to the internet through a raspberry pi C on a wireguard VPN. Most guides on the topic assume the internet gateway is a ...
user avatar
1 vote
1 answer
588 views

Access wireguard's IP inside WSL2 from Windows 10 Host

So I have this Ubuntu 20.04 instance running inside WSL2 on a Windows 10 machine. Inside this Ubuntu instance, I installed & configured Wireguard, a VPN program. Wireguard has now created the ...
user avatar
1 vote
1 answer
429 views

NetworkManager upgrade from 1.34 to 1.36 breaks WireGuard configuration "No VPN gateway address received"

This morning I have upgraded networkmanager and libnm from 1.34 to 1.36. Unfortunately my so far working WireGuard VPN configuration shows now: Feb 25 12:11:50 methadon NetworkManager[642]: <warn&...
user avatar
  • 518
1 vote
1 answer
57 views

Iptables selective MASQUERADE

I am working on a wireguard node for routing traffic. My plan is to allow wireguard peers to communicate with each other trough me (without masquerading) and create a separate forward from my private ...
user avatar
0 votes
0 answers
58 views

Changing the default kernel does not change uname

I have a hetzner server, and I wanted to use wireguard on the server. As shown below, my wireguard module is only available for the kernel version "4.18.0-348.el8.x86_64". $ rpm -ql kmod-...
user avatar
0 votes
1 answer
326 views

No internet with self hosted Wireguard VPN on Cloud VM

I setup a Wireguard VPN server on a Google Cloud VM but when connecting to it with the iOS client (running latest OS and app) nothing loads via the internet when the VPN is on (no browsing, emails, ...
user avatar
1 vote
0 answers
434 views

Wireguard server is accessible on LAN but not on WAN

I'm trying to set up a wireguard for a while. After struggling more that I would like to admit. It's finally working ! I can from my PC, connect to my wireguard server in local and access the website (...
user avatar
  • 111
0 votes
0 answers
178 views

How to route http requests from wireguard to mitmproxy docker container?

I have the following docker-compose.yml file: version: "3" services: vpn: image: lscr.io/linuxserver/wireguard:latest container_name: wireguard cap_add: - NET_ADMIN ...
user avatar
  • 319
1 vote
1 answer
249 views

Having issues with WireGuard over udp2raw

My config is computer to VPS, connection WiFi over WLAN (192.168.1.x) WireGuard config on server : [Interface] Address = 10.0.0.1/24 PrivateKey = key=+ ListenPort = 51120 #just iptables open ports.. ...
user avatar
  • 13
0 votes
0 answers
72 views

Wireguard client on top of Openvpn client

My school require a OpenVPN connection to authenticate into the network and access internet. I also have a wireguard VPN setup at my house to access my local network remotely. What I would like to do ...
user avatar
0 votes
1 answer
196 views

Create virtual network interface on host bridged from Wireguard namespace

I want to set up Wireguard in a way where I only route specific processes (like qBittorrent) through the tunnel, while other processes default to the physical interface. Since my VPN provider only ...
user avatar
0 votes
1 answer
1k views

Wireguard Client With Two Interfaces - Use one Interface for Wireguard

I'm trying to configure a Wireguard client currently set to route all traffic through Wireguard to only route one network interface through Wireguard. Ex: The Client has both wlan0 and eth0 interfaces ...
user avatar
1 vote
1 answer
1k views

How to route all traffic through a peer behind NAT using Wireguard

I have been trying to create a VPN tunnel, the topology is following: Device A (Windows computer, behind NAT) Device B (Debian 11 VPS with a public IP address) Device C (MikroTik router that supports ...
user avatar
  • 11
0 votes
0 answers
570 views

Connection too slow using RPi 4 and Wireguard

I setup a local home VPN on a Raspberry Pi 4 Model B 2019 Quad Core (4GB of RAM) running Ubuntu 20.04 connected to my home router using ethernet. I used PiVPN with Pihole for the setup. I setup the ...
user avatar
  • 101
0 votes
0 answers
101 views

Wireguard Server on macOS: Connection refused when verifying port forwarding

I am attempting to setup my own Wireguard Server on macOS following Marc Barrowclift's guide at https://barrowclift.me/post/wireguard-server-on-macos. I believe I setup Port Forwarding properly ...
user avatar
0 votes
1 answer
206 views

I can't see what's preventing me pinging local machines from the remote site when using WireGuard

I have a flaw in my WireGuard setup, but I can't see it. Any suggestions to help debug would be appreciated. Setup: A local pi (192.168.1.2/24) running WireGuard that sits behind an ISP gateway. A ...
user avatar
0 votes
1 answer
479 views

Wireguard VPN in AWS with split tunnelling not working

Before I kick this off. I have very limited network knowledge so hopefully I explain my situation clearly THE STORY We currently have a very basic implementation of a site in AWS. We followed best ...
user avatar
0 votes
1 answer
773 views

Can't connect to wireguard server from WAN

I'm trying to connect to my wireguard server, but it's not working, and I'm out of my depth. I suspect it's more of a network issue than a wireguard issue, but I could be mistaken. I'm hoping someone ...
user avatar
  • 305
0 votes
0 answers
107 views

How to configure Windows Server 2022 RRAS to accept pptp/l2tp/sstp/ikev2 vpn traffic, forwarded from public VPS to my home server over Wireguard

My home cable internet connection uses CGNAT and so I cannot directly access my home server across the internet. My ISP doesn't offer a true public IP address for cable customers. I would, however, ...
user avatar
0 votes
1 answer
197 views

Do you need to put an Endpoint for each peer in Wireguard?

Let's say there's 3 peers in a network. A and B know each other's IP addresses, but C knows only A's IP address. So, in the config of A, it specifies an endpoint for B, but not C. In the config of B, ...
user avatar
  • 101
0 votes
1 answer
162 views

Access peer's Wireguard IP address from the same peer

I have Wireguard set up. I can connect to 10.200.200.1, the address on Peer 1, on Peer 2. However, I can't connect to 10.200.200.1 on Peer 1. How can I do that? Peer 1's config: [Interface] Address = ...
user avatar
  • 101