opn-arp configuration file

Started by nono, February 23, 2023, 03:51:57 PM

Previous topic - Next topic
I was looking for an alternative of ARPWatch from PFSense and I found out OPN-ARP from the community repo here https://www.routerperformance.net/opnsense-repo/ from @mimugmail.

I would like to run this script on stand-alone mode without using the REPO (as I'm productive environment), but I can't seems to find the configuration file aside the script posted here : https://gist.github.com/mimugmail/6cee79cdf97d49b1d6fc130e79dc3fa9

Is there a chance that someone using the repo can send me the content of the following file:  /usr/local/etc/opn-arp.conf

It fills the variables of the UI config. Just install the plugin elsewhere and copy the values

Thanks @mimugmail, but it's the "Elsewhere" which bother me currently, any chance to get your/the default values ?

Do you have a system that can run Virtualbox and Vagrant?

This might help:
https://github.com/punktDe/vagrant-opnsense

OTOH what's the problem with using the repo?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

February 27, 2023, 09:58:08 AM #4 Last Edit: February 27, 2023, 11:08:51 AM by nono
I actually tried to run OPNSense 22.7 (the version I have in production) on Virtualbox 6.x & 7.x, I got a panic kernel on both case ..

I don't want to use the repo, because the author clearly stated that :
QuoteDon't use it in production environments, I only test a couple of them from time to time

Edit: I'm quite new with Vagrant but still give a try and end-up having this error about NFS :
Quotevagrant up
Bringing machine 'default' up with 'virtualbox' provider...
It appears your machine doesn't support NFS, or there is not an
adapter to enable NFS on this machine for Vagrant. Please verify
that `nfsd` is installed on your machine, and try again. If you're
on Windows, NFS isn't supported. If the problem persists, please
contact Vagrant support.

Are you using Windows? If yes, that's the first time I read that Vagrant on Windows does not support NFS. So my entire project does not work on Windows. Great.  ;)

If not Windows, what are you using?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Yeah, unfortunately, I have to use Windows (11, but I tried on 10 with Virtualbox 6.X, same result)

But using Vagrant is not mandatory. Can you create "manually" an OPN VM on Virtualbox. I know for certain that in Win 10 it can be done for OPN ver 22.7
So my suggestion is to create a VM on whatever OPN version you need/want and if all fails, fallback to 22.7 for this.

I really appreciate the answer you all gave me.

But I tried to setup a test instance, on :
Virtualbox 6.X (Windows 10)
Virtualbox 7.X (Windows 11)
ESXi (7.X)
Vagrant (on windows 11 with Vbox 7.X)

All of those, finally end-up failling.

I know my request is unusual, but still quite simple. Could any of you, if the repo & the plugin install, send me the content of the configuration file ?
Then, it could also help someone else directly who also may need it ?

Thanks in advance !