OPNsense Forum
English Forums => Zenarmor (Sensei) => Topic started by: almodovaris on March 18, 2021, 08:25:39 am
-
In the hosted mode, I got about 300 Mbps download speed with Sensei enabled, on an APU2C4.
I switched to bridged mode and I get 518 Mbps download speed (my connection is 500 Mbps nominally, so I cannot test higher speeds).
-
@almodovaris, thanks. This is expected. netmap with host rings (the one we utilize for hosted mode) is a bit slow compared to bridged mode.
Glad to hear that APUs are hitting 500Mbps with Sensei enabled ;)
-
So, my APU2 seems no longer working without Sensei in bridge mode.
I tried everything, including restoring older config files.
And the APU2 no longer connects to the internet, not even for updating Sensei.
-
Made OPT1 a gateway, so I restored internet access. But after starting Sensei in bridged mode I can no longer access APU2.
-
https://sunnyvalley.cloud/firewalls/ shows "Node not connected".
-
Attached USB WiFi device rsu0_wlan1 , made it a gateway (I have now 3 single gateways on my APU2), edited /etc/wpa_supplicant.conf so that it directly connects to the WiFi of my modem/router, made a script to start wpa_supplicant in daemon mode and give rsu0_wlan1 a fixed IP from the range of my modem/router, started Sensei service, and it works.
The WiFi gateway shows as defunct (upstream), but it does not matter, it works!
Script is:
#!/bin/sh
wpa_supplicant -B -i rsu0_wlan1 -c /etc/wpa_supplicant.conf
sleep 15
ifconfig rsu0_wlan1 192.168.180.2 255.255.255.0 192.168.180.1
-
Making progress: dropped the USB WiFi, changed the protected bridge to (WAN:igb2,LAN:igb1), i.e. OPT1 is the bridged WAN gateway for LAN. igb0 (normal WAN) remains main WAN gateway.
I no longer have control over APU2 through Ethernet, but Sensei can be stopped remotely (cloud) for performing maintenance tasks upon APU2.