wireguard

How to configure a WireGuard client to interact with two distinct servers?

How to configure a WireGuard client to interact with two distinct servers? I want an unmanned WireGuard client to work with redundant WireGuard servers. Physical: I have a master database server in a VPS of provider A in the USA. I have continuous replication running to a slave server in a VPS of provider B …

Total answers: 1

How to setup a dedicated NordVPN router and gateway on linux?

How to setup a dedicated NordVPN router and gateway on linux? The problem is this: The only officially supported router configuration for nordvpn is to use a static config file and openvpn. That doesn’t work for me. The question: Using linux, how does one setup a nordvpn router/gateway that allows use of dynamic connections, nordlynx, …

Total answers: 1

Two different wireguard tunnels wg0 and wg1 via wlan0 and eth0 to the same wan ip

Two different wireguard tunnels wg0 and wg1 via wlan0 and eth0 to the same wan ip I have following config: two interfaces eth0 connected via ISP1 and wlan0 connected via ISP2 to the internet. Both connections have different IP addresses and allow internet connectivity. I setup two wireguard interfaces wg0 and wg1. wg0 should always …

Total answers: 1

Why is my LAN cable opening an UDP port on my computer?

Why is my LAN cable opening an UDP port on my computer? OS: Debian 12 I’m working on my OPSEC pretty often because security is very important for me. Now I have a new router which opens a port on my computer when I plug in the LAN cable. When I disconnect the LAN cable, …

Total answers: 2

Bind9 REFUSED on same server

Bind9 REFUSED on same server I have a local BIND9 DNS server running in a Docker container. In another container I have Wireguard running, which I use to connect to my home network from outside. The issue I’m running into is that when I select the server IP as a DNS for wireguard, BIND9 keeps …

Total answers: 1

Wireguard no internet after enablling Kill Switch

Wireguard no internet after enablling Kill Switch Everything worked smoothly until a few days ago when on Linux Mint (Ubuntu / xfce) while enabling the kill switch on Wireguard, I couldn’t access the internet. [Interface] PrivateKey = ************ # The comp_private.key value. Address = 10.0.0.2/24 # Internal IP address of the VPN server. ListenPort = …

Total answers: 1

Ubuntu Server, connected to third-party VPN, cannot be accessed by an external client connected via another VPN

Ubuntu Server, connected to third-party VPN, cannot be accessed by an external client connected via another VPN Setup Ubiquiti UDM Pro w/Network 7.4.162 10.2.2.0/24 Server: Ubuntu 20.04 connected to AirPVN eno2 10.2.2.99/32 eno1 10.2.2.101/32 (enabled temporarily to test if adding a 2nd network connection would help—it doesn’t) Air VPN setup by importing OpenVPN config file …

Total answers: 1

how to remove wireguard

how to remove wireguard my os is ubuntu 20 i try remove wireguard sudo apt remove wireguard sudo apt autoclean && sudo apt autoremove Package ‘wireguard’ is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. $ locate wireguard /snap/core18/2667/usr/lib/python3/dist-packages/cloudinit/config/__pycache__/cc_wireguard.cpython-36.pyc /snap/core18/2667/usr/lib/python3/dist-packages/cloudinit/config/cc_wireguard.py /snap/core20/1778/usr/lib/python3/dist-packages/cloudinit/config/__pycache__/cc_wireguard.cpython-38.pyc /snap/core20/1778/usr/lib/python3/dist-packages/cloudinit/config/cc_wireguard.py /snap/core22/484/usr/lib/python3/dist-packages/cloudinit/config/__pycache__/cc_wireguard.cpython-310.pyc /snap/core22/484/usr/lib/python3/dist-packages/cloudinit/config/cc_wireguard.py /usr/lib/modules/5.15.0-57-generic/kernel/drivers/net/wireguard /usr/lib/modules/5.15.0-57-generic/kernel/drivers/net/wireguard/wireguard.ko …

Total answers: 2

No internet when wireguard is connected

No internet when wireguard is connected I’ve been using F37 for a while since it was released and Wireguard was working fine. This happens right after the latest update yesterday. My laptop Wireguard config: [Interface] PrivateKey = redacted Address = 10.1.0.12/24 DNS = 8.8.8.8, 8.8.4.4 [Peer] PublicKey = redacted PresharedKey = redacted Endpoint = redacted …

Total answers: 1

Wireguard specify listen address

Wireguard specify listen address Is there a way to configure the Linux wireguard module to only listen on a specific IP address for incoming connections instead of it’s default of listening on all available addresses? I cannot find any documentation for this. Asked By: Scoopta || Source WireGuard’s Linux kernel module has no option to …

Total answers: 1

Why is UFW blocking acces to SSH via Wireguard?

Why is UFW blocking acces to SSH via Wireguard? 192.168.100.50 is connected to 192.168.178.20 over the internet via wg0 interface. wg0 is opening up the tunnel 10.102.242.1/24. The wireguard client interface has 10.102.242.2. Through a static route on 192.168.100.1 I can connect from any device in 192.168.100.0/24 to the wireguard client using ssh admin@192.168.178.20 But …

Total answers: 1

How to ping ISP router from external wireguard client via wireguard's server?

How to ping ISP router from external wireguard client via wireguard's server? Given this setup: 2.2.2.2: name: client WireGuard address: 10.0.0.2 ^ | <internet> | v 1.1.1.1: name: gw (ISP router) LAN address: 192.168.1.1 ^ | v 192.168.3.1: name: wg (br-lan) WireGuard server WireGuard address: 10.0.0.3 (wg0) WAN address: 192.168.1.3 (wan) client (2.2.2.2) can ping …

Total answers: 1

Rocky linux 9 wireguard masquerade traffic to internet not working

Rocky linux 9 wireguard masquerade traffic to internet not working Installed the wireguard, access to local resources works well, but traffic masquerading cannot be started and internet access is not opened. The instructions from the red hat do not contain a description of the steps on how to open internet access for clients connected via …

Total answers: 3

Reset network settings to default (particularly DNS)

Reset network settings to default (particularly DNS) I have a remote user who switched from Windows to Ubuntu 22.04 and after installing WireGuard and adding the config we provided him, he’s having major DNS issues. It’s worth noting we have many Linux users in our company using the VPN so I’m really confused as to …

Total answers: 1

How to make wireguard ignore certain ports

How to make wireguard ignore certain ports I have my router setup to port forward port 80 to a machine running a caddy file server. I can successfully curl the file server from the LAN but I get a timeout when curling from the WAN. The machine running caddy is also running wireguard through NetworkManager …

Total answers: 2

Wireguard how make access only to the local network for some clients on centos?

Wireguard how make access only to the local network for some clients on centos? I need some of the clients to have access to the internet when connected through the wireguard, and some only see the local network for access to samba, but without access to the Internet. I have Centos with standard settings that …

Total answers: 1

What is safer: Wireguard on Router or on Server behind Router

What is safer: Wireguard on Router or on Server behind Router I am currently setting up my home server and I was wondering if there are any advantages/disadvantages to either of these approaches: Wireguard on Router Server behind Router Does it even matter at all? Asked By: FMP || Source To me the option closest …

Total answers: 2

Docker container as network gateway [Not responding]

Docker container as network gateway [Not responding] I wanted to set up a Wireguard Docker container acting as a network gateway. My setup looks like this: Client (user-Virtual-Machine) | IP: 172.22.100.157 Host (user-Virtual-Machine) | IP: 172.22.105.35 Docker container (from linuxserver/wireguard) | IP: 172.16.238.10 What I’ve done so far: Client: # Replace the default route with …

Total answers: 1