Skip to content

jccode/cookbook_shadowsocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shadowsocks Cookbook

Install shadowsocks on your server.

This cookbook will create a system service "ssserver", while the configuration file is in /etc/shadowsocks.json.

Requirements

Platforms

  • Ubuntu
  • Debian

Chef

  • Chef 12.0 or later

Cookbooks

  • poise-service - for create a system service

Attributes

shadowsocks::default

  • node['shadowsocks']['server_port'] - Shadowsocks server port. Default is 8388.
  • node['shadowsocks']['method'] - Shadowsocks encrypt method. Default is aes-256-cfb.
  • node['shadowsocks']['password'] - Shadowsocks password. Default is pass.

Usage

shadowsocks::default

Just include shadowsocks in your node's run_list:

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

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:: jccode

About

cookbook shadowsocks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published