GithubHelp home page GithubHelp logo

kms-on-pfsense's Introduction

Add a KMS server in your pfSense firewall appliance

Tested on 23.05.1-RELEASE (amd64) pfSense appliance
Compiled on FreeBSD 14.0-CURRENT (amd64)
Using vlmcsd-svn1113-2020-03-28-Hotbird64

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 meliton.github.io/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.

Compile from scratch recipe

Download then install FreeBSD-13.2-RELEASE-amd64-bootonly.iso to a virtual machine.
Then, as root user, type the following:

cd ~
pkg install gcc git gmake
git clone --depth 1 https://github.com/Wind4/vlmcsd
cd vlmcsd
gmake
cd bin

The vlmcsd file is in the ~/vlmcsd/bin folder.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.