Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
[Solved] Wireguard Issues After Upgrade
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Wireguard Issues After Upgrade (Read 1924 times)
jt-socal
Newbie
Posts: 14
Karma: 0
[Solved] Wireguard Issues After Upgrade
«
on:
February 03, 2024, 06:47:34 am »
I upgraded to 24.1. I had a road_warrior setup and two outgoing wireguard VPNs with policy based routing. Everything has been working for years before the upgrade, but nothing works since.
I ended up removing gateways and interfaces and removing all wireguard instances and peers. I now cannot even create an interface without manually creating my own keys via console commands wg genpsk and wg genkey. The gear button for "Generate New Keypair" does not work.
I then create a peer and add it. Then I go to interfaces, assignments, select wg1 click add and get, "The following input errors were detected:The interface "wg1" does not exist. Make sure to apply its configuration first." So I go back to wireguard and try disabling all and enabling all again, but error repeats.
Is there something obvious I am doing wrong or any suggestions to get wireguard to work again?
Also, when I go to the dashboard, it says, "No WireGuard instance defined or enabled." But there is one defined and enabled.
Suggestions please.
«
Last Edit: February 03, 2024, 08:02:36 pm by jt-socal
»
Logged
newsense
Hero Member
Posts: 1037
Karma: 77
Re: Wireguard Issues After Upgrade
«
Reply #1 on:
February 03, 2024, 06:57:09 am »
With the removal of GWs and Interfaces you might be in a world of pain now.
I'd fix it this way:
a) Make a copy of /conf folder, and any 3rd party folders you may have (like AGH as an example)
b) Install 24.1 and apply patches
c) Do a manual pkg install for everything you have in the <plugins> section in config.xml (exclude os-wireguard and os-firewall)
d) Restore the latest config from /conf/backup that you had before upgrading to 24.1
«
Last Edit: February 03, 2024, 07:00:03 am by newsense
»
Logged
jt-socal
Newbie
Posts: 14
Karma: 0
Re: Wireguard Issues After Upgrade
«
Reply #2 on:
February 03, 2024, 04:56:31 pm »
Any test I should run to debug whatt is going on to see if some in upgrade script can be improved?
Everything is working great, except wireguard.
I restored my config from backup, so I have all interfaces and gateways back.
I'll fresh install 24.1 shortly and restore setting from backup again.
Logged
jt-socal
Newbie
Posts: 14
Karma: 0
Re: [Solved] Wireguard Issues After Upgrade
«
Reply #3 on:
February 03, 2024, 08:03:11 pm »
Worked, everything back to normal.
Logged
newsense
Hero Member
Posts: 1037
Karma: 77
Re: [Solved] Wireguard Issues After Upgrade
«
Reply #4 on:
February 03, 2024, 09:12:48 pm »
I think the issue is related to a GW migration script and is being looked into already.
Logged
jt-socal
Newbie
Posts: 14
Karma: 0
Re: [Solved] Wireguard Issues After Upgrade
«
Reply #5 on:
February 03, 2024, 09:25:40 pm »
Seemed like a wireguard issue to me. Wireguard was unresponsive to web interface changes, the latest handshake on dashboard was blank, the "VPN/Wireguard/Diagnotics" was blank. As another possible hint, I was getting errors under Dashboard, Interface Statistic, Road_Warrior; those are not happening anymore.
Hope that helps, thanks for the great software,JT
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
[Solved] Wireguard Issues After Upgrade