Version information
released Jan 24th 2013
This module has been deprecated by its author since May 4th 2018.
The author has suggested puppet-openvpn as its replacement.
Start using this module
Documentation
luxflux/openvpn — version 2.0.0 Jan 24th 2013
OpenVPN Puppet module
OpenVPN module for puppet including client config/cert creation (tarball to download)
Dependencies
Supported OS
- Debian Squeeze (should, as it works on Ubuntu Lucid)
- Ubuntu 10.4, 12.04 (other untested)
- CentOS, RedHat
Example
# add a server instance
openvpn::server { 'winterthur':
country => "CH",
province => "ZH",
city => "Winterthur",
organization => "example.org",
email => "root@example.org",
server => '10.200.200.0 255.255.255.0'
}
# define clients
openvpn::client { 'client1':
server => 'winterthur'
}
openvpn::client { 'client2':
server => 'winterthur'
}
openvpn::client_specific_config { 'client1':
server => 'winterthur',
ifconfig => '10.200.200.50 255.255.255.0'
}
Don't forget the sysctl directive net.ipv4.ip_forward
!
Contributors
These fine folks helped to get this far with this module: