DCase

Current version: 0.2

DCase is a lightweight dns proxy which can help you get through firewalls.

Usage

First, make sure you have Ruby 2.0.

$ ruby -v
ruby 2.0.0p353

Install Shadowsocks.

gem install dcase

Create a file named config.yml, with the following content.

side: 'local or server'
password: 'your password'
port: '8440'
# you don't need this line when it's on server side
server: 'remote server address'

Explanation of the fields:

side      Local or Server side
server    Remote server address
port      Remote server port
password  Password, should be same in client and server sides

cd into the directory of config.yml. Run dcase on your server. To run it in the background, run nohup dcase -c ./config.yml > log &.

On your client machine, cd into the directory of config.yml also, run sudo dcase -c config.yml.

Command line args

You can use args to override settings from config.json.

sudo dcase -s local -r remote_server_ip_address -p remote_server_port -k your_password
sudo dcase -s server -p remote_server_port -k your_password

License

MIT

Bugs and Issues

Please visit issue tracker