Skip to content

liangshan/drill-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drill ansible

Ansible playbook which deploy shadowsocksr(aka SSR) and kcptun on Ubuntu 16.04.

And a proxy service with all the corresponding clients , if you need.

Prepare

  • ansible > 1.8

NOTICE

This will disable password login after executed, please make sure the cloud can deploy your ssh key automatically when create a new server.

Usage

Change the IP address in hosts which want to deploy, then just run with your password.

The following is an example:

$ ansible-playbook -i hosts server.yml --extra-vars '{"hosts":"ALIYUN-SV", "password":"yourpassword"}'

The network woud looks like this now:

WX20191015-134856

Optional

If you need a proxy server, which will connect the server for you, just do this:

$ ansible-playbook -i hosts proxy.yml --extra-vars '{"hosts":"ALIYUN-PROXY", "password":"yourpassword"}'

NOTICE: same password as first step.

Then you only need to set the system/application's proxy to PROXY_SERVER:1086 and have fun.

Futher more, if you don't want to make the proxy server go public, just build an OpenVPN server according to the instructions.

The network would looks like this finally:

WechatIMG21512

SSR client

About

Ansible playbook to deploy Shad0ws0cksR and kcptun on Ubuntu 16.04

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published