This cookbook to setup a pptp based VPN Server.
#####Operating System
- Ubuntu
| 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 |
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>"
}]
}
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Suraj Shirvankar