Skip to content

About

puppet module to manage knockd package

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

19 Commits

Folders and files

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages