devproxy

Tunnel public domains to your development environment.

MIT License

Downloads
25.3K
Stars
9
Committers
1

Devproxy Build Status

devproxy.io client used for tunneling connections from a public domain (https://example.devproxy.io) to your local machine.

Installation

Add this line to your application's Gemfile:

gem 'devproxy'

And then execute:

$ bundle

Or install it yourself as:

$ gem install devproxy

Usage

Create an account on devproxy.io and upload your ssh public key.

To tunnel connections for username.devproxy.io to port 3000 on your local machine, run:

$ devproxy username

You can specify the local port with -p:

$ devproxy username -p 5000

If the host that you want to tunnel is not the same as your devproxy.io username, specify the hostname as the second argument:

$ devproxy username proxyname

devproxy comes with a server for testing. enable it with the --test-server flag:

$ devproxy username proxyname -p 5000 --test-server

Rails

Start up your tunnel in a separate terminal or use a foreman Procfile:

devproxy: bundle exec devproxy example -p 3000
web:      bundle exec rails s -p 3000

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request