UniFi Controller

Started by tillsense, July 08, 2017, 07:32:00 PM

Previous topic - Next topic
Quote from: the-mk on February 01, 2018, 09:18:07 PM
installing it on the command line with that install-unifi.sh script from the first link works just fine for me...

I am curious what will happen, when an upgrade of the UniFi software arrives (>5.6.29) - how that is handled - does it upgrade via the GUI (I mean the UniFi one)?

after a little trip on the UniFi USG 3-Port router I am going to come back home to OPNsense :)

Interesting. I tried the command line script and indeed it worked. There must have been a bug that was fixed in the past few days. Thank you.

I am going to have to give this script a shot... would love to get the unifi controller off of the little tiny VM I have to run it :)

Quote from: kanstin on February 02, 2018, 03:47:49 PMInteresting. I tried the command line script and indeed it worked. There must have been a bug that was fixed in the past few days. Thank you.

yes, there was a change about three days ago...

will read this too...
apu2c4 / wle200nx / 240 Disk --> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022

HI Guys i'm new here...
i start to use opnsense, and i find it incredible...
i try to install the unifi.sh on my device but somting doesn't work.
than... i follow the guide of gozoinks but i don't understand why i cant connect on my device on port 8443.
if i execute service -e i find   /usr/local/etc/rc.d/unifi.sh
some one can help me ?
i'm not so good with Linux too  :-[ :-[ :-[
thanks



btw. executing the script as mentionned on the 1st thread, it now also installs openjdk on the opnsense.

Works like a charm. But asks for updates on outdated packages on the opnsense afterwards.

July 25, 2019, 06:24:08 PM #22 Last Edit: July 25, 2019, 06:30:53 PM by Silver77
Quote from: ruggerio on July 24, 2019, 03:50:00 PM
btw. executing the script as mentionned on the 1st thread, it now also installs openjdk on the opnsense.

Openjdk is installed in Opensense.. and i tried to reinstall... but nothing to do...

but if i search it i do not see

root@OPNsense:/usr # pkg search ^open

open-vm-tools-nox11-10.3.0_1,2 Open VMware tools for FreeBSD VMware guests
openconnect-8.03               Client for Cisco's AnyConnect SSL VPN
openldap-sasl-client-2.4.47    Open source LDAP client implementation with SASL2                          support
openldap-sasl-server-2.4.47_1  Open source LDAP server implementation
openpgm-5.2.122_5              Implementation of the PGM reliable multicast prot                         ocol
openssh-portable-8.0.p1,1      The portable version of OpenBSD's OpenSSH
openssl-1.0.2s,1               SSL and crypto library
openvpn-2.4.7                  Secure IP/Ethernet tunnel daemon
root@OPNsense:/usr #

The controller software will install third party packages that OPNsense doesn't offer so there won't be any updates for it.


Cheers,
Franco

July 26, 2019, 09:45:31 AM #24 Last Edit: July 26, 2019, 10:04:28 AM by Silver77
Then ? what can i do??
I forgot to say what use freebsd 11.2
Aiutooo

Solved, the problem was the firewall rules. there was no problem with Java or with the installation...
thanks...

Hi all

Does anyone tried to install it recently ? I'm getting :

Starting the unifi service...Starting UniFi controller.
eval: /usr/local/bin/java: not found
done.

Sure there was no error while installing the pkg?

No error during running script...

October 29, 2019, 09:17:21 PM #29 Last Edit: October 29, 2019, 09:19:39 PM by jjanzz
I'd recommend against this. OPNsense is a firewall, which should in fact be one of the safest devices on your network. It is basically the gatekeeper between you and the big bad internet. Running additional services on it increases the attack surface and therefor increases the risk.

Don't get me wrong, I am not entitled to anything, as a user of an open source project. Big I really like the vast focus of OPNsense towards security. They even switched bases from FreeBSD to HardenedBSD - because it's obviously much more secure. I can't speak for the developers, the core team or any contributing member of OPNsense; but running Java on a firewall seems pretty... inconsistent with the core values of OPNsense.

And hey, of course you are free to do as you please, but if your goal is to have one device acting as a firewall, gateway, WiFi controller and perhaps more, you will be better of and have an easier time with a Linux distribution designed for exactly these purposes. 

EDIT: Adding - if you have a spare box, throw Ubuntu or Debian on it and take a look at these scripts for an easy UniFi Controller installation: UniFi Scripts