Questions tagged [wireguard]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
0answers
33 views

how to speed up Internet speed via Wireguard connection [closed]

I have a 1000mbps network at home. Doing a speed-test at Cloudflare scores 9xx mbps. I have tried setting up Wireguard in Japan on Vultr, AWS and GC. GC gives me the best average network speed, which ...
0
votes
1answer
85 views

Wireguard VPN connection not resolving local host names

I have setup a Wireguard VPN on my raspberry pi and I can connect to it via client app on my mobile phone. I can access the internet though the phone and I confirm that the phone is using the same IP ...
0
votes
0answers
30 views

Wireguard VPN to Azure VNET: SSH and Ping only work in one direction

I have the following setup: Home network: 192.168.3.0/24 Azure Lab network: 192.168.193.0/24 In order to connect them I set up a wireguard VPN. This connects to a jumphost. I also added on my Azure ...
0
votes
0answers
33 views

How can I make a WireGuard Client be accessible from the internet

I am currently trying to get a server in my office exposed to the internet. The following scenario: I have a NATed 400MBit/s line in my office. I cannot have ports forwarded from the internet to my ...
0
votes
0answers
23 views

How to Route all traffic outside WireGuard?

I'm a newbie with networking and I'm trying to figure out one thing, so please bare with me if I'm missing anything the maybe it's obvoius for you guys ;) I have an Rpi that act as a server, and I ...
1
vote
1answer
34 views

the wireguard not listening on port after started

I am starting the wireguard using this command: wg-quick up wg0 this is whe wireguard status: and using this command to see the listening port: lsof -i:7456 why the wireguard not listening on ...
0
votes
0answers
64 views

Howto configure Wireguard on Linux router to route all traffic from LAN to remote wireguard VPN server

I've an Armbian linux on a NanoPi R1 running. It routes all traffic from eth1 (LAN static IP, dnsmasq for DHCP/DNS) to eth0 (WAN dhcp-client) via IPTables NAT/Masquerading. That works fine. A client ...
0
votes
0answers
51 views

Poor site-to-site VPN speed on one specific server

I use a Wireguard VPN for a site-to-site connection with a speed of 75/20 Mbit/s on each site. I figured out routing (without a NAT on the VPN) and can now ping every device from both sites. The only ...
0
votes
1answer
71 views

Unable to Configure WireGuard to Use Secondary IP Address Instead of Main IP Address of the Server

The Setup The main ethernet interface of my server is enp8s0, has one public IP address (116.202.221.254—server's main IP address), and here's how it is set up. # ip addr show enp8s0 2: enp8s0: <...
0
votes
1answer
73 views

Wireguard VPN + OpenVPN VPN leads to DNS resolution failure for the OpenVPN tunnel

I have two VPNs - one via wireguard for my general internet traffic, one via openvpn (for work). DNS resolution over openvpn is only partly working. With both tunnels up: A) systemd-resolve needs to ...
0
votes
0answers
51 views

Linux Wireguard Routing / Connectivity Issue

I am trying to setup a Wireguard VPN server so that a single peer can connect and access the network on which the VPN server resides, but also so that servers on the network can access the peer that ...
0
votes
0answers
101 views

Use WireGuard for combining bandwidth (multiwan)

Is it possible to combine multiple uplinks for getting faster VPN access to a server with WireGuard? I already played around with MultiWAN (mwan3, OpenWRT) in the past but for VPN access, its only ...
0
votes
0answers
106 views

Routing Between LAN and Wireguard on DD-WRT Router

TL; DR I'm trying to route between a local network (192.168.0.0/24) on my router and a Wireguard interface (192.168.2.0/24) on the router. The router can use the Wireguard interface just fine but ...
1
vote
0answers
38 views

Why does “ip -4 route add 31.1.1.1/32 dev wg0” break EC2 networking with WireGuard

Edit: Whilst explaining, I finally figured out the error in my logic. The test ip I was using to route to, is the same IP I was connecting with. Thus messing up my connection the moment I changed ...
1
vote
0answers
126 views

How to make outbound requests through wireguard while provide web services on the same server?

I want to make outbound requests through wireguard while provide web services on the same server. It means if there is a request reach ens3 , the response will return the same way. But if I make a ...
0
votes
2answers
887 views

Cannot setup WireGuard VPN

My goal is to create a VPN so Clients have static IP addresses. Clients are able to communicate with each other and the server, Clients can reach global Internet through the VPN. Also, I'd like to ...
0
votes
1answer
465 views

