Sha256: f11d6a178bace6f7541290e9abc513c5e2a53e32fa876d2b5cc68ddcefb0680d

Contents?: true

Size: 726 Bytes

Versions: 3

Compression:

Stored size: 726 Bytes

Contents

# RSocks

this is a socks5 server base on Eventmachine.

can be using as socks5 proxy server side.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'r_socks'
```

And then execute:

    $ bundle install

Or install it yourself as:

    $ gem install r_socks

## Usage

#### use ENV set auth username and password

by default both user and password is: `default`

```
export RSOCKS_USER=some_user_name
export RSOCKS_PASSWORD=some_password
```


run server

```ruby
require 'r_socks'

server = RSocks::TcpServer.new('127.0.0.1', 8081)

server.config.auth_method = :password

server.run!
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nickoan/r_socks.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
r_socks-0.2.0 README.md
r_socks-0.1.8 README.md
r_socks-0.1.7 README.md