r/WireGuard • • 1d ago

Need Help Cloudflare warp app not working.

1 Upvotes

So on my pixel 9 pro xl. The warp app barely connects so I reinstalled it and now it doesn't connect at all. It works fine on my other phone and my PC. So is there a way I can use wireguard and connect cloudflare warp using it and not use the actual warp app? Warp app is so buggy for me and it gives fatal errors and device not authorized by organization errors. If I get through, device not authorized by the organization error. It's starts giving fatal error and stuff. It connected when I reinstalled the app and opened it with my mobile data instead of wifi. But I'm using WiFi for all my other devices and it works. But not my phone.


r/WireGuard • • 1d ago

Tools and Software I built a WireGuard server that runs inside an iOS app (wireguard-go + gVisor netstack, no Network Extension)

0 Upvotes

Tether is an iOS app that listens for WireGuard on the iPhone's hotspot address. Your laptop, iPad or travel router uses a normal WireGuard client, and Tether terminates the tunnel in userspace: wireguard-go decrypts, gVisor's netstack ends the TCP and UDP flows, and each one is opened again from the iPhone's own sockets. So the traffic leaves as the phone's, not as hotspot traffic.

Setup is a QR code or a .conf you download from the phone. GL.iNet and UniFi travel routers work as clients too.

Open source (MIT): https://github.com/viktor-svirsky/tether

Happy to answer questions about running wireguard-go inside an iOS app.


r/WireGuard • • 2d ago

Need Help Best way to access to Java Web application from outside of my LAN

2 Upvotes

Hi,

In my company (7 users) need to access to java aplication web from a raspberry pi to access to the application.

I've configured Wireguard but I think it's too unsafe.

Based on your experience, what method would you recommend for providing this access? Please keep in mind that I’m not looking for anything expensive or complicated.

Or do you think the WireGuard method I mentioned is the right one?

Thanks!


r/WireGuard • • 2d ago

Need Help Can't wrap my head around how to avoid LAN IP conflicts

0 Upvotes

Hi all,

I've been a Tailscale user, but I wanted to try out Wireguard. Tailscale is giving me fits on my iOS devices, and I was hoping direct WG would resolve this and also give a little boost in performance.

What I can't figure out, though, is how to avoid IP conflicts between my LAN and the wifi/LAN I might be connected to while making a WG connection back home.