Configure Wireguard to block all non-ssh traffic

I am trying to restrict my Wireguard VPN to only allow SSH connections between the clients and I am struggling to setup proper iptables PostUp rules for the wireguard server. My Interface has the ...
0
votes
1answer
81 views

Wireguard reports transmission errors while underlying interface reports none

I'm investigating an intermittent network failure, and when looking at /proc/net/dev file I see that WireGuard interface reports variable number of transmission errors for all VMs in the cluster (it ...
0
votes
0answers
103 views

Failure to configure Wireguard device via systemd-networkd on Google Compute Engine VM

Debian Buster image on a Google Compute Engine VM, and I have this systemd-networkd config placed at /etc/systemd/network/wg0.netdev to configure a Wireguard device: [NetDev] Name=wg0 Kind=wireguard ...
1
vote
0answers
177 views

Cannot connect to any Google service through the Wireguard VPN hosted on Google Cloud Platform

This question was marked off-topic on Super User, so i assume this is more suitable community for my problem. Problem Ever since I set up Wireguard on my Google VPS every client HTTPS connection to ...
0
votes
1answer
50 views

Access the LAN via VPN

I've just set up a VPN server on my raspberry pi (using pivpn) and I'd like to be able to directly reach other computers on my local network, remotely. The only computer I'm able to reach, though, is ...
0
votes
1answer
43 views

Log a message from Windows to a Syslog server (Wireguard)

I would like to know when a Wireguard client set a tunnel up. So is it possible to do something like : PostUp=command_which_creates_a_syslog_event Because I don't see any other way to log when a ...
1
vote
0answers
343 views

Route private network traffic through VPN

I use a RaspberryPi as a DHCP and DNS server for my home network as well as a wireguard server to gain remote access to my network. My setup is as follows: 192.168.1.4 - ISP Router 192.168.1.1 - ...
1
vote
1answer
335 views

Delay of network packets through Wireguard tunnel

Following Scenario, I have set up a machine (a), located behind a simple NAT with no further configuration, establishing a Wireguard tunnel (wg0) to another machine (b), connected with a static IP and ...
2
votes
0answers
908 views

How to set up a wireguard IPv4 to IPv6 VPN? [closed]

My ISP currently does not support IPv6, and I'm trying to set up a way for all of my computers at home to have a public IPv6 address range. I've been following a guide on getting wireguard set up, ...
0
votes
1answer
745 views

Is it possible to create a 'site-to-site' VPN using an iOS device?

I am trying to configure a VPN that would allow remote access to the LAN of an iOS client from the VPN server, as a remote-access solution not requiring any dedicated hardware or setup on the client's ...
0
votes
0answers
218 views

SSH-key based authentication for VPN server

I would like to set up a VPN-Server for our users that allows them to authenticate with every key in ~/.ssh/authorized_keys. I know that wireguard uses SSH-keys as well, but how can I tell it to ...
1
vote
1answer
157 views

Forward VPN traffic to another server

I have 2 servers: server A: Public IP --> 104.x.x.x server B: Public IP --> 188.x.x.x server A has 2 VPN servers: Openvpn --> tun0 Wireguard --> wg0 tun0: flags=4305<UP,POINTOPOINT,...
0
votes
0answers
99 views

WireGuard - cannot see traffic

I have been trying to set up WireGuard as a VPN following the configuration instructions here. I have an remote Ubuntu server (peer A) and am connecting from a MacOS machine (peer B). I am logged in ...
0
votes
0answers
47 views

Access Windows Homegroup behind wireguard VPN

I have a raspberrypi running wireguard server in my office. My office runs a bunch of windows machine sharing files via Homegroup. I can successfully connect to Wireguard VPN from my home windows ...
0
votes
0answers
72 views

WireGuard client added with `wg set` not working

I have this Wireguard setup and I need a dynamic way of adding peers. I found the wg set command to do what I need but the client has no internet when it is added this way. If I add the same client to ...
0
votes
0answers
55 views

Unable to Route from VPN to Internet in Azure

Wireguard Server Ubuntu 18.04 Server (fully up to date as of 11/20/2019) WireGuard is installed and working (wg0/192.168.220.1/24) IP Forwarding is enabled on in the VM IP Address: 10.0.0.4 Azure ...
0
votes
0answers
51 views

VPN connection over Wireguard

I am having a friend who I am trying to help. He is working for a company from home connecting to an SSTP VPN in order to access his work-related resources. The problem is that due to some privacy ...
0
votes
0answers
204 views

wireguard - routing into subnetz behind vpn-server

