Open cookiemonsteruk opened 1 week ago
Thank you for creating an issue. Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.
For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.
The easiest option to gain traction is to close this ticket and open a new one using one of our templates.
I am on OPNsense 23.7.12_5-amd64
Hello. I have a wg server running on OPN accepting connections from a couple of my devices for when I'm away from home. One is a mobile phone and another is a laptop. I can connect with them fine but they are set to allowed IPs only their /32 ip address on the tunnel. I want to add the ability to reach my LAN to another of these devices but I get an error message on the wg log and if I add 0.0.0.0/0, my DNS resolution on my LAN devices starts to fail. Errors take the form of:
/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/route -q -n add -'inet' '192.168.5.0/24' -interface 'wg1'' returned exit code '1', the output was ''
or/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/route -q -n add -'inet' '0.0.0.0' -interface 'wg1'' returned exit code '1', the output was ''
I have tried stopping the wireguard service first before modifying it but it is the same behaviour. My wireguard config appears as this: $cat /usr/local/etc/wireguard/wg1.confWhat I have been trying to do is modify the config using the UI to replace for saturn 10.0.0.4/32 with 0.0.0.0/0 or add 192.168.5.0/24 to it which is my LAN network. Strangely with mobile-8T-MN peer, I can access my LAN with its current configuration. I fail to see what is my error. Any advice will be gratefully appreciated. Additionally if it helps, these are my rules: