Recent posts

#31
Development and Code Review / Re: Notify plugin: send push n...
Last post by yeraycito - September 24, 2026, 04:15:34 PM
It's wonderful and excellent work—thank you very much.


#32
Zenarmor (Sensei) / Re: Zenarmor Cloud Agent servi...
Last post by awatson2012 - September 24, 2026, 04:14:28 PM
I'm seeing the same issue, anyone got a fix? Zenarmor Cloud Agent is showing as stopped when it's not installed so my monitoring shows a failed service. Currently on OPNsense 26.7.4 and Zenarmor 2.6.2.
#33
Virtual private networks / Re: Validating the WireGuard V...
Last post by marsk - September 24, 2026, 04:12:36 PM
Thanks nero355

Can you please just take some pen and paper and make a drawing of what you see in your mind .

You do not need to write the name of the components just visualize them with a box of any kind,
and attach a photo so I can try to make a logical diagram.

//marsk
#34
26.7 Series / Unbound Error
Last post by spetrillo - September 24, 2026, 03:37:03 PM
Hello all,

I am troubleshooting an Unbound issue. When I restarted Unbound from the cli it spit out the following:

[1790256794] unbound[48659:0] warning: setsockopt(..., SO_SNDBUF, ...) was not granted: No buffer space available
[1790256794] unbound[48659:0] warning: so-sndbuf 4194304 was not granted. Got 57344. To fix: start with root permissions(linux) or sysctl bigger net.core.wmem_max(linux) or kern.ipc.maxsockbuf(bsd) values. or set so-sndbuf: 0 (use system value).


I checked the kern.ipc.maxsockbuf tunable and it is set to 4262144.

Is this something I should be worried about?

Thanks,
Steve
#35
Virtual private networks / Re: Validating the WireGuard V...
Last post by nero355 - September 24, 2026, 03:32:22 PM
Quote from: marsk on September 24, 2026, 02:47:06 PMif I got it right.
IMHO both attempts are OK and if it's enough for you as a reminder from time to time then that's perfectly fine, right ?!

I would personally create something like this :
- Draw a Client device.
- Then a huge circle representing OPNsense Firewalling.
- On the left edge of that circle one of your LAN Interfaces with the remark that it's also holds the Gateways for the VLANs and thus any VLAN Interfaces.
- Then a line from the Client device to the LAN Interface.
- Under that line Ethernet and again under it another one with any VLANs.
- On the right middle side of the circle one of your WireGuard interfaces.
- On the right edge of that circle one of your WAN Interfaces.
- Then a line representing let's say Ethernet over Fiber being used to connect to your ISP that is a small cloud outside the circle.
- In the middle of the circle the Routing/NAT Engine of OPNsense connected to every Interface except WAN.
- However you also need seperate "Just Routing" connections to the LAN and WireGuard Interface so maybe doing something seperate with NAT would be better ?!
- The Remote WireGuard Peer would be connected to the previously drawn small cloud outside the circle.
- And then a long VPN connection line all the way from the WireGuard Interface to the Remote WireGuard Peer.

And last but not least : Put the whole WireGuard processing/peer selection/encryption process in a seperate drawing and maybe connect it to the WireGuard Interface ?? :)



