Skip to content

barend-erasmus/proxy-server

Repository files navigation

Proxy Server

Proxy Server written in Node.js

Installation

npm install -g proxy-server-cli

Usage

Usage: proxy-server [options] [command]

  Options:

    -V, --version      output the version number
    -h, --help         output usage information

  Commands:

    start [options]
    install [options]

Install Usage

Usage: install [options]

  Options:

    --serverType <serverType>                    Server Type, tcp or tls (default: tcp)
    --proxyConnectionType <proxyConnectionType>  Proxy Connection Type, forward or socks5 (default: forward)
    --socketType <serverType>                    Socket Type, tcp or tls (default: tcp)
    --hostname <hostname>                        Hostname (default: 127.0.0.1)
    --port <port>                                Port (default: 1337)
    --destinationHostname <destinationHostname>  Hostname (default: 127.0.0.1)
    --destinationPort <destinationPort>          Port (default: 1337)
    --certificatePath <certificatePath>          Certificate Path
    --keyPath <keyPath>                          Key Path
    -h, --help                                   output usage information

Start Usage

Usage: start [options]

  Options:

    --serverType <serverType>                    Server Type, tcp or tls (default: tcp)
    --proxyConnectionType <proxyConnectionType>  Proxy Connection Type, forward or socks5 (default: forward)
    --socketType <serverType>                    Socket Type, tcp or tls (default: tcp)
    --hostname <hostname>                        Hostname (default: 127.0.0.1)
    --port <port>                                Port (default: 1337)
    --destinationHostname <destinationHostname>  Hostname (default: 127.0.0.1)
    --destinationPort <destinationPort>          Port (default: 1337)
    --certificatePath <certificatePath>          Certificate Path
    --keyPath <keyPath>                          Key Path
    -h, --help                                   output usage information

Dependencies

  • chalk - Terminal string styling done right
  • commander - The complete solution for node.js command-line interfaces, inspired by Ruby's commander.

Dev Dependencies

Contributors

Contribute

  1. Fork it
  2. Create your feature branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -am 'Description of your feautre')
  4. Push to the branch (git push origin feature/your-feature)
  5. Create a new pull request

About

Proxy Server written in Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published