Skip to content

TracyWebTech/puppet-knockd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knockd

Overview

This is the knockd module.

It installs and configures knockd (a port knocking software).

For the moment only tested on debian wheezy (stable 7.2). It should work on jessie too.

Usage

Example:

Basic usage :

include knockd

This will use the default values set on params.pp

Advanced example :

class { 'knockd':
  sequence_open  => '4000:udp,4000:tcp,4000:udp',
  sequence_close => '4001:tcp,4001:udp,4001:tcp',
  port_to_manage => '22',
  interface_to_manage => 'eth0'
}

Client Port knocker Usage

It also install a port knocker client

To open the port:

knock hostname 4000:udp 4000:tcp 4000:udp

To close the port:

knock hostname 4001:tcp 4001:udp 4001:tcp

PuppetForge:

Module also available on PuppetForge: https://forge.puppetlabs.com/juasiepo/knockd

About

puppet module to manage knockd package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 53.5%
  • Puppet 43.6%
  • Ruby 2.6%
  • Pascal 0.3%