Package: wireguard
Version: 1.0.20200319-1
Severity: important

Dear Maintainer,

I try to up wireguard with

  # wg-quick up wg0

and get:

--------------------------
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.10.99.31/24 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] resolvconf -a tun.wg0 -m 0 -x
/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link 
to /run/resolvconf/resolv.conf
[#] ip -4 route add 192.168.99.0/24 dev wg0
[#] ip -4 route add 192.168.110.0/24 dev wg0
[#] ip -4 route add 192.168.1.0/24 dev wg0
RTNETLINK answers: File exists
[#] resolvconf -d tun.wg0 -f
/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link 
to /run/resolvconf/resolv.conf
[#] ip link delete dev wg0
--------------------------

After that, wg0 is not active at all.

My /etc/wireguard/wg0.conf file:

--------------------------
[Interface]
PrivateKey = blablabla
Address = 10.10.99.31/24
DNS = 192.168.99.2, 192.168.1.14, 192.168.1.15

[Peer]
PublicKey = reblablabla
AllowedIPs = 10.10.99.0/24, 192.168.99.0/24, 10.0.1.0/24, 192.168.1.0/24, 
10.34.91.0/24, 192.168.110.0/24, 10.0.70.0/24
Endpoint = <ip:port direction>
PersistentKeepalive = 25
--------------------------

Doing the same in another machine in net all seems to work perfectly.

Thank you very much.

-- 
David

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wireguard depends on:
ii  linux-image-amd64 [wireguard-modules]  5.5.17-1
ii  wireguard-dkms                         1.0.20200413-2
ii  wireguard-tools                        1.0.20200319-1

wireguard recommends no packages.

wireguard suggests no packages.

-- no debconf information

Reply via email to