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

Messages - MrCCL

#1
19.7 Legacy Series / Re: OPNSense on KVM (Virtio) ?
August 13, 2020, 11:23:52 PM
Thanks for the update.
I assume you tested this on OPNsense version based on HardenedBSD 12.1, right?
#2
OPNsense 19.1.4-amd64
FreeBSD 11.2-RELEASE-p9-HBSD
OpenSSL 1.0.2r 26 Feb 2019

it seems when you assign a DHCP client to a static IP and save,  Unbound DNS crashes and have to be started.
See attachments.

By the way, in general I rather often have to reload Unbound DNS because new DHCP assigned IP's are not always registered in Unbound from DHCP. I do admit I add/remove clients often and change hostnames etc (KVM test setup). In it might have been better in the few last updates.
I don't have any specific details yet, but just for common info that the sync between DHCP and Unbound doesn't seem to be rock solid.
#3
General Discussion / Create cron job "run custom script"
February 25, 2019, 10:37:13 PM
Been looking at this guide to make a cron job:
https://docs.opnsense.org/development/backend/configd.html

I would like to make a job that run the script specified in the parameter field in the gui.
I've tried to create this configd file:


[start]
command:/bin/csh
parameters:-c '%s'
type:script
description:run custom script
message:run script


Restarted configd:
service configd restart

Created the job in the gui:


But it seems not to run :-( ?
#4
Thanks :-)

Another thing that didn't work in the new "new" config file:

verify-x509-name "/C=DK/ST=CPH/L=CPH/O=MyDomain/emailAddress=xxx@domain.com/CN=FW1_SRV_CERT" subject

I had to change it back to the old format:
verify-x509-name "FW1_SRV_CERT" name
This one is more complex. It has more dependencies so hard to say if it is bug or just a misconfiguration on my setup (although it was pretty much created by the wizard).

Now that we have the box open:
The OpenVPN Windows client gives an ugly red warning about password is cached in memory and that you should use "auth-nocache". It's my advice it is added by the exporter by default ;-)
#5
Error from the OpenVPN client log:
"Options error: remote: bad protocol associated with host vpn.wit.dk: 'UDP'"

In 19.1 the Client export write in the ovpn file: "remote xxx.domain.com 1194 UDP"
This must be specified in small cap letters "udp"
#6
I've setup Web Proxy with user autentifikation enabled and it work great.
But the FTP proxy  seem to be open and doesn't require the user to authenticate to the proxy which i expect it to do.

Is this by design or a bug?

#7
Using OPNsense 18.7.7

I've enable user authentication in Web Proxy (local db) and assign my test-user to a group with privileges to:
Proxy: Login
Services: Proxy

But that doesn't seem to be enough.

I can only get it to work if I assign all the privileges :-(
Which ones do you need for Web proxy access?

Another question:
-How can I "clear"  the authentication timeout (TTL)...the minimum is 1 hour?
Trie to restart the proxy service, but it didn't "clear" it.

-In the Proxy authentication form there is something called "Authentication processes" (The total number of authenticator processes to spawn.).....can someone explain this parameter?


#8
My OpenVPN server config is set to "Server Mode = Remote Access (SSL/TLS + User Auth )".
I've created user-certificate for every user and made a Client Export for every user (Archive file with 3 files .key,.p12 & config file).
Each user also have a unique password. I'm not using TOTP.
But I can switch the .p12 file between the users on the clients and they can still establish a VPN connection to the server using another users .p12 file.
I thought the file was "paired" to the specific user?
#9
I admit it's described on the page several places, sorry for that.
But I just didn't understand the meaning of if. Even though the formulation and grammatical is absolutely 100% correct, it just didn't make sense to me at that time. Partly because of the duplicated naming "installer" and partly because I would never expect it would be executed depending on a user-login.

But there will always be people who don't understand a guide, no matter how good it is, I guess this time I was one of them, damn! :-P

#10
I'm running it as VM on KVM, that's why ressources matter more than on physical hardware.
#11
I really don't get the "official" hardware requirement (https://wiki.opnsense.org/manual/hardware.html)

I just made a harddisk installation of 18.1:
Mem usage: 147MB
HDD usage: 1,3G

40G of HDD??? I assume that is only if you need to save A LOT of log data, right?

#12
What a supprise! Login with "installer" sure does execute the installation program using the live DVD iso image.
franco: It would be nice it that was more clear on the https://docs.opnsense.org/manual/install.html page ;-)
#13
I still don't get it. Does the install script start if I login as "Installer"?
#15
I'm installing OPNsense as virtual on KVM and want to use "OPNsense-18.1.6-OpenSSL-dvd-amd64.iso" as install media, but it boot into live :-(
How can I start the installer script if possible from this ISO?