Hi,
When I run Opnsense update, it is super slow. Checking for updates takes like 10 minutes for the process to complete and I can't load plugins page at all (list is empty). Packages page sometimes shows the packages, most of the times it is empty. The mirror I am using is https://mirrors.dotsrc.org/opnsense/FreeBSD:13:amd64/23.1 and downloading packages from here with browser everything works fine. Is there a way to change this mirror properly? I have tried changing it from the GUI but it says that an actual firmware update most be performed for it take which sounds pretty stupid firstly because there is no updates atm so I can't install updates so I can't change mirror to actually install plugins. The OPNSense is new installation and only change I have done is that I installed wireguard which I had to do from shell using pkg command as the GUI never shows any of the plugins.
Quote from: Jonttu on April 10, 2023, 08:26:50 AM
...but it says that an actual firmware update most be performed for it [to] take...
If you haven't worked it out already, and iirc, an actual update isn't required. You just need to perform a check for updates. Doing so might reveal available updates, which you can then install.
Changing to a faster mirror should result in the check for updates returning more quickly.
It seems that the mirror is not the problem. Every phase in the update check last multiple minutes, when it downloads something it is like 2 seconds but still the update process takes like 10 minutes. And all I get in the plugins list is my os-wireguard package that I installed from shell as I can't see anything in the plugins list. Also installing via shell takes 10 minutes.
No idea what could be wrong, the hardware should not be an issue, CPU idles in 2% and RAM around 6% so it does have enough performance...
EDIT: I was able to fix it immediatelly after my message. I had to check " Prefer to use IPv4 even if IPv6 is available" in System > Settings > General
In that case, OpnSense only thinks IPv6 is available, i.e. it is probably misconfigured.
It was likely returning IPv6 addresses from the DNS lookup and trying to use them.
If you don't have IPv6 on your WAN, then it will likely not work.
Glad to hear you got it sorted.
Quote from: benyamin on April 13, 2023, 04:48:22 PM
It was likely returning IPv6 addresses from the DNS lookup and trying to use them.
If you don't have IPv6 on your WAN, then it will likely not work.
Glad to hear you got it sorted.
This worked for me, I was playing with IPV6 on lan and wan and it was causing outages and speed issues. Turned them off and BOOM! back up to 1gbp