Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] How to install ports?
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] How to install ports? (Read 11103 times)
miceliux
Newbie
Posts: 6
Karma: 0
[SOLVED] How to install ports?
«
on:
February 09, 2016, 09:37:07 am »
Hi, I'd like to install some ports, but I can't find the command portmaster nor I can use pkg to install it.
I'm new to FreeBSD, so I'm a bit lost.
My intention is to install grub2-bhyve and try to run a VM.
Any advice is welcome.
Thanks.
«
Last Edit: February 15, 2016, 07:48:22 am by franco
»
Logged
phoenix
Hero Member
Posts: 545
Karma: 58
Re: How to install ports?
«
Reply #1 on:
February 09, 2016, 09:47:23 am »
My advice is that a firewall is not the correct place to be running a VM, certainly run the firewall in a VM but not the other way round.
Logged
Regards
Bill
miceliux
Newbie
Posts: 6
Karma: 0
Re: How to install ports?
«
Reply #2 on:
February 09, 2016, 10:08:28 am »
I'm just exploring the firewall capabilities. Anyway, I've found that enabling the FreeBSD repository in /usr/local/etc/pkg/repos/FreeBSD.conf makes the package available.
My original idea was to run OPNsense virtualized in KVM, but I was getting a
strange network performance
. I think I'll give KVM a chance again.
Thanks.
Logged
phoenix
Hero Member
Posts: 545
Karma: 58
Re: How to install ports?
«
Reply #3 on:
February 09, 2016, 01:39:41 pm »
Did you disable all the offload settings in your other thread? What NICs are installed on your host machine?
I don't know what the view of the OPNsesnse developers (nor anyone else) is on this subject but I'd guess you might be asking for trouble by enabling a non-standard repository within OPNsense.
«
Last Edit: February 09, 2016, 01:45:20 pm by phoenix
»
Logged
Regards
Bill
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: How to install ports?
«
Reply #4 on:
February 15, 2016, 07:48:10 am »
The FreeBSD repository compatibility was an early idea that never materialised in the defaults because:
FreeBSD uses different build settings, especially with regard to OpenSSL/LibreSSL.
FreeBSD has a lot of ports (over 20k) and we can't possibly build all of them with our options.
The kicker is that the package tool will try to cope with whatever upgrade it can find, which is the FreeBSD mirror, because it's updated every other day. This is a potentially fatal operation, because it could leave your OPNsense installation in a dysfunctional state due to "cleaning up unneeded packages".
A safer mode would be to build the ports you require from the source tree with our options locally:
https://forum.opnsense.org/index.php?topic=2004
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] How to install ports?