Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Bug in wireguard ? Cant start more than 3 wireguard-servers.
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Bug in wireguard ? Cant start more than 3 wireguard-servers. (Read 4478 times)
zitlo
Jr. Member
Posts: 60
Karma: 5
Re: Bug in wireguard ? Cant start more than 3 wireguard-servers.
«
Reply #15 on:
February 14, 2022, 09:59:07 am »
Quote from: mimugmail on February 14, 2022, 06:22:56 am
/usr/local/etc/rc.d/wireguard restart
Thank you!
Wireguard restarts just fine, /usr/local/etc/rc.d/wireguard status is showing also an correct output... My wireguard service status inside the gui is red...
Edit:
- I deleted all configurations inside /usr/local/etc/rc.d/wireguard and inside the gui
- I uninstalled the wireguard plugin
- Then I restarted opnsense.
- I innstalled the plugin again
- I created a new configuration
Same problem, gui status showing red and service is starting on cli
«
Last Edit: February 14, 2022, 10:20:20 am by zitlo
»
Logged
Patrick M. Hausen
Hero Member
Posts: 6799
Karma: 571
Re: Bug in wireguard ? Cant start more than 3 wireguard-servers.
«
Reply #16 on:
February 14, 2022, 10:44:06 am »
Are you using the kmod? If yes, the dashboard will always show a wrong state of the service. You can remove the WireGuard service from the services widget and add the WireGuard widget instead, which gives you an overview of all your peers.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
zitlo
Jr. Member
Posts: 60
Karma: 5
Re: Bug in wireguard ? Cant start more than 3 wireguard-servers.
«
Reply #17 on:
February 14, 2022, 10:59:03 am »
Hello pmhausen,
I dont know what kmod is, but now I discovered (after I uninstalled the wireguard plugin) that I have an unassigned interface (wg0). How can I delete it? from the gui it is not possible
Logged
Patrick M. Hausen
Hero Member
Posts: 6799
Karma: 571
Re: Bug in wireguard ? Cant start more than 3 wireguard-servers.
«
Reply #18 on:
February 14, 2022, 11:42:45 am »
You have (and need) a wgN interface for each WireGuard server that is up and running. If you just uninstalled WG, the interfaces might be left - a reboot will fix that.
You do not need to assign the interfaces.
A kmod is a kernel module. If you did a `pkg install wireguard-kmod` on the command line, you will be running that instead of wireguard-go. Everything will supposedly work just the same but the service status on the dashboard will be broken.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
zitlo
Jr. Member
Posts: 60
Karma: 5
Re: Bug in wireguard ? Cant start more than 3 wireguard-servers.
«
Reply #19 on:
February 14, 2022, 01:40:21 pm »
Thank you for your help!
Logged
dmmincrjr
Newbie
Posts: 12
Karma: 1
Re: Bug in wireguard ? Cant start more than 3 wireguard-servers.
«
Reply #20 on:
February 14, 2022, 04:00:41 pm »
I'm having an issue where I can't get one interface to start after the upgrade and I can't figure it out as the config file works in 21.7.8 but not after the upgrade. I have 3 sites that I'm using Wireguard to connect and two of those sites I have upgraded to 22.1 and Wireguard worked without issue.
Edit:
I did finally figure out the issue. I had a misconfiguration of the Allowed IP's in the tunnel. The strange thing was the tunnel worked with the misconfiguration in versions up to 21.7.8 for a couple years which is why I had assumed my configuration was correct and something else was the problem.
«
Last Edit: February 17, 2022, 03:58:52 pm by dmmincrjr
»
Logged
Print
Pages:
1
[
2
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Bug in wireguard ? Cant start more than 3 wireguard-servers.