23.7.3 Issues with IPv6 on wireguard

Started by chucksense, August 30, 2023, 02:35:11 PM

Previous topic - Next topic
Hi Franco,
After upgrading to 23.7.3, checking the new wireguard logs, saw the following, and IPv6 on Wireguard is not working.

/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/ifconfig 'wg1' 'fc00:xyza:abcd:ab01::4:1234/127' alias' returned exit code '1', the output was 'ifconfig: fc00:xyza:abcd:ab01::4:1234/127: bad value (width too large)'

/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/route -q -n add -'-4' '10.1.1.1' -iface 'wg1'' returned exit code '64', the output was 'route: bad keyword: -4 route: usage: route [-46dnqtv] command [[modifiers] args]'


Might be caused by the backend rework, right? Happy to test if needed.

Thanks

https://github.com/opnsense/plugins/commit/a5131fe214ed

# opnsense-patch -c plugins a5131fe214ed

Any good? If yes please propagate on reddit too (both commit link and patch command)


Thanks,
Franco

I noticed that I was getting similar errors like that in the wireguard logs. I applied the patch you provided, and I am no longer getting any errors in the logs.

Thank you,

-Flamez

Plugin was hotfixed now. Thanks all.


Cheers,
Franco

I don't have IPv6 issues (tested and all working) but do not see anything in the logs.
Running os-wireguard. Is that expected?

Yes, because the plugin was fixed. Thus, if you updated after the fix, you should be fine.
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 440 up, Bufferbloat A+