Questions tagged [wireguard]

257 questions
0
votes
1 answer

How to route traffic between L2TP/IPSec and WireGuard tunnels?

I have a KVM VPS running Ubuntu 18.04 which is simultaneously: L2TP server (xl2tpd + strongswan) with IP 192.168.42.1/24 Wireguard client with IP 192.168.73.3/24 (server's IP is 192.168.73.1/24) Both L2TP and Wireguard connections work pretty well…
0
votes
0 answers

WireGuard on CentOS with Android Client setup issues

I used this guide here to setup wireguard on a CentOS machine. I have my private key, my public key, the firewall and my wg0.conf: [Interface] Address = 192.168.5.1/24 SaveConfig = true ListenPort = 31194 PrivateKey =
uncovery
  • 295
  • 2
  • 12
0
votes
1 answer

How do I route a specific ip address via the default system gateway?

I send all the traffic through a Wireguard VPN, but I need to setup an exception. Packets directed to my own public IP have to go through the default gateway of the system. It works as intended if I add this to the kernel routes: route add X.X.X.X…
NANI SORE
  • 3
  • 1
0
votes
1 answer

IP transparent tunneling with wireguard

Say I have node1 and node2, connected over the internet. An application server on node1 has an IP acl for the IP of node2. For security reasons I open a Wireguard tunnel between the nodes. I'd like to keep the configs of the application the…
hbogert
  • 411
  • 1
  • 4
  • 18
0
votes
0 answers

Wireguard on Windows 10 - remote LAN access issues

I have a work LAN (192.168.0.0/24) with a bunch of Windows 10 and Linux machines that I need to have access to from anywhere. Since it is behind an ISP NAT and is not accessible from outside, I had to arrange a globally accessible remote server…
z0mb1e_kgd
  • 1
  • 1
  • 1
0
votes
0 answers

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 recently installed DuckDNS to be able to access some…
FabioEnne
  • 101
  • 1
0
votes
1 answer

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: mtu 1500 qdisc…
its_me
  • 195
  • 1
  • 6
  • 23
0
votes
0 answers

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 possible to use a single connection (OpenVPN,…
0
votes
0 answers

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 other hosts on 192.168.0.0/24 cannot. How do I…
decaby7e
  • 1
  • 1
0
votes
1 answer

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 following PostUp rules: PostUp = iptables -A…
P.R.
  • 103
  • 1
  • 5
0
votes
1 answer

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 scales more or less with the volume of traffic…
wvxvw
  • 126
  • 8
0
votes
1 answer

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 client set his tunnel up.
amrbcl
  • 43
  • 5
-1
votes
0 answers

Wireguard stop working on second peer

I have a home server with a isolated local network. The unique open port is wireguard (51820) My topology: Server -> 192.168.2.1 (redirects 51820 to VM3) - VM1 -> 192.168.2.2 - VM2 -> 192.168.2.3 - VM3 -> 192.168.2.4 (VPN Server) ---------- PC 1…
Pilati
  • 99
  • 2
-1
votes
1 answer

How to make a private home server connected to a wireguard server in cloud vpn accessible to the public?

Basically what I want to do is make a local home server accessible publicly in the internet. Unfortunately my ISP is using CGNAT and to get a public ip, I need to pay extra (around $50). I figured it's cheaper to use VPS instead. So I have setup a…
ads
  • 111
  • 2
-1
votes
1 answer

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 the VPN server itself (the raspberry pi in my…
1 2 3
17
18