Tailscale has been good in this regard - I am set up to use my machine "familiar names" on all my devices (e.g., http://homeassistant). When I'm home, this resolves either with Netbios on Windows machines or my LAN DNS (TP-LINK ER605) for Apple. When I'm away, Tailscale resolves the machine name (I always connect to Tailscale when away from my home LAN). No conflicts.

I'm under the impression that WG will require me to use my local IP address (e.g., 192.168.0.10), whether home or away, to access my machines. I know this can cause conflicts if I'm on a public/non-home wifi/LAN. Short of re-tooling my whole home LAN to move all of my current static IPs to new, somewhat random static IPs, how does one avoid this? Is there a way to continue to use my "familiar" machine names on Wireguard, without having to have all traffic route through my home network (I'd like to only have WG tunnel to my home network when accessing a device on it)?

Thanks!

EDIT: I probably wasn't clear... my issue is not in selecting the appropriate address for my wireguard tunnels, but instead ensuring that the addresses for accessing my home LAN devices resolve appropriately when I'm using wireguard on a remote/public network. My experience has been that, at times, when trying to access a local LAN machine at 192.168.0.5 (for example) when on a public wifi, my device tries to resolve that address on the public wifi instead of going through the tunnel to my LAN.


r/WireGuard • • 3d ago

Need Help Is it safe to open a port on my router for Wireguard VPN?

Thumbnail reddit.com
0 Upvotes

I'm in the planning stage, so nothing has been configured yet. I'm staring at a piece of notebook paper right now instead of a terminal to give you an idea of where I'm at.


r/WireGuard • • 3d ago

Ideas WG2FA: self-hosted WireGuard with TOTP 2FA, where a peer only exists while its owner has a valid 2FA session

3 Upvotes

A device's peer is loaded only while you're logged in with 2FA, and removed when the session expires or is revoked. Other features: VPN profiles (routes, DNS, MTU, session length), site-to-site router configs (MikroTik, OpenWrt, OPNsense/pfSense, wg-quick), a web GUI with audit log, a self-service portal, and macOS/Windows clients.

It's a single Go binary that uses kernel WireGuard or wireguard-go, with Docker and Podman Quadlet deployment.

Repo: https://github.com/jwklijnsma/wireguard

Known gaps: IPv4 only for now, and no DNS leak protection on Windows yet. I'd really appreciate security-minded feedback.

Built with help from AI coding tools; design decisions and testing are mine.


r/WireGuard • • 3d ago

Tools and Software WG-Control - a Wireguard automator for Android

0 Upvotes

WGControl provides a more automated way to control your WireGuard tunnels depending on your device's current situation.

!!This is a VibeCode product!!!

As I host my own WireGuard server to access my home network and use my Pi-hole from abroad, I have been using Tasker to disable the tunnel whenever I connect to my home Wi-Fi network. However, as my family has grown and I was looking for a solution that doesn't require running Tasker on every device, I decided to build an app tailored exactly to my needs.

So, without further ado, I present WGControl:

https://codeberg.org/FadeFX/WGControl

Features:

  • Controls the official wireguard app
  • Controls the official AmneziaWG app
  • No ads or trackers—just functionality
  • Switches WireGuard/AmneziaWG tunnels via their official broadcast interfaces
  • Switches tunnels based on connected Wi-Fi or Bluetooth devices
  • Checks internet connectivity before (re)activating a tunnel
  • Scans visible Wi-Fi networks
  • Add Wi-Fi networks manually
  • Allows selecting multiple Wi-Fi networks that disable/enable the tunnel
  • Wildcard support in Wi-Fi names (only ? for one letter)
  • Allows selecting multiple Bluetooth devices that disable the tunnel (since wireless Android Auto does not work over a VPN)
  • Automatically detects most android auto devices on connection
  • Prompts via notification upon pairing unknown Bluetooth devices to ask if it is an Android Auto device
  • Protects settings with an admin password (Kids Mode)
  • Enables logging for behavior analysis (stored for a configurable time up to 24 hours)
  • Full-text filter in the protocol viewer
  • Quick enable/disable toggle in notifications
  • Option to disable the tunnel for x minutes
  • Quick enable/disable toggle in quick settings
  • Backup and restore settings with optional encryption (using the admin password)
  • Widget with status display and toggle functionality
  • Manages multiple tunnels (per Wi-Fi connection, mobile data, and mobile roaming). Background: I usually use a split tunnel, only connecting to my devices over the tunnel, while the rest of the trafic goes over the open internet. However, in certain situations I want a full tunnel for complete security. This is also useful for users of commercial VPN services.

Get it here:

https://codeberg.org/FadeFX/WGControl/releases

F-Droid:

https://f-droid.org/packages/org.supersane.wgcontrol

To be done:

  • Optional MAC address identification for WiFi networks
  • Tiny Server component to provide cryptographic homenet identification
  • You tell me...

r/WireGuard • • 4d ago

Replacing GoodCloud after the Nov 20 incident: Cloudflare DDNS + WireGuard, Tailscale, or both?

Thumbnail reddit.com
2 Upvotes

r/WireGuard • • 4d ago

Tools and Software Self-healing config for PIA on ASUS routers

2 Upvotes

r/WireGuard • • 5d ago

Need Help How do you handle CVEs in wireguard-go?

0 Upvotes

I’m using wireguard-go in a mobile app.

When a CVE comes up in something like golang.org/x/crypto, do you update the dependency yourself or wait for an upstream update?


r/WireGuard • • 6d ago

iOS with AT&T wireless [ Recent struggles ]

6 Upvotes

I've had the iOS WG client on my AT&T for several years and it's been flawless. Around August timeframe, I started having issues sustaining my connection. The tunnel connects back to house over standard UDP 51820 port in my PFSense Firewall. I performed a packet capture last week when the tunnel went down and saw no external traffic attempts on that port. [ but maybe I won't see UDP attempts anyways? ]

- WG Tunnels work great on static remote devices [ external routers or peer servers in cloud ]

- I tried switching my iOS tunnel over to IPv6 and experienced same issues [ with a separate cloudflare DNS name for IPv6 ]

- The tunnel "does" work sometimes on my iPhone for a bit, it just doesn't sustain.

- Have not had a chance to test this on phone when connected to an outside WiFi, mainly because I think the issue is when it switches towers or interfaces on the phone.

Coincidentally, I did update my PFSense router around the same time I started noticing this. I've semi-ruled this out though since the handshake appears to die and not attempt new connections.

Is this something with AT&T's mobile network that I need to workaround? I'm about to deploy the tunnels to spouse and kids and starting to consider using Tailscale instead...

Attaching a iOS log snippet for feedback. It repeats similar cycle over and over:

[NET] peer(pT8P…llW4) - UAPI: Updating endpoint
2026-11-17 07:32:06.469
[NET] Routine: receive incoming v4 - stopped
2026-11-17 07:32:06.469
[NET] Routine: receive incoming v6 - stopped
2026-11-17 07:32:06.470
[NET] UDP bind has been updated
2026-11-17 07:32:06.470
[NET] Routine: receive incoming v4 - started
2026-11-17 07:32:06.470
[NET] Routine: receive incoming v6 - started
2026-11-17 07:32:07.031
[NET] peer(pT8P…llW4) - Handshake did not complete after 5 seconds, retrying (try 2)
2026-11-17 07:32:07.031
[NET] peer(pT8P…llW4) - Sending handshake initiation
2026-11-17 07:32:12.122
[NET] peer(pT8P…llW4) - Handshake did not complete after 5 seconds, retrying (try 3)
2026-11-17 07:32:12.122
[NET] peer(pT8P…llW4) - Sending handshake initiation
2026-11-17 07:32:14.635

EDIT: Also found this user post on Ubiquiti but I was not able to find reference to others with this problem as the OP mentions. Wireguard breaks on AT&T 5G


r/WireGuard • • 6d ago

Self-hosted VPN with user authentication?

19 Upvotes

Self-hosted VPN with user authentication?

I have five regional OpenVPN gateways running in Docker on my home server using a commercial VPN subscription. Each gateway has its own WireGuard interface, allowing users to choose which location they want to connect to.

My current setup looks like this:

User Devices (WireGuard App)
             |
      My VPN Server
             |
     Regional Gateways
     ├── Toronto
     ├── New York
     ├── London
     ├── Tokyo
     └── Amsterdam
             |
   Commercial VPN Provider
             |
          Internet

I currently use WireGuard Portal to manage peers and generate QR codes.

Instead of distributing WireGuard configs, I'd like users to log in to an app using their own credentials, select a VPN location and connect, just like a regular commercial VPN app. I'd also like to centrally manage and revoke user access.

Is there any open-source, self-hosted application that can do this while utilizing my existing VPN setup?


r/WireGuard • • 6d ago

A tiny auto-switcher for WireGuard on Windows (native ARM64): tunnel off at home, on everywhere else

0 Upvotes

The official WireGuard client for Windows is great, but it has no auto-connect: I kept forgetting to turn the tunnel on in cafés, or leaving it on at home. I tried WG Tunnel, which does this, but on my Surface Laptop (Snapdragon) it felt too heavy for what I needed. So I built something small that does only this one job.

WG-AutoSwitch is a native Windows service plus a tray app that turns your WireGuard tunnels on or off depending on the network you're connected to.

What it does

  • Trusted networks (e.g. home) → tunnel off; everything else → tunnel on. No network → off.
  • Different tunnel per network if you like (e.g. home VPN vs. office VPN).
  • A network only counts as trusted when several things match: gateway MAC address plus DNS suffix, SSID or BSSID. An SSID alone is easy to fake.
  • Waits for captive portal login (hotels, trains) before connecting.
  • Imports .conf files, e.g. straight from the OPNsense peer generator.
  • Uses the official WireGuard for Windows installation. No custom VPN code, it only starts and stops the tunnel services.

Why it's light

  • Native C++/Win32, about 150 KB, native ARM64 and x64
  • Event-driven: no polling and no timers while idle, so no battery drain
  • Runs as a least-privilege virtual service account, not LocalSystem
  • No telemetry. The only network request is an optional daily update check on GitHub, which you can turn off.
  • English and German UI

Honest notes

  • It was written with the help of Claude (AI). The code is public under MIT, so feel free to review it.
  • The releases are not code-signed yet: I've applied to the SignPath Foundation, so SmartScreen may warn you for now.

GitHub: https://github.com/benerages/wg-autoswitch

Feedback, bug reports and feature ideas are very welcome. I'd especially like to hear from other Windows-on-ARM users.


r/WireGuard • • 8d ago

WireGuard client iPhone weird behavior

4 Upvotes

Have opnsense 26.7.9_3 at home
Trying to get a iPhone road warrior setup going

WireGuard client on iPhone, tunnel setup using a QR code in opnsense

Config “looks” good.

Endpoint in iPhone before activating correctly says xx.yy.zz.30:51820

When activating the tunnel, the endpoint instantly changes to an IPv6 address with port 51820

When I deactivate, the endpoint changes back to the ipv4 address i specified..

Is this normal?


r/WireGuard • • 8d ago

Tools and Software Looking for someone experienced with WireGuard API automation and multi-server provisioning

0 Upvotes

Hey everyone, building out a commercial VPN site and trying to find someone who has actually set up automated WireGuard provisioning in production. Mostly need help connecting a billing frontend (WHMCS or a custom panel) to multiple Linux nodes so keys and peer configs generate automatically on signup. Paid gig obviously. If you've built something like this before or know a dev who has, shoot me a DM.


r/WireGuard • • 8d ago

WireGuard client

0 Upvotes

Hello,

Has anyone tried

https://apps.apple.com/app/homewire-home-vpn-remote/id6825091846

Seems like a very simple client app for WireGuard. No data collected, no subscription, no adds.

Widgets, control center shortcut, live activity, etc.

What’s the catch?


r/WireGuard • • 9d ago

Wireguard - site to site (Brume 3 in both locations)- Cant access

Thumbnail reddit.com
3 Upvotes

r/WireGuard • • 10d ago

Pure Java Tailscale library For Embedding Tailnets In Your Java Application

Thumbnail
reddit.com
2 Upvotes

r/WireGuard • • 10d ago

How can I get internet access on a MikroTik public Wi-Fi network with this kind of captive portal configuration?

3 Upvotes

I'm using a public Wi-Fi network. It uses a MikroTik hotspot with a captive portal that requires users to enter a voucher PIN before getting internet access.

I've been studying how the network works from my Ubuntu laptop, mainly to understand its network architecture and authentication mechanisms.

Here is what I've discovered:

**Network information:**

* Gateway: [192.168.13.1](http://192.168.13.1)

* Gateway hostname: mbc.wifi

* Subnet: [192.168.12.0/22](http://192.168.12.0/22)

* Authentication: MikroTik captive portal

* Billing platform: [v2.mbcwifi.com](http://v2.mbcwifi.com)

**Firewall behaviour before authentication:**

* DNS requests to external DNS servers appear to be allowed.

* HTTP requests are intercepted and redirected to the captive portal.

* HTTPS connections appear to be blocked.

* ICMP traffic is blocked.

* The billing website remains accessible.

**Other observations:**

* IPv4 client isolation appears to be enabled.

* Proxy ARP appears to be active.

* IPv6 multicast discovery reveals other connected devices.

* The captive portal uses client-side MD5 hashing with a static salt.

* There appears to be a hidden admin login option in the portal.

**My question:**

Given these observations, are there any known weaknesses or configuration mistakes in MikroTik Hotspot deployments that could allow a client to obtain internet access without going through the normal voucher authentication process?

I'm particularly interested in understanding whether the IPv4/IPv6 configuration, captive portal implementation, or walled-garden configuration could introduce a bypass.

I'm not looking to disrupt other users or access their devices. I'd appreciate explanations of the underlying mechanisms , resources ortools and how such configurations can be assessed.

Has anyone encountered a similar MikroTik setup?


r/WireGuard • • 10d ago

Need Help Can you use WireGuard to watch French Websites?

0 Upvotes

I want to watch this French Cartoon. I tried WireGuard, but instead of me being able to watch the French Cartoon, not only did it fail, it also made my computer stop working until I turned it off. Does it work better for anyone else. I send a link here: https://www.m6.fr/jamie-a-des-tentacules-p_17541


r/WireGuard • • 11d ago

小型项目合作

Thumbnail reddit.com
0 Upvotes

r/WireGuard • • 11d ago

Tools and Software GL.iNet Beryl 7 (GL-B3000) + M-net FTTH (PPPoE / VLAN 40 / DS-Lite): NordVPN WireGuard stuck at "Assigning..." and timing out after toggling off/on

Thumbnail reddit.com
3 Upvotes

r/WireGuard • • 11d ago

Self-hosted WireGuard mesh with AI Server and AI gateway (Docker Compose)

0 Upvotes

I'm the developer of HostAnywhere, a device mesh I've been running as a hosted service. I've now packaged the whole control plane as a Docker Compose deployment so you can run it on your own server.

What the self-hosted deployment enables:

  • WireGuard mesh: connect Mac, Windows, Linux, iPhone and Android devices. Peers connect directly when possible and fall back to the relay when hole-punching fails.
  • Public service URLs: expose services on your devices as <name>.yourdomain, with per-subdomain TLS issued on demand by Caddy. No wildcard certificate or DNS plugin needed.
  • Access control between devices.
  • AI Server: turn any of your machines into a private AI server with a one-click Ollama install, model installs and an optional Open WebUI chat, reachable from your other devices over the mesh.
  • AI gateway: an OpenAI-compatible endpoint in front of your local models, running on your own devices.

The compose stack runs the control plane and relay. The AI Server and AI gateway run on your own devices, coordinated by it.

Requirements: a Linux host with Docker Compose, a public IP and the WireGuard kernel module; a domain with three A records (domain, *.domain, relay.domain); and ports 80/443/7443 TCP plus 51820 UDP open in both your cloud provider's firewall and the OS firewall. If you use Cloudflare DNS, set the records to DNS only, not proxied.

git clone https://github.com/hostanywhere/hostanywhere-selfhost
cd hostanywhere-selfhost
cp .env.example .env
# set DOMAIN and JWT_SECRET (openssl rand -hex 32)
docker compose up -d

Images are prebuilt for amd64 and arm64. No SMTP is needed: the first sign-in magic link is printed in the container logs.

To be upfront:

  • License: not open source. It's free for personal and internal business use, with no device, user or feature limits. Hosting it for third parties (paid or not), reselling or bundling it, or redistributing the images needs a commercial agreement.
  • Not included yet: SSO, and the cloud-hosted AI gateway (the on-device gateway works).

Repo + install docs: https://github.com/hostanywhere/hostanywhere-selfhost

If you'd rather not run the control plane yourself, you can use the hosted version at https://hostanywhere.io: same apps, same mesh, with coordination and relay run for you.

I'd especially like feedback on the install, and on CGNAT, double NAT or strict firewalls where devices can't connect directly.


r/WireGuard • • 13d ago

wireguard for the whole family on one vps

21 Upvotes

hey! setting up a self-hosted VPN server for me, my parents and my brother, about 9 devices total. editing wg0.conf by hand and generating keys for my mom's ipad got old fast

is wg-easy still the go-to WireGuard panel, or has anyone tried the one in beadmin? thanks