Skip to content
cookbook shadowsocks
Ruby HTML
Branch: master
Clone or download
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.
attributes
recipes
templates
CHANGELOG.md
README.md
metadata.rb

README.md

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
You can’t perform that action at this time.