Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - virtualdimension

#1
Hi all! I need your help.

I have a Deciso DEC850 (OPNsense Business, OPNsense 25.10.2_4-amd64) that limit the throughput at 1 Gbit with IDS/IPS. 1.2 without.
I use Zenarmor for the LAN, Suricata IDS/IPS for the WAN, Crowdsec, Q-Feeds (this has only been in place for 2 weeks), Unbound DNS, and the GeoIP rules included in the OPNsense Business package and those from MaxMind.
As long as I had a 200 Mbit internet connection I didn't have this problem, but now I've activated 10 Gbit FTTH (actual download speed 8 Gbit and upload 2 Gbit) I've found that I can't take full advantage of it.

My internet provider's modem (which also acts as an ONT) is connected via RJ45 cat.7 network cable from the 10Gbit output to the 10Gbit input of the DEC850 with the 10Gtek ASF-10G-T80 SFP+ module (I also used an Ubiquiti UACC-CM-RJ45-MG) and I created a DMZ for the IP address provided by the modem to the DEC850 firewall.
From the 10 Gbit output of the DEC850 I enter the 10 Gbit WAN port of a Ubiquiti UDM-PRO MAX with the 10G Direct Attach Cable (UACC-DAC-SFP10-1M).
I connected a Ubiquiti Pro Max 24 PoE switch to the UDM-PRO MAX, again using a direct 10 Gbit SFP+ cable.
All devices (access points, computers, printers, smartphones, etc.) are managed by the UDM-PRO MAX.
In the latter I do not use blocking rules, nor IDS/IPS module, but even if I activate it it has very little impact on the throughput (about 200 Mbit).

Well, if I run an iPerf3 test directly between the firewall and the Ubiquiti, the throughput rate is always around 1 Gbit.
If I disable IDS/IPS, Zenarmor, Crowdsec, and Q-Feeds on the DEC850, I only gain about 200 Mbit.

I also tried all the possible options through Tunables with the guides and advice I found in the forum and online, but the situation did not change.

So I bought a Minisforum MS-A2 with the AMD Ryzen 9 9955HX, 64GB (2x32) DDR5 5600MHz, Crucial T710 1TB SSD... and replaced the DEC850, connecting everything in the same way with the network card inside the new barebone (2 x 10G SFP+ Intel X710). I also updated the Intel network card's BIOS to the latest available version. Hardware offload is disabled. Tunables all done, but these make no difference.

Now, with the same configurations, compared to before I can reach 4 Gbit of transfer between UDM and Firewall, even if they are not constant and the speeds fluctuate a lot. Sometimes it is below 3 Gbit, other times it reaches 4-5 Gbit, but not more. I ran the iPerf tests both with the UDM set as a server and as a client (same thing with the OPNsense firewall).
Now, when I run a internet speed test directly from the UDM, I can actually reach peaks of 4 Gbps download and 1.2 Gbps upload. Still too far from the maximum values ��of my internet connection. If I connect directly to the 10 Gbit LAN port of the internet provider's modem, I can reach the maximum speed (about 7.8-8.5 Gbit download and 1.8-2 Gbit upload.

Even in this case, leaving Zenarmor and Suricata enabled/disable makes no difference. The processor (base clock 2.5 GHz and max boost clock up to 5.4 GHz) peaks at 6% utilization during use. The RAM, with all settings enabled, sits at around 16GB (out of 64 total).
Zenarmor doesn't yet support multicore, but even pinning a core to it doesn't make any difference, and the processor isn't being fully utilized. The processor literally yawns, and I don't understand what's creating this bottleneck that's preventing me from reaching 10 Gbit/s of throughput.

I'm asking for help in trying to understand and resolve what may be causing this problem and limitation.

Thank you in advance.
#2
General Discussion / Synology nas with Tailscale
January 12, 2025, 03:08:46 AM
I have an OPNsense DEC850 configured like this:

- On port 1 (WAN1), TIM Business modem (192.168.9.1)
- On port 2 (WAN2), Vodafone Business modem (192.168.10.1)
- On port x0 (LAN), connect an Ubiquiti UDM-PRO
The Ubiquiti UDM-PRO have 192.168.1.1 ip.
The DEC850 have the 192.168.3.1 ip.

