fuyuanli / KMS-on-pfSense

Add a KMS server in your pfSense firewall appliance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a KMS server in your pfSense firewall appliance

Tested on 2.4.3-RELEASE-p1 (amd64) pfSense appliance
Compiled on FreeBSD 11.1 (amd64)

All credit goes to Wind4 @ https://github.com/Wind4/vlmcsd which is a KMS Emulator in C

Nuts and bolts

1- KMS server vlmcsd is copied into the /bin directory
2- vlmcsd is then chmodded to be executable
3- A shell script called kms_start.sh is created (and chmodded) in /usr/local/etc/rc.d (to start service on reboot)

How to Install

From the pfSense web interface, Diagnostics --> Command Prompt... type
curl -L https://raw.githubusercontent.com/fuyuanli/KMS-on-pfSense/master/kms2pfsense.sh | sh
Then click Execute

How to Install Screenshot

Alt text

Some helpful commands

From the pfSense web command prompt
netstat -an | grep 1688 to check if KMS service is running
pkill vlmcsd to kill/stop KMS service
vlmcsd -h for a list of options
vlmcsd -V for the KMS server version

NOTE: If you stop the service, you'll need to restart the firewall or SSH into the box to restart with vlmcsd command.
Typing vlmcsd from the GUI command prompt does not work.

About

Add a KMS server in your pfSense firewall appliance


Languages

Language:Shell 100.0%