/"Quick Brainfart" which might have some mistakes or missing things in it...
#36
Hardware and Performance / Re: XG 115 BIOS Screen issue (...
Last post by nero355 - September 24, 2026, 03:04:12 PM
It looks like it's searching for some kind of Automatic Update Server it's attached to and is scheduled to do so every once in a while ?!

Maybe ask the person/people you bought it from if they know anything ?



Disclaimer : I don't have any of these nor did I ever use one, but this would be the direction I would go while researching the issue...
#37
Virtual private networks / Re: Validating the WireGuard V...
Last post by marsk - September 24, 2026, 02:47:06 PM
Thx,
It is the configuration that is the problem, so it is probably better, as you said, to create a configuration diagram.

I have attached a flow diagram based on your suggestion, if I got it right.

See you.

//marsk
#38
26.7 Series / Re: [CALL FOR TESTING] PPP(oE...
Last post by franco - September 24, 2026, 01:54:43 PM
Thank you! That's all I needed to know. <3


Cheers,
Franco
#39
Hardware and Performance / XG 115 BIOS Screen issue (Reco...
Last post by paulh - September 24, 2026, 01:36:44 PM
Hi

Just wondered if anyone had issues with the BIOS popping up as per the attached screenshot? It appears when it's rebooted or powered off and back on (it's a re-purposed XG 115)

Once I ESC out of it, the unit boots and works perfectly with the latest OPNsense on it, but it's a bit of a pain having to connect to it via the serial console every time an update needs a reboot, or the power goes out!

I've put a new CMOS battery in there, reset the settings to default, but none of that helped. I've also tried to re-install OPNsense incase something was up with the UEFI boot.

Any ideas to try would be amazing?
#40
Russian - Русский / Re: os-xray — плагин Xray-core...
Last post by Spylive - September 24, 2026, 01:17:56 PM
os-xray v3.1.2 — первый стабильный релиз нашего форка от оригинального проекта MrTheory

Данный проект является форком оригинального проекта MrTheory/os-xray, основанным на ветке разработки:

https://github.com/MrTheory/os-xray/tree/develop

Оригинальная ветка develop послужила основой проекта и предоставила базовую функциональность os-xray.

В рамках форка основной упор был сделан на стабилизацию работы, исправление проблем совместимости и подготовку production-релиза для актуальных версий OPNsense.

После тестирования и исправления выявленных проблем выпущен первый стабильный релиз нашего форка:

os-xray v3.1.2

Основные изменения относительно оригинальной develop версии:

1. Исправлен порядок запуска при загрузке OPNsense

В процессе эксплуатации была обнаружена проблема взаимодействия между загрузкой OPNsense, настройкой маршрутизации и созданием TUN-интерфейса.

В некоторых сценариях OPNsense пытался применить настройки интерфейсов и маршрутов до того, как Xray/tun2socks успевали создать виртуальный интерфейс.

Возникали ошибки:

Unable to configure nonexistent interface
refusing to set interface route on addressless interface

В v3.1.2 изменён порядок инициализации:

xray-core
    ↓
tun2socks
    ↓
создание TUN-интерфейса
    ↓
назначение IP и MTU
    ↓
reload routing/firewall

Теперь после перезагрузки системы TUN-интерфейс корректно поднимается до применения маршрутов.

---

2. Улучшена инициализация TUN-интерфейса

Добавлено:

  • увеличено время ожидания появления TUN-интерфейса;
  • автоматическая установка MTU;
  • назначение IPv4-адреса из конфигурации OPNsense;
  • проверка корректности адресации перед обновлением маршрутизации.

---

3. Исправлен механизм запуска сервисов

Изменения:

  • удалён устаревший дублирующий startup hook;
  • оставлен единый механизм запуска через
50-xray;
  • исправлена проверка UUID инстансов при старте.

---

4. Улучшена диагностика подключения

Исправлен механизм testconnect:

  • используется актуальный SOCKS5 порт из конфигурации;
  • DNS-запросы выполняются через Xray;
  • устранены ошибки из-за локального DNS resolver OPNsense.

---

5. Проведён аудит стабильности перед релизом

Проверено:

  • соответствие Git и установленной системы OPNsense;
  • корректность boot lifecycle;
  • запуск xray-core и tun2socks;
  • создание и настройка TUN-интерфейса;
  • маршрутизация через PF;
  • реальный проход трафика через VPN;
  • работа диагностических инструментов;
  • статические тесты совместимости.

---

6. Новая структура разработки форка

После стабилизации проект переведён на собственную структуру веток:

main
 └── стабильные релизы форка

develop
 └── дальнейшая разработка

fix/*
 └── отдельные исправления

Текущий стабильный релиз:

os-xray v3.1.2

---

Репозитории:

Оригинальный проект MrTheory:

https://github.com/MrTheory/os-xray

Наш форк:

https://github.com/SpyLive/os-xray

Спасибо MrTheory за оригинальную разработку и основу проекта.

Дальнейшее развитие форка будет продолжаться с сохранением открытого подхода и обратной совместимости с оригинальной архитектурой os-xray.