I removed pho21 and laptop from passthru (and the associated rules) but when I addWeirdly (given the context of the error message) it seems scriptwg_client
has somehow assumed text string 'ip=10.50.1.3/32' to be a WireGuard interface? such aswg11
and possibly extracted from the SQL database?
Could you pleasewgm stop wg11
then start it manually in full debug/trace mode using the appropriate command
i.e. Ifwg11
hasauto=p
issue
otherwise issueCode:sh -x /jffs/addons/wireguard/wg_client wg11 policy
then PM me the top half of the debug trace output upto the point where the error message 'grep: /opt/etc/wireguard.d/ip=10.50.1.3/32.conf: No such file or directory' occurs.Code:sh -x /jffs/addons/wireguard/wg_client wg11
I now getpeer wg21 passthru add wg11 ip=10.50.1.3/32 ipv6=aa36:7ef1:2add:aa88:100::3/128
even though***ERROR: 'device' Peer (ip=10.50.1.3/32) doesn't exist!
Code:
E:Option ==> 8
Peers (Auto start: Auto=P - Policy, Auto=S - Site-to-Site)
Server Auto Subnet Port Annotate
wg21 N 10.50.1.1/24,aa36:7ef1:2add:aa88:100::1/120 11501 # RT-AX88U (IPv4/IPv6) Server 1
Client Auto IP Endpoint DNS MTU Annotate
wg11 P <vpn_ipv4>/19, <vpn_ipv6>/64 endpoint:nnnn 10.55.63.1,fe80::aa5e:45ff:feae:5050 # N/A
Peers (Auto=X - External i.e. Cell/Mobile/Site)
Device Auto IP DNS Allowed IPs Annotate
pho21 X 10.50.1.2/32,aa36:7ef1:2add:aa88:100::2/128 10.50.1.1,aa36:7ef1:2add:aa88:100::1 0.0.0.0/0, ::/0 # pho21 "Device"
laptop X 10.50.1.3/32,aa36:7ef1:2add:aa88:100::3/128 10.50.1.1,aa36:7ef1:2add:aa88:100::1 0.0.0.0/0, ::/0 # laptop "Device"
As I don't seem to be able to re-add the passthru by IP, do you still want the debug & trace?
Also
Code:
grep -i "^version" /jffs/addons/wireguard/wg_server
VERSION="v4.16.12"