Open airdogvan opened 7 months ago
Maybe providing the server logs might help:
wireguard-ui | wg-quick: `wg0' is not a WireGuard interface
wireguard-ui | [#] ip link add wg0 type wireguard
wireguard-ui | [#] wg setconf wg0 /dev/fd/63
wireguard-ui | [#] ip -4 address add 10.252.1.0/24 dev wg0
wireguard-ui | [#] ip link set mtu 1450 up dev wg0
wireguard-ui | [#]
wireguard | [migrations] started
wireguard | [migrations] no migrations found
wireguard | ───────────────────────────────────────
wireguard |
wireguard | ██╗ ███████╗██╗ ██████╗
wireguard | ██║ ██╔════╝██║██╔═══██╗
wireguard | ██║ ███████╗██║██║ ██║
wireguard | ██║ ╚════██║██║██║ ██║
wireguard | ███████╗███████║██║╚██████╔╝
wireguard | ╚══════╝╚══════╝╚═╝ ╚═════╝
wireguard |
wireguard | Brought to you by linuxserver.io
wireguard | ───────────────────────────────────────
wireguard |
wireguard | To support the app dev(s) visit:
wireguard | WireGuard: https://www.wireguard.com/donations/
wireguard |
wireguard | To support LSIO projects visit:
wireguard | https://www.linuxserver.io/donate/
wireguard |
wireguard | ───────────────────────────────────────
wireguard | GID/UID
wireguard | ───────────────────────────────────────
wireguard |
wireguard | User UID: 1000
wireguard | User GID: 1000
wireguard | ───────────────────────────────────────
wireguard |
wireguard | Uname info: Linux aa7e47965f86 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 GNU/Linux
wireguard | **** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****
wireguard | **** As the wireguard module is already active you can remove the SYS_MODULE capability from your container run/compose. ****
wireguard | **** Client mode selected. ****
wireguard | **** No client conf found. Provide your own client conf as "/config/wg0.conf" and restart the container. ****
Inside the wireguard container:
wg show
interface: wg0
public key: dSqUpHft7RBHnEbCC+FR70HQmNhF892o9upk16QNnzs=
private key: (hidden)
listening port: 51820
peer: E+InEtlznjTBoYtaYHcYNLiL4uhz7BMGpch2zcc3mWI=
preshared key: (hidden)
endpoint: xxx.xxx.xxx.xxx:53454
allowed ips: 10.252.1.2/32
latest handshake: 53 seconds ago
transfer: 249.68 KiB received, 3.00 MiB sent
persistent keepalive: every 15 seconds
peer: zc6t+vBUuUtCti9ldHO2xuTjAg7CjayPETEQzEos014=
preshared key: (hidden)
allowed ips: 10.252.1.1/32
persistent keepalive: every 15 seconds
On my Ubuntu 22 machine no error.
After wg-quick up:
But I cannot connect to anything from my linux client and if I try to ping an external address:
Tried on my phone (Android) and it said "connecting" without ever being connected. But the admin interface on the server (status) listed my phone as connected.
The previous version (with wg-easy) was working fine.
Thanks for looking into it.