Hi, I’m new to both DietPi and Wireguard. I set them up but whenever I try to connect my Ubuntu OS to Wireguard through DietPi I get the following error
[#] ip link add vpn type wireguard
[#] wg setconf vpn /dev/fd/63
[#] ip -4 address add 10.x.x.x/24 dev vpn
[#] ip link set mtu 1420 up dev vpn
[#] sysctl net.ipv4.conf.vpn.forwarding=1 net.ipv4.conf.$(sed -n 3p /DietPi/dietpi/.network).forwarding=1
sed: can’t read /DietPi/dietpi/.network: No such file or directory
net.ipv4.conf.vpn.forwarding = 1
sysctl: separators should not be repeated: …forwarding
sysctl: cannot stat /proc/sys/net/ipv4/conf//forwarding: No such file or directory
[#] ip link delete dev vpn
What am i doing wrong?