Questions tagged [wireguard]

352 questions
0
votes
0 answers

Wireguard server: allow clients to communicate with devices local to the server through Wireguard (effectively using wireguard as a tunnel)

I've got a bit of a weird problem, and I'm not sure if I'm trying to fit a square peg through a round hole or if I'm just not sure how to ask the question I really want to ask. At home, I have a headless server operating as a pihole and wireguard…
0
votes
1 answer

Client packets not arriving to wireguard server

This is my wireguard client config: [Interface] Address = 9.0.0.2/32 PrivateKey = [Peer] PublicKey = Endpoint = :50123 PersistentKeepalive = 25 AllowedIPs = 9.0.0.0/24 I see in wireshark Handshake Initiation…
T0maas
  • 111
  • 1
  • 6
0
votes
1 answer

Redirecting traffic via Wireguard VPN

I have a public IPv6 address but not an IPv4. Therefore I want to route the traffic via a VPS with a public IPv4 and an IPv6 address. My question is how to create this type of tunnel with Wireguard. The tunnel from the VPS to a device in my network…
Paul
  • 3
  • 1
  • 3
0
votes
1 answer

GRE tunnel. Port Forwarding with IPTables from VPS to Local Server not working

Dear ServerFault community, I have an OVH VPS with 3 public IPs (1.1.1.1, 2.2.2.2, 3.3.3.3) and I am trying to forward them individually, with one tunnel for each IP, to a server in my office (IP 5.5.5.5) with port forwarding. This so that I can…
Nicolò
  • 25
  • 2
  • 10
0
votes
1 answer

Firewalld port forwarding fails

I'm trying to replace an existing tunnel with firewall rules: firewall-cmd --zone=public --add-forward-port=port=9999:proto=tcp:toport=9999:toaddr=100.1.1.1 This should forward all incoming TCP connections to 100.1.1.1 The problem is that it does…
Maestro
  • 265
  • 1
  • 3
  • 9
0
votes
1 answer

WireGuard: 2 client peers on the same server with Internet connection and port forwarding

Dear ServerFault community, I have recently bought a home-server. I did not want to host any content on my office IP (1.1.1.1) and I, therefore, bought an OVH VPS with 4 IPs and created a WireGuard tunnel to use the VPS' IP as the homeserver IP. OVH…
Nicolò
  • 25
  • 2
  • 10
0
votes
1 answer

Exchange server via TailScale (Wireguard) and creating valid certificates

Here is the scenario. Exchange server runs on a lan. Clients interact with the server via ActiveSync over HTTPs connections served by IIS. IIS is using a cert with SANs that are appropriate for the local domain. An example would be *.corpdomain.com.…
Digital ink
  • 500
  • 1
  • 10
  • 23
0
votes
0 answers

Using Wireguard on a VPS to route all traffic from a client and a server (both Linux) behind NAT

I have two Linux machines, a client (C) in one country and a server (S) in another one. I want to route all traffic from C to S, and therefore a VPN would be the best solution for me, but both C and S are behind NAT, and the ISP does not allow port…
Simone Aonzo
  • 101
  • 2
0
votes
0 answers

I can't get my WIreguard tunnel to complete a handshake

I'm trying to setup a point-to-site wireguard tunnel between two different points on two seperate networks, but have setup similar tunnels setup in similar situations so I don't believe it has anything to do with the infrastructure between my…
Kyle Champoux
  • 11
  • 1
  • 3
0
votes
0 answers

How to enable TUN in Ubuntu running in a docker container

So basically I'm running an Ubuntu container in docker, with the host system running Ubuntu Server 20.4 LTS, and the container running 22.4 LTS. My intended goal is to have a container to download torrents over a VPN in a container. Now I do not…
0
votes
1 answer

Wireguard Client Cannot Connect to Server Subnet

I have a working setup of wireguard (Ubuntu 20.04 server, one Ubuntu 20.04 client and one Windows 10 client). I can connect to devices behind the VPN server. VPN Server (EndPoint): 1.2.3.2/32 Public Subnet EndPoint sits in: 1.2.3.0/27 WireGuard…
0
votes
1 answer

WireGuard combining Hub and Spoke with Point to Site

I want a Point to Site topology but since the "client" and "server" hosts are both in their own NAT networks I need to rely on a third host in a Hub and Spoke topology. visualization Host A (hub) [Interface] PrivateKey = Address =…
bankman22
  • 13
  • 4
0
votes
0 answers

Wireguard networking issues

I'm having some wireguard networking issues and hope you guys can help me. My goal is to build a side to side vpn. For that I have host A (public) and host B (private). Below is my config to create the tunnel. So far I can ping from each side to the…
Andreas
  • 1
  • 1
0
votes
1 answer

How do I configure Wireguard for a K8s multi-site?

I tried to configure Wireguard for a K3s multi-site cluster, my issue is with routing. There are at least 4 nodes, 2 in one location + 1 in other location and + 1 in other location. Assumptions: 10.50.0.0/16 network is for physical…
0
votes
1 answer

API-Server on master stops after adding second control-plane

In my current test setup I've several VMs running Debian-11. All nodes have a private IP and a second wireguard interface. In the future the nodes will be in different locations with different network and Wireguard is used to "overlay" all the…
TRW
  • 488
  • 3
  • 16