OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Wireguard VLAN no longer gets an internet connection after update
« previous next »
  • Print
Pages: [1]

Author Topic: Wireguard VLAN no longer gets an internet connection after update  (Read 3424 times)

The_Dave

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
    • View Profile
Wireguard VLAN no longer gets an internet connection after update
« on: January 19, 2024, 10:43:17 pm »
After updating to the development build and from there to the release candidate my wireguard vlan is no longer getting an internet connection. I have no idea why this is, but I saw that osfirewall and os-wireguard show as missing under plugins and this can't be resolved.
Logged

newsense

  • Hero Member
  • *****
  • Posts: 1038
  • Karma: 77
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #1 on: January 20, 2024, 09:06:19 am »
They're not missing, part of core now.

A screenshot from System-Gateways-Configuration please ?
Logged

The_Dave

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #2 on: January 20, 2024, 11:47:13 am »
Here you go, it shows working as before
Logged

newsense

  • Hero Member
  • *****
  • Posts: 1038
  • Karma: 77
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #3 on: January 20, 2024, 11:52:46 am »
Mkay...was expecting something else.

FW rules on the VLAN and NAT would be next ones to check
Logged

The_Dave

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #4 on: January 20, 2024, 12:13:17 pm »
I think I found the problem, somehow the vpn gateway group got deleted but the rules still reference it.
I recreated the group and everything is working fine again.
« Last Edit: January 20, 2024, 12:19:09 pm by The_Dave »
Logged

newsense

  • Hero Member
  • *****
  • Posts: 1038
  • Karma: 77
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #5 on: January 20, 2024, 12:24:26 pm »
Confirmed, mine are gone too. Didn't notice so far as I had some individual rules active since the last time I had to change servers
Logged

DEC670airp414user

  • Full Member
  • ***
  • Posts: 166
  • Karma: 8
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #6 on: January 20, 2024, 02:19:01 pm »
did you check for updates again after it updated?    ignore my post next to yours, its a different weird issue.

I have Wireguard fully working on my box after updating
Logged

sofax

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #7 on: January 20, 2024, 08:02:50 pm »
my gateway group was gone also
i posted it in the irc earlier
« Last Edit: January 20, 2024, 08:06:29 pm by sofax »
Logged

newsense

  • Hero Member
  • *****
  • Posts: 1038
  • Karma: 77
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #8 on: January 20, 2024, 09:18:03 pm »
Do you have any <gateway_group> listed in /conf/config.xml or the only remnants of the name are in the rules section ?
Logged

sofax

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #9 on: January 21, 2024, 01:30:06 pm »
Quote from: newsense on January 20, 2024, 09:18:03 pm
Do you have any <gateway_group> listed in /conf/config.xml or the only remnants of the name are in the rules section ?

I took a look at the configuration history, the entire gateways block was not there in the config before i added it back.
But I only had this one wireguard gateway group before the update.

Code: [Select]
+  <gateways>
+    <gateway_group>
+      <name>***</name>
+      <item>***|1</item>
+      <item>***|1</item>
+      <trigger>down</trigger>
+      <poolopts/>
+      <descr/>
+    </gateway_group>
+  </gateways>

It looks like the '/usr/local/opnsense/mvc/script/run_migrations.php' delete all gateways and the group, but only recreated the gateways withoutt the group
« Last Edit: January 21, 2024, 01:37:55 pm by sofax »
Logged

RedVortex

  • Jr. Member
  • **
  • Posts: 97
  • Karma: 9
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #10 on: January 22, 2024, 04:31:33 am »
Same here. I lost all my gateway groups and they are not in the config file either. Only the references to the gw groups remain in the firewall rules.

Actually, everything (and including) under <gateways> is gone, including this tag itself.
Logged

madj42

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 3
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #11 on: January 26, 2024, 04:11:58 am »
@franco, not sure if you'll see this but I did notice the commit that fixes this issue.  If I upgraded now that it's fixed, would I still encounter this issue?  Just wondering since there won't be a RC2 and I'm itching to try it.
Logged

newsense

  • Hero Member
  • *****
  • Posts: 1038
  • Karma: 77
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #12 on: January 26, 2024, 04:24:31 am »
It's not fixed in anything that you can upgrade to until 24.1 is out next week. If you're on a VM you can try applying the patch after you land on 24.1.r1 but I doubt it would work retroactively.

The only possibility for this to work would be to export the config, upgrade to 24.1.r1, apply patch, reboot and import the config file again -- that is _if_ the GW migration script is triggered on import.
Logged

madj42

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 3
    • View Profile
Re: Wireguard VLAN no longer gets an internet connection after update
« Reply #13 on: January 27, 2024, 08:22:53 pm »
Thanks for the info.  I bit the bullet and recreated my groups.  No big deal.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Wireguard VLAN no longer gets an internet connection after update
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2