Skip to content

margolisj/easy-proxy

Repository files navigation

easy-proxy

Creates proxies on multiple web service providers.

Todo

  • Add ability to track each task or spit out list while it ends, some JS UI
  • Have get status pull tags and find number of each tag per provider
  • Providers
    • Google Cloud Engine
    • AWS
    • Rackspace
    • Vultr
  • Errors
    • Linode - Figure out 408 - {"errors":[{"reason":"Please try again"}]} - on create node
    • DO and Linode: Error: Timed out while waiting for handshake - on ssh connection
  • Other
    • Update example config
    • Finish tester
      • Figure out why some aren't working
      • Sites
        • Shopfy / Kith
        • Footsites

Working

  • Linode
    • No Auth - Last tested successfully 12/11/18
    • Userpass - Last tested successfully 12/11/18
    • IP Auth - Last tested successfully 12/11/18
  • DigitalOcean
    • No Auth - Last tested successfully 12/11/18
    • Userpass - Last tested successfully 12/11/18
    • IP Auth - Last tested successfully 12/11/18

Installation

Setup:

Configure information inside the config.example.json be sure to rename it to config.json or simply run mv config.example.json config.json (macOS & Windows) when you're done.

Example curl with auth:

$  curl -x http://104.236.214.154:3128/ --proxy-user vrztdnh:xjerkurbgnqzvl -L supremenewyork.com

Example curl without auth:

$  curl -x http://104.236.214.154:3128/ -L supremenewyork.com

Config

  • config{ Object }:
    • config.provider { String }: Provider used to create proxies as of right now only digital_ocean is an option.

    • config.auth { Boolean }: To use user auth

    • config.digital_ocean.api_key { String }: DigitalOcean API Key

    • config.digital_ocean.ssh_key_id { Number }: SSH keys that you wish to embed into your server, you must add your SSH Key to your DigitalOcean account and collect the ID. If you are unsure of the ID associated with your SSH Key you can simply run node scripts/ssh_keys to find the ID attached to your key.

    • config.digital_ocean.rsa_id_path { String }: The path to your RSA private key, this may vary depending on what operating system you're on by default if you're using ssh-keygen -t rsa to generate RSA keys on macOS or Linux then your RSA private key path should look like this /Users/john/.ssh/id_rsa or /home/john/.ssh/id_rsa. But if you're on Windows, assuming that you're using PuTTYgen to generate your private/public key then you know where the location of you're private key is (usually with the file extension .ppk) under the rsa_id_path field on Windows yours should look like this C:\\Users\\Billy\\Documents\\ssh-private.ppk depending on where you saved your private key.

    • config.digital_ocean.ssh_passphrase { String }: If you did not set a passphrase to your SSH key then you can set this value as null otherwise you should set this value to the passphrase if present.

    • config.digital_ocean.region { String }: Desired location to deploy proxies.

    • config.linode.apiKey { String }: Linode API Key.

    • config.linode.sshPassphrase { String }: Password to use as root on all boxes.

    • config.linode.region { String }: Desired location to deploy proxies.

Useful Documentation

Old Config Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published