Skip to content
A collection of Ansible Playbooks to deploy VPN and proxy services.
Branch: master
Clone or download
Pull request Compare This branch is 11 commits behind ftao:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
group_vars
host_vars
roles
vendor-roles
.gitignore
.travis.yml
LICENSE
README.md
Vagrantfile
ansible.cfg
ansible_hosts.example
ansible_hosts.local
ansible_hosts.vagrant
apnp-backend.yml
apnp-frontend.yml
auth.yml
chinadns.yml
cow-backend.yml
cow-frontend.yml
https-proxy.yml
ipsec-lte.yml
ipsec.yml
l2tp-eth.yml
openconnect-lte.yml
openconnect.yml
openvpn.yml
pki.yml
pptp.yml
proxy-backend.yml
proxy-frontend.yml
proxy.yml
pull_subtree.sh
requirements.yml
sane-dns.yml
shadowsocks-multiport.yml
sigmavpn.yml
test.yml
vpn.yml

README.md

VPN Deploy Playbook Build Status

A collection of Ansible Playbooks to deploy VPN and proxy services.

Playbooks:

How to use

  1. [sudo] pip install ansible install Ansible in control machine
  2. ansible-galaxy install --force -r requirements.yml install / update some third party roles .
  3. cp ansible_hosts{.example,} copy ansible_hosts.example to ansible_hosts
  4. edit the file to add your servers
  5. edit files in group_vars or create and edit host_vars/SERVER_NAME.yml to fit your needs
  6. run ansible-playbook PLAYBOOK_NAME.yml to setup servers

There are also some guides (in Chinese) in the Wiki

Testing

Vagrant

Simply clone this repo and make sure you have Vagrant + Virtual Box installed and...

vagrant up ubuntu --no-provision
vagrant provision ubuntu

It may take about 10 ~ 60 minutes depends on your network. Vagrant is using Ubuntu 14.04 (ubuntu/trusty64) for it's OS. If you'd like to test on Debian Wheezy:

vagrant up debian --no-provision
vagrant provision debian

Donating

Support this project and others by ftao via gratipay.

Support via Gratipay

You can’t perform that action at this time.