The DEC850 is configured to handle the two wan connections in load balancing.
In both modems I created a DMZ for the IP address that is assigned to the DEC850. The modems are only used to provide the internet connection to the firewall.
Then, through the x0 port of the firewall, I connected it to the WAN port of the Ubiquiti UDM-PRO (with static IP 192.168.3.20).
All the various network devices (access points, computers, NAS, smartphones, printers, etc. etc.) are connected to the UDM-PRO.

I have read and followed various guides I found online, but I have not been able to solve the problem.
I need your help to configure rules to access a Synology NAS through Tailscale from mobile app's (Synology Drive, Synology Photos, Synology Note, etc etc) with a direct connection. Now it always works only through DERP.

Given that both modems have a DMZ for the IP assigned to both WANs of the firewall and therefore there are no blocks, now how can I allow the Synology-Tailscale NAS, with IP address 192.168. 1.50 (and connected to the UDM-PRO) to be reachable from my external devices (such as iOS and Android with Tailscale client) directly and not through DERP? What additional configurations do I need to do?
#3
Hi all.
I have an OPNsense DEC850 configured like this:

- On port 1 (WAN1), TIM Business modem (192.168.9.1)
- On port 2 (WAN2), Vodafone Business modem (192.168.10.1)
- On port x0 (LAN), connect an Ubiquiti UDM-PRO
The Ubiquiti UDM-PRO have 192.168.1.1 ip.
The DEC850 have the 192.168.3.1 ip.

The DEC850 is configured to handle the two wan connections in load balancing.
In both modems I created a DMZ for the IP address that is assigned to the DEC850. The modems are only used to provide the internet connection to the firewall.
Then, through the x0 port of the firewall, I connected it to the WAN port of the Ubiquiti UDM-PRO (with static IP).
All the various network devices (access points, computers, NAS, smartphones, printers, etc. etc.) are connected to the UDM-PRO.

I need your help to configure rules to access a Synology NAS through DDNS for mobile app's (Synology Drive, Synology Photos, Synology Note, etc etc).

On the Synology NAS everything is already configured with its own DDNS service "myname.synology.me" with the relative Let's Encrypt certificate.
On the UDM-PRO to which the NAS is connected, I created a port-forwarding:
Source: Any - Protocol: TCP - Forwarded IP: 192.168.1.49 (nas IP) - Port: 5001 (the port for Synology Drive)

At this point my problem is to create the necessary rules on the DEC850 firewall so that when I have to access remotely through the link myname.synology.me, this points towards the NAS and allows me to connect to the various services.

Thanks in advance for your help
#4
Hello everyone.
I have a DECISO DEC850 with the Business license, updated to the latest release 23.10.2.
I installed the Maltrail plugin from the repository, currently in version 1.10. This plugin installs version 0.60 of Maltrail, but is currently up to version 0.67 ( https://github.com/stamparm/maltrail/releases ), but I don't know how to update it manually from the website. Also, why aren't the repositories updated within OPNsense?

My problem is that, although Maltrail (sensor and server) is active, the alias "BlocklistMaltrail" within Firewall - Aliases, does not load any lines for the fail2ban list. It always remains with the value zero. I attach some screenshots.
Also, how can I change the default password "changeme!" ?

I hope someone can help me.

Thank you in advance.
#5
Italian - Italiano / Maltrail on DEC850
March 02, 2024, 02:19:02 AM
Hello everyone.
I have a DECISO DEC850 with the Business license, updated to the latest release 23.10.2.
I installed the Maltrail plugin from the repository, currently in version 1.10. This plugin installs version 0.60 of Maltrail, but is currently up to version 0.67 ( https://github.com/stamparm/maltrail/releases ), but I don't know how to update it manually from the website. Also, why aren't the repositories updated within OPNsense?

My problem is that, although Maltrail (sensor and server) is active, the alias "BlocklistMaltrail" within Firewall - Aliases, does not load any lines for the fail2ban list. It always remains with the value zero. I attach some screenshots.
Also, how can I change the default password "changeme!" ?

I hope someone can help me.

Thank you in advance.