https://github.com/edx/configuration
看得透又看得远者prevail. ppt.cc/flUmLx ppt.cc/fqtgqx ppt.cc/fZsXUx ppt.cc/fhWnZx ppt.cc/fnrkVx ppt.cc/f2CBVx
ppt.cc/fKlBax ppt.cc/fwlgFx ppt.cc/fVjECx ppt.cc/fEnHsx ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com ubuntugeek.com runoob.com man.linuxde.net ppt.cc/fwpCex ppt.cc/fxcLIx ppt.cc/foX6Ux linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com ppt.cc/ffAGfx ppt.cc/fJbezx ppt.cc/fNIQDx ppt.cc/fCSllx ppt.cc/fybDVx ppt.cc/fIMQxx
Total Pageviews
Showing posts with label playbook. Show all posts
Showing posts with label playbook. Show all posts
Sunday, 3 January 2016
Saturday, 19 September 2015
Saturday, 12 September 2015
在playbook上,部署vpn
VPN Deploy Playbook 
A collection of Ansible Playbooks to deploy VPN and proxy services.
Playbooks:
- auth.yml : setup FreeRadius server for authentication and accounting
- pptp.yml : setup PPTP server
- proxy-*.yml : setup Shadowsocks
- cow-*.yml : setup COW
- ipsec.yml : setup IPSec IKEv1/IKEv2/L2TP over IPsec VPN server with StrongSwan and xl2tpd
- sane-dns.yml : setup fqdns
- chinadns.yml : setup ChinaDNS
- openconnect.yml : setup OpenConnect VPN server for Cisco AnyConnect client
- spdy-proxy.yml : setup nghttp2 & squid for http2/spdy proxy
- openvpn.yml : setup OpenVPN server
- apnp-*.yml : setup APNP (Squid + Shadowsocks tunnel)
- sigmavpn.yml : setup SigmaVPN
How to use
[sudo] pip install ansibleinstall Ansible in control machinecp ansible_hosts{.example,}copyansible_hosts.exampletoansible_hosts- edit the file to add your servers
- edit files in
group_varsor create and edithost_vars/SERVER_NAME.ymlto fit your needs - run
ansible-playbook PLAYBOOK_NAME.ymlto 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
from https://github.com/ftao/vpn-deploy-playbook
Subscribe to:
Posts (Atom)