Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3178

NSA325 Wireguard (6 replies)

$
0
0
Hi, long time no see!

ZyXEL NSA325
Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021
Debian 11.1


root@kerstin:/etc/wireguard# wg-quick up wg_gerd
[#] ip link add wg_gerd type wireguard
[#] wg setconf wg_gerd /dev/fd/63
[#] ip -4 address add 10.10.10.150/24 dev wg_gerd
[#] ip link set mtu 1420 up dev wg_gerd
[#] resolvconf -a tun.wg_gerd -m 0 -x
[#] ip -4 route add 192.168.1.0/24 dev wg_gerd
RTNETLINK answers: File exists
[#] resolvconf -d tun.wg_gerd -f
[#] ip link delete dev wg_gerd
root@kerstin:/etc/wireguard#

If i set "Table = off" in config so it doesnt add routes the interface works but then i cant access interface wg from lan or lan from wg.

Could it be something with the kernel or some package missing?
Ive got a Raspberry with same config setup and that works with no problems.

Viewing all articles
Browse latest Browse all 3178

Trending Articles