OPNsense Forum

English Forums => General Discussion => Topic started by: Maxio on July 23, 2024, 06:46:37 PM

Title: OPNsense adds new Wireguard routes
Post by: Maxio on July 23, 2024, 06:46:37 PM
As in the topic, OPNsense adds new Wireguard routes and therefore the entire system has no access to the internet, neither LAN, VLANS nor opnsense itself. From what I noticed, after removing two routes (img), everything returns to normal and you can connect to the VPN. Can someone tell me what is wrong? System was online for a long time and I noticed it only when I lost the connection after restarting
Title: Re: OPNsense adds new Wireguard routes
Post by: Seimus on July 23, 2024, 06:55:29 PM
Looks like RA?

Are you sure you did read the docs properly?

Cause in the Peer configuration allowed IPs:

QuoteUnique tunnel IP address (IPv4 and/or IPv6) of client - it should be a /32 or /128 (as applicable) within the subnet configured on the WireGuard Instance. For example, 10.10.10.2/32


You cant put 0/0 into peer configuration on OPNsense, this goes into the configuration on the APP site for the Client device.

Regards,
S.
Title: Re: OPNsense adds new Wireguard routes
Post by: tiermutter on July 23, 2024, 06:55:51 PM
Allowed IPs in peer config is misconfigured. This should be the clients IP,  not what the client is allowed to.
Title: Re: OPNsense adds new Wireguard routes
Post by: tiermutter on July 23, 2024, 06:57:47 PM
Since I am unable to do so:
Can someone raise a ticket on github, suggesting that the option in GUI and also description should be changed?
We have loads of threads about this...
Title: Re: OPNsense adds new Wireguard routes
Post by: tiermutter on July 23, 2024, 06:59:59 PM
https://forum.opnsense.org/index.php?topic=39938.msg195670#msg195670
Title: Re: OPNsense adds new Wireguard routes
Post by: Maxio on July 23, 2024, 07:08:54 PM
okay then it's my fault. Honestly, I didn't read the documentation carefully, I relied more on how i configured WG in the past. Thank you very much for help
Title: Re: OPNsense adds new Wireguard routes
Post by: Patrick M. Hausen on July 23, 2024, 07:28:20 PM
Quote from: tiermutter on July 23, 2024, 06:57:47 PM
Since I am unable to do so:
Can someone raise a ticket on github, suggesting that the option in GUI and also description should be changed?
We have loads of threads about this...
Unfortunately these descriptions/names come from WireGuard, not from OPNsense. Naming them different from what other systems with WG use is a really bad idea, IMHO.
Title: Re: OPNsense adds new Wireguard routes
Post by: tiermutter on July 23, 2024, 07:41:40 PM
Sure, that's because I also suggested to leave original naming in addition. However, the description in GUI is not correct and needs a fix (if not already fixed).