OpenBSD 7.1 + OpenVPN + Easy-RSA

uNdEr cOnStRuCtIoN What to tune: At first set EASYRSA to a defined path like set_var EASYRSA “/etc/openvpn/easy-rsa” or you will earn some errors. Then edit the EASYRSA_REQ_* section and add your values. Check the other stuff, tune it if you want. Theres btw no need to change the openssl-easyrsa.cnf and there’s no need (like in […]

WinSxS cleanup

Dism.exe /Online /Cleanup-Image /AnalyzeComponentStoreDism.exe /Online /Cleanup-Image /spsupersededDism.exe /online /Cleanup-Image /StartComponentCleanup

Deploying windows printserver printers to windows machines | installing drivers via powershell

Standard stuff: On Server install your printer and printer driver. Then run printmanagament.msc and do Deploy with Group Policy. Have an eye on the drivers section. Know the exact name of your driver, thats important for deploying drivers to local machines. Your brandnew Group Policy should consist of (i) computer >> policies >> windows settings […]

Windows Server 2022 Evaluation | Activation

Microsofts Windows Server 2022 Evaluation ISO is the basis your installaion was built on. Now you want to end the evaluation ad did buy a correct license. You did go to ACTIVATION, typed that ney key in and got that 0xc004f050? Thats because your key was (ie) issued for Windows Server 2022 Standard and NOT […]

NAGIOS | poor mans report scripting

You wanna report some stuff to nagios the easy way? Try this. Nagios server side: Install netcat. Run a eternal loop script: # while true; do nc -l -p <THE_PORT_YOU_WANNA_LISTEN_TO> >> /var/nagios/rw/nagios.cmd; done& Client side: Install netcat. Drop your info to the NAGIOS server with something like: # echo -e “[$(date +%s)] PROCESS_SERVICE_CHECK_RESULT;<NAGIOSCONFIG_SERVER_NAME>;<NAGIOSCONFIG_SERVICE_NAME>;<RESULT_0_or_1_or_2>;<YOUR_IMPORTANT_MESSAGE>” | nc […]