Questions tagged [wireguard]
For questions specific to the WireGuard VPN protocol and software.
217
questions
0
votes
1
answer
21
views
With Two WireGuard VPN interface clients, route dummy iface via VPN0 and normal eth0 iface via VPN1, is it possible?
i have:
Normal eth0 interface with ip 192.168.1.100/24 gw 192.168.1.1 (normal router)
Dummy virtual interface with ip 172.16.1.1/32
WireGuard client interface called VPN0 up and running against ...
0
votes
0
answers
15
views
using wireguard peer as default gateway for another peer
Here my config (server wg in docker, peer1, peer2)
S = 10.14.88.1
P1 = 10.14.88.2
P2 = 10.14.88.3
[Interface]
Address = 10.14.88.1
ListenPort = 51820
PrivateKey = XXX
PostUp = iptables -A FORWARD -i %...
-1
votes
1
answer
36
views
With two houses and two internet connections, I want to use site A's internet from site B via a VPN, preferably wireguard
I have two homes, both of which have internet. Let's say that I am currently at "Site A", but I want to connect to the internet via "Site B", in order to take advantage of Site B's ...
1
vote
1
answer
24
views
VPN client cannot access network behind VPN server(wireguard)
I have created a wireguard VPN server, but the clients cannot access some networks behind the server,
wireguard-server
eno1: 10.10.10.2/24 (GW)
eno2: 10.10.11.2/24
wg0: 10.66.66.1/24
I want the ...
0
votes
1
answer
28
views
How to make OpenWRT only route some clients through a VPN?
I have an openWRT router and would like only certain client devices' traffic to be routed through a VPN to the internet. How can I do this with openWRT or similar router software? VPN client ...
0
votes
0
answers
22
views
Forwarded packet seemingly, skipping POSTROUTING rules
I have a very simple Wireguard configuration. Client are assigned 10.7.0.0/24 addressed, traffic is forwarded out the primary interface, finally the packets are SNAT'd out of the primary interface on '...
0
votes
0
answers
73
views
How set up iptables for Double VPN (VPN chain) with Wireguard?
I'm currently trying to set up a VPN chain (double vpn) with using Wireguard. I tried to use examples from different articles: https://allanjohn909.medium.com/vpn-chaining-with-wireguard-ec2bd500509e ...
2
votes
1
answer
45
views
Can WireGuard be forced to route through a specific peer if it is locally available?
This is more of a general "can this be done" question, so while I am happy for every piece of actual configuration that helps to set this up, my main intention is to understand if this was ...
0
votes
1
answer
85
views
Wireguard roaming client IP over multiple server
I have 2 servers (S1 & S2) on 2 different ISP.
They are connected through a Wireguard tunnel (10.0.100.0/24).
I have different mobile devices that connect on S1 or S2.
Today, when a mobile device ...
2
votes
1
answer
226
views
How do I connect a corporate VPN client such as Pritunl (OpenVPN) through another VPN tunnel such as Mullvad (WireGuard)?
I'm on Windows 10 and 11. I use the Pritunl/OpenVPN client to connect to a corporate LAN.
At some point, the VPN stopped working. It won't connect. Maybe my ISP is blocking it, maybe my IP got ...
1
vote
1
answer
144
views
Using VPS to give Public IP to on home network
As my provider does not give me a public IPv4 Address, I am using a VPS combined with a Wireguard tunnel to make my homeserver reachable from the Internet (via Ipv4 and Ipv6).
On my homeserver, the ...
0
votes
0
answers
187
views
Issue with routing (?) in site to site wireguard vpn in pfsense VM setup
To preface, my networking experience is limited but I have a general sense of concepts and can definitely read up on any suggestions.
I am trying to set up a site-to-site with wireguard. Both sites ...
2
votes
1
answer
686
views
Routing WireGuard peer's traffic via another peer
I want to use the RPi in my house as a WireGuard VPN. Unfortunately, my ISP mandates a CGNAT. My plan was to have the RPi connect as a WireGuard peer to my server (with a static IP). I would then ...
0
votes
0
answers
44
views
Why isn't my wireguard working properly?
I have an AWS debian ec2 that I want to use as a vpn server, I installed wireguard and created the following server config
[Interface]
Address = 10.8.0.1/24
ListenPort = 51820
PrivateKey = <...
0
votes
0
answers
266
views
V2ray on top of wireguard
I've done the searches but no solution was found, from what I understood Wireguard allows to add specific ips to be handled by it, is there a way to add the whole v2ray to wireguard or even better ...
1
vote
2
answers
615
views
Wireguard connectivity between handshakes
I've been having this really weird issue. I'm running WG on a VPS and on my macbook.
I run WG on the linuxserver container on a debian host.
The connection is great, the speed is good, everything ...
0
votes
0
answers
79
views
Issues with Wireguard routing from a single NIC
I am having issues with Wireguard seemingly not routing everything. Basically I have a ubuntu box at home, where I have installed Wireguard.
I want to be able to connect to that box and access both ...
1
vote
0
answers
260
views
Wireguard VPS dual network interface to allow all traffic to two different locations (peers)
I have two Raspberry Pi's in two different locations (Germany & France), which I want to use as VPN servers to access internet from different devices.
To avoid port forwarding from my local ...
0
votes
0
answers
86
views
Using nftables maps
I have a wireguard network in which I want a "host" peer to forward some traffic to multiple network cameras in its local network. Said peer registers several IPs, and I want to use nftables ...
0
votes
0
answers
138
views
How can you route traffic from a QEMU VM to a Wireguard interface on Linux?
I am developing a CTF platform and I need to separate and isolate my VM's from each other. My problem lies in how Qemu VM connects to a bride (let's call it br0) which in turn somehow has to forward ...
1
vote
1
answer
955
views
How to setup a VPN tunnel using WireGuard?
How do I setup a VPN tunnel using WireGuard?
I need to securely link my home server with my laptop (both machines running Windows 11).
0
votes
0
answers
118
views
linux ipv4 forwarding limited throughput
My symptom is that client PCs on my LAN connecting through the WG tunnel to the remote host would max out around 250 Mbps, but it could be anywhere between 150 and 300 Mbps (i.e. lots of variability ...
0
votes
1
answer
141
views
WireGuard configuration on a router
I have a router with Tor and WireGuard built in. The router allows for WireGuard client and server. I chose the server option and started it but it did not change the IP address as you'd expect with a ...
1
vote
0
answers
131
views
Routing external traffic through VPN tunnel
I need assistance creating a ip route that forces traffic coming into my VPS's public IP on port 27016 or 3202 to my Wireguard VPN tunnel.
For context, I created this VPS to allow me to expose my ...
0
votes
0
answers
117
views
WireGuard Static IP Per peer
hope someone can help
i have a requirement where i need to set up a wireguard server that will provide a unique public ip to each peer. peers cannot cannot be allowed to talk to each other.
i've done ...
1
vote
0
answers
442
views
How to add WireGuard container to internal Docker network to add internet connectivity?
I have two Docker networks:
public which is a normal bridge network with access to the host upstream network
private which is a bridge, internal: true and hosts a fleet of containers
networks:
...
0
votes
0
answers
147
views
Stuck on converting firewalld direct rule syntax to rich rule syntax
I've been googling around to try to translate an iptables script I use for some wireguard rules into native firewalld rules, since all the docs I've been reading about iptables indicate that:
...
0
votes
1
answer
634
views
FritzBox 7530 Wireguard: No such Host known
recently I set up WireGuard on my FritzBox 7530 after it updated to FritzOS 07.50.
Everything is working perfectly fine except one thing.
When I am at my girlfriends place (she has a FritzBox Fon WLAN ...
0
votes
0
answers
103
views
Routing KVM VM traffic over wireguard from host OS
I'm trying to setup a Wireguard tunnel on my host OS and route all network traffic from a specific KVM VM over this Wireguard VPN. My KVM VMs are setup using bridged networking. The interface name on ...
0
votes
1
answer
578
views
Running OpenWrt with multiple USB Ethernet adapters to host subdomains on one VLAN (all using a single static IP) and a WireGuard VPN on another VLAN
I have a Raspberry Pi 4 model B running Openwrt with two additional USB Ethernet adapters . I have the onboard Ethernet port currently connected to the WAN. Wireguard is installed but not properly ...
0
votes
1
answer
288
views
Correct iptables rules for a reverse vpn set up
I set up a VPS to be a reverse vpn to my self-hosted mailserver, and would like to know if these rules I've come up with make sense and are correct for what I'm doing.
The mailserver (mailcow docker ...
0
votes
1
answer
370
views
Wireguard doesn't work in different network
I'm trying to configure a VPN with Wireguard, but I'm having problems. The VPN works correctly with the server and the client inside the same network. However, anytime I connect my client to a ...
0
votes
0
answers
244
views
Site2Site VPN with wireguard through proxmox lxc
I have the following setup
Server A and B running proxmox
I would like to make the webservices on server B available from the internet through an reverse proxy on Server A.
For this i would like to ...
1
vote
0
answers
1k
views
Config Wireguard server to use a socks proxy to access internet
There is a Wiregurad server that is working perfectly, but we need that Wireguard's server connect to the internet using socks proxy through the second server and ONLY Wireguard, Not other programs ...
0
votes
0
answers
87
views
How Does Wireguard Peer Communication Work?
I have wireguard setup in a VPS to get around CGNAT. My pfSense router is connected to it as a peer, and then I have my phone as a peer to the VPS. This is because I can't add it in pfSense without an ...
0
votes
1
answer
162
views
High latency for bind9 over wireguard
I have a DNS home server running with bind9. To keep using my server outside my local network, I configured a VPN with wireguard.With this command : time wget -O/dev/null https://debian.org, here are ...
0
votes
0
answers
252
views
Ubuntu WSL2 not able to connect to host ip port - Wireguard
I recently updated my OS from Windows 10 to Windows 11 and so switched from WSL1 to WSL2. I have an Ubuntu app running in windows using WSL2.
Now I have setup a tunnel to redis in AWS so that I can ...
0
votes
0
answers
102
views
Route only VPN traffic through another VPN interface by a local bridge
There is a double VPN (mulit-hop) working fine using SE. Two servers have been used
server A (SoftEther server)
no NAT
cascading connection to server B
users have been added
server B (SoftEther ...
0
votes
1
answer
1k
views
Wireguard isn't working, 'wg0' doesn't exist
I've got an issue with wireguard. I have a debian-based VPS, and a Manjaro client.
Here is my /etc/wireguard/wg0.conf of a server:
[Interface]
Address = 10.0.0.1/24
ListenPort = 194
PrivateKey = <...
1
vote
0
answers
129
views
How to properly redirect HTTPS to local HTTP connected via WireGuard tunnel when the app itself is not using SSL?
I have an domain that is setup with an SSL certificate via Let's Encrypt so it only works via https://example.com/
This domain is connected via WireGuard tunnel to my home PC which serves a Laravel ...
0
votes
2
answers
5k
views
How do I fix my Wireguard VPN not resolving local domain names?
I am using an Ubuntu 22.04.1 LTS server to run wg-easy. I use portainer to manage my docker containers. When my Windows 11 client connects to the Wireguard server, I am able to access both the ...
0
votes
1
answer
171
views
IPv6 Wireguard ULA Routing
I would like to route traffic between two devices when they're both on NAT connections. They are both connected to a wireguard VPN on a VPS, but they cannot ping each other.
On their wireguard ...
1
vote
2
answers
804
views
How can I block internet access to certain Wireguard clients?
I have a working Wireguard setup, and multiple devices connect to it. I also set it up such that all the clients route their network/internet activity through the Wireguard server via "0.0.0.0/0, ...
5
votes
1
answer
2k
views
WireGuard VM or Container to act as gateway
I have a home server running Proxmox with 9 VM's and CT's. I would love to be able to route specific VM/CT traffic through a VPN gateway. I know that this can be done with OpenVPN, but it's quite ...
1
vote
2
answers
2k
views
How can I use Cloudflare WARP over SOCKS5 proxy?
I can't find a way to use Cloudflare WARP client over local SOCKS5 proxy.
I even tried using Proxifier to force it to use proxy but it couldn't connect, probably because WARP uses WireGuard, which is ...
0
votes
1
answer
406
views
Routing container to wireguard container for a certain subnet not working as expected
! See updated post at the end !
I am trying to run Wireguard in a container using docker compose on a remote host in a site-to-site configuration with my intranet at home which works flawlessly on its ...
0
votes
0
answers
24
views
How to merge Let's Encrypt added server block to already existing proxy_pass server block correctly?
Originally I had a simple server block that acts as a proxy to my WireGuard tunnel, but then I installed Let's Encrypt and it added a server block of its own.
Everything still works well, the only ...
2
votes
1
answer
2k
views
How to do split DNS with Wireguard on Windows
I want to achieve 'split DNS' using Wireguard on Windows, where DNS requests for specific domains are resolved by specific DNS servers reachable through the Wireguard tunnel, and other DNS requests ...
0
votes
1
answer
87
views
How can I fix this issue of mismatching IP addresses when using WireGuard tunnel?
I have set up a WireGuard tunnel between my EC2 instance to my home PC.
I am serving a PHP app on a VM on my PC with nginx via IP 10.0.0.100
The WireGuard tunnel IPs are 10.8.0.11 for the EC2 instance ...
0
votes
0
answers
264
views
Source routing from one wireguard tunnel to another in Linux
I try to make the following routing:
wireguard client1 with AllowedIPs = 0.0.0.0/0 (default route via VPN)
Linux wireguard server with "ip route add default via client2_ip table test" and &...