Questions tagged [wireguard]

257 questions
3
votes
3 answers

Chaining WireGuard Servers: Can ping both from client, but can't access internet. IP routing issue?

I am attempting a chained/double-hop VPN setup where all client traffic passes through 2 servers before reaching the internet: Client → Server1 → Server2 → Public Internet All peers are on these private address blocks: 10.103.213.0/24 (IPv4) and…
its_me
  • 195
  • 1
  • 6
  • 23
3
votes
1 answer

Port forwarding with wireguard

Using applications like qbittorrent and airdcpp to share files. They all need some ports to be forwarded in order to be "connectable". In the home connection I would go into the router settings 192.168.1.1 and then forward the ports, ex. 56000 to my…
Asmodean
  • 59
  • 1
  • 1
  • 6
3
votes
0 answers

How to forward all incoming traffic to server A to server B and B returns it to A?

Suppose I have two servers: A and B. On both I have installed WireGuard. On server A, wg0 is routed with IP 10.8.0.0/24 and on server B, wg0 is routed with IP 10.7.0.0/24. Let's say server A's WireGuard is listening on port 4000 and server B's…
1nted
  • 49
  • 6
3
votes
2 answers

IPv6 network for WireGuard VPN

I am currently migrating a company-internal VPN from OpenVPN to WireGuard. While at it, I want to migrate it from IPv4 to IPv6. The infrastructure currently consists of one server and ~1200 clients behind DSL connections of several ISPs…
3
votes
2 answers

Wireguard Unable to Complete Handshake on Android only 4G network

I have a Wireguard server on my home network which works fine on all my devices, including my phone when it's connected on Wi-Fi. The problem comes when I disconnect from the Wi-Fi and go on 4G, now my phone is unable to complete the handshake with…
MrRoy3
  • 33
  • 1
  • 6
3
votes
1 answer

Wireguard vpn with socks5 proxy

I use ssh tunnel currently with Firefox and setup socks5 on it the point is that if the proxy is off and if there is problem with server then nothing loads,that's why I want to use socks proxy with wireguard.So when the wireguard is off and not…
Steve Moretz
  • 131
  • 1
  • 7
3
votes
1 answer

How to configure FreeNAS for a WireGuard VPN?

I have a FreeNAS 11.3 system and followed iXsystems' instructions on setting up WireGuard. With a simple wg0.conf I'm now able to connect successfully. I'd like to be able to use this setup as a proper VPN, meaning that I can use the tunnel to…
Adam
  • 525
  • 1
  • 6
  • 13
3
votes
1 answer

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 port? Is wireguard successful config?
Dolphin
  • 301
  • 1
  • 6
  • 14
2
votes
0 answers

How to set up a wireguard IPv4 to IPv6 VPN?

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, and I'm able to get an IPv4 VPN set up. However for…
2
votes
1 answer

Excluding fwmark(ed) Packets from Wireguard Tunnel

In the scenario described here, I ended up with this config in the client (the endpoint WG server has two public IPs) [Interface] Address = /32 PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [Peer] PublicKey =…
Gaia
  • 1,777
  • 4
  • 32
  • 58
2
votes
1 answer

Does it make sense to conceal Wireguard port?

I have a server running Wireguard. Being a security paranoid, I'm using fwknop (Firewall Knocking Operator - a glorified port knocking server) to conceal the Wireguard port. This means that whenever I want to connect one of my clients to the…
2
votes
0 answers

How to forward traffic on various ports through a wireguard vpn using iptables/ufw

I have 2 machines running ubuntu 22.04, we will call them server and proxy. The proxy is a vps with an static public ip, and the server is running behind a nat. I want to route all traffic on some ports on the proxy to the server. Right now, both…
Laikar
  • 121
  • 2
2
votes
1 answer

VXLAN L3 over Wireguard L3, with VLAN-VNI Mapping

Hoping this is the right place - I originally posted on Network Engineering but it got closed and I was pointed to Server Fault. I am currently attempting to setup a L2 bridge between two sites using VXLAN to provide the L2 connectivity and…
ChownAlone
  • 21
  • 2
2
votes
2 answers

Wireguard Client Addition without restart

I am building a Wireguard VPN network, in which I want to add and remove peers on the server without restarting the service or losing connections with existing peers. Tried searching for the results, but I found nothing that can suit my needs (all…
Anton2319
  • 21
  • 3
2
votes
0 answers

How to redirect tailscale to shadowsocks

How to redirect tailscale traffic (TPC+UDP) through shadowsocks proxy on Linux? I've tried ss-redirect with no success.
ehpc
  • 137
  • 1
  • 4
1
2
3
17 18