Skip to content

Latest commit

 

History

History
100 lines (86 loc) · 1.85 KB

README.md

File metadata and controls

100 lines (86 loc) · 1.85 KB

#pptpd Cookbook

This cookbook to setup a pptp based VPN Server.

Requirements

#####Operating System

  • Ubuntu

Attributes

pptpd::default

Key Type Description Default
['pptpd']['users'] Array Username and password [{username: "user",password: "password"}]
['pptpd']['dns'] Array Dns ipaddress ["8.8.8.8","8.8.4.4"]
['pptpd']['localip'] String IP address of the machine 10.0.0.1
['pptpd']['remoteip'] String Network range 10.0.0.100-200

Usage

A detailed rundown on using this cookbook is available on my Website.

####Librarian-chef Add this to your Cheffile

cookbook 'pptpd', github: 'h0lyalg0rithm/pptpd'

Run librarian-chef install to download the cookbooks.

Just include pptpd in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[pptpd]"
  ]
}

Add you own user name recommended

{
  "name":"my_node",
  "run_list": [
    "recipe[pptpd]"
  ],
  "pptpd":{
  	"users":[{
	  	"username": "<Your username>",
	  	"password": "<Your password>"
	  }]
  }
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Suraj Shirvankar