# Wireguard not doing NAT by default

**URL:** <https://forum.yunohost.org/t/wireguard-not-doing-nat-by-default/42926>\
**Category:** Support apps\
**Tags:** wireguard, vpnclient, english\
**Created:** [September 4, 2026, 7:27am UTC](https://forum.yunohost.org/t/wireguard-not-doing-nat-by-default/42926 "2026-09-04T07:27:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthew\_exon](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/edb3f5/32.png) [@matthew\_exon](https://forum.yunohost.org/u/matthew_exon)\
**Post date:** [September 4, 2026, 7:27am UTC](https://forum.yunohost.org/t/wireguard-not-doing-nat-by-default/42926/1 "2026-09-04T07:27:13Z")

</div>

### I have searched the forum for similar issues

on

### This category is for issues regarding specific apps, _NOT_ general issues with YunoHost.

on

### This form is written in English but feel free to write in French if you’re more comfortable!

on

### What app is this about, and its version

WireGuard Server, 0.6.2~ynh7

### What YunoHost version are you running

12.1.41.2

### What type of hardware are you using

VPS bought online

### Describe your issue

I’m trying to use my Yunohost on a Debian 12 VPS in Europe as a VPN from here in Taiwan. I installed WireGuard Server (0.6.2~ynh7) and set up a couple of clients with defaults. On my Ubuntu 26.04 machine I downloaded and imported the settings:

```auto
sudo nmcli connection import type wireguard file /home/mat/Downloads/Aeon.conf

```

On Android I used the WireGuard app to scan a QR code. Both of them appear to connect fine. However, neither of them can ping any sites with their VPN switched on - not by FQDN, not by IP address. Even pinging the address 10.10.10.0 on the other end of the VPN doesn’t get a response. Looking at `ip r`, nothing is being routed through the VPN. I can still ping the usual router on 192.168.0.1.

I believe one problem is that the VPS has not set up NAT for the clients. It’s not clear whether WireGuard Server is even supposed to be used that way. In fact it’s not clear to me whether WireGuard is supposed to be a VPN in the NordVPN sense at all. Is this just a “feel free to install your own batteries” situation, or is something not working as it’s supposed to?

But then, it also doesn’t look right that I can’t see any VPN routes with `ip r`. Am I expected to figure that part out myself as well? Since the client here is a laptop, I’m trying to use the Gnome GUI as far as possible, not fiddle with config files.

Here is the redacted config file. I’ve read that the `AllowedIPs` bit is supposed to redirect all traffic through the VPN, but that doesn’t seem to be happening on Ubuntu.

```auto
[Interface]
Address = fd42::1/128,10.10.10.1/32
PrivateKey = REDACTED
DNS = 1.1.1.1
MTU = 1450

[Peer]
PublicKey = REDACTED
PresharedKey = REDACTED
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = REDACTED:8095
PersistentKeepalive = 15

```

### Share relevant logs or error messages

No relevant logs (until someone suggests something)

---

<div class="post-metadata">

**Author:** ![matthew\_exon](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/edb3f5/32.png) [@matthew\_exon](https://forum.yunohost.org/u/matthew_exon)\
**Post date:** [September 6, 2026, 12:09am UTC](https://forum.yunohost.org/t/wireguard-not-doing-nat-by-default/42926/2 "2026-09-06T00:09:13Z")

</div>

The solution turned out to be…

When you change something in the web UI, a button called “Apply Config” inserts itself at the top right of the page. Until you click that, none of the clients you create will actually be saved into the server config file. Not even after a reboot.

Note that after clicking “Submit” on the “New Wireguard Client” dialog, your new client appears right alongside the others with no visual indication that it’s in an unusable state. Also note that if you download, install, and enable that VPN on the client device, it appears to connect fine without indicating that there is nothing at all on the other end. Also please very much note that if you try this on a headless machine, you’ve just destroyed network connectivity and bricked the machine.

I wasted days on this.

Nothing’s going to improve, because [Wireguard UI is a dead project](https://github.com/ngoduykhanh/wireguard-ui/issues/669). The best replacement appears to be [WireGuard Easy](https://github.com/wg-easy/wg-easy). Perhaps that corrects some of the issues I had.

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [September 21, 2026, 12:09am UTC](https://forum.yunohost.org/t/wireguard-not-doing-nat-by-default/42926/3 "2026-09-21T00:09:24Z")

</div>

Closed on September 21, 2026, 12:09am UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