I want to setup between two locations a vpn network with wireguard. Currently I have between my udoo on location a and my second udoo on location b a working connection, but I want also connect to ...
0
votes
1answer
102 views

Why doesn't this Wireguard route work?

I've set up three Wireguard nodes – a, b and c (Vagrantfile below). Both b and c connect to a and are able to ping a over the Wireguard tunnel. But b and c aren't able to ping each other – why? ...
2
votes
0answers
335 views

Wireguard: packets returning from server are dropped

I set up wireguard by now on one server (with NAT enabled) and on a client (ubuntu). When I don't route all the traffic via the tunnel everything works. As soon as I start routing all the traffic ...
0
votes
1answer
704 views

Wireguard Access between clients - UFW block

there is a problem in wireguard setup regarding to UFW. CLIENT A -------- SERVER -------- CLIENT B 10.10.10.5 10.10.10.1 10.10.10.11 I want to access SSH from Client A to Client B, ...
0
votes
1answer
325 views

Only able to connect to Wireguard peer after I ping the server

So I have 1 computer set up as a server and all the others as peers. Here's the server config: [Interface] Address = 10.0.0.1/16 SaveConfig = false PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; ...
1
vote
1answer
764 views

Wireguard as VM bridge without hypervisor visible on VPN

I'm trying to connect two hypervisors together across the internet. Both hypervisors are running KVM for virtualization and I manually created bridges for the VM networking, which currently works. I ...
0
votes
1answer
119 views

Iptables killswitch is blocking .local dns lookups

I have added ! -d 192.168.0.0/16 and ! -d fc00::/7 to Wireguard's killswitch example (see man wg-quick EXAMPLES): PostUp = iptables -I OUTPUT ! -d 192.168.0.0/16 ! -o %i -m mark ! --mark $(wg show %i ...
0
votes
0answers
707 views

DD-WRT Router with two wireguard tunnels, gateway and server

I am trying to setup my DD-WRT Router to act as a Wireguard-VPN Server, reachable from outside and at the same time as a Wireguard-VPN Gateway for my network via two separate tunnels. I managed to ...
0
votes
0answers
292 views

Create a virtual network interface to provide an ip via dhcp to multiple KVMs, forwarding all traffic though to a remote VPN server?

Sorry if this has been asked before, but I've been researching this for days and still can't work out the best approach. I have 2 Ubuntu 18.04 Servers in separate physical locations both running a ...
0
votes
0answers
72 views

Unable to access all clients in WireGuard network

Moved from StackOverflow I have three VPSs, I'll call them node1, node2, and node3, which are in a WireGuard network. I am already masquerading the subnet on each of the nodes with the iptables ...
1
vote
0answers
476 views

what is wrong with this wireguard setup?

I am establishing a VPN wireguard server as a digitalocean droplet and using a Linux lubuntu as a client on my laptop. Ping is working both ways. sftp using filezilla to 10.10.0.1 is working well as ...
1
vote
1answer
2k views

possible to disable default gateway in wireguard vpn client?

Is it possible to disable default gateway in wireguard vpn client? I used "allowed IP" to my own subnet, but still whenever i try to connect to vpn server, the client sets default gateway to the ...
2
votes
0answers
937 views

Broadcast UPnP over WireGuard

I have few devices: VDS, custom NAS on linux, laptop PC. All of that successfully connected to one local subnetwork 10.1.1.0/24 Server configuration: [Interface] Address = 10.1.1.1/24 ListenPort = ...
4
votes
1answer
1k views

Make wireguard listen on multiple port

It there a way to make wireguar listen to multiple port ? Like listenning on 80,53,and 4444. I'm looking to achieve this without running multiple wire guard separate interface, to prevent having to ...
0
votes
1answer
656 views

Converting IPtables rules into FirewallD Rules (Killswitch for Wireguard)

According to Mullvad's tutorial, to enable the killswitch for Wireguard involves the following: A: Add the following lines under the [Interface] section of the WireGuard configuration files found in /...
1
vote
1answer
4k views

Ubuntu 18.04.1, cannot add PPA wireguard/ubuntu/wireguard

I'm trying to install WireGurad on my fresh vanilla Ubuntu 18.04.1 machine, by following the instructions from WireGuard website. But when I try to execute very first command: sudo add-apt-repository ...
4
votes
2answers
6k views

WireGuard user authentication

I've read WireGuard specification, and it looks that it doesn't natively support any kind of user authentication (i.e. LDAP or something like that). Any client which has server's public key, and whose ...