magic-proxy-cli
TypeScript icon, indicating that this package has built-in type declarations

1.1.21 • Public • Published

Magic-Proxy-CLI

A simple reverse proxy that runs like a webserver and support HTTP, WebSocket and VHosts.

Getting started into Magic Proxy CLI!

This is a CLI version of Magic Reverse Proxy package. You can create your HTTP, HTTPS, WS and WSS tunnels for differents domains, configure your own certificate and adjust your settings to allow unknown hosts, HSTS policy, HTTPS, HTTP, SNI proxy rules and specific users to access your custom settings using credentials, like a router system.

Installation

Installation

You must run the following terminal command.

npm install -g magic-proxy-cli --save

How to use?

To enable all features and access Magic Proxy panel you just need to run the command:

magicproxy

After type and run the command, the Magic Proxy will start one webserver running locally in port 3000. When it start at first time, you will receive a welcome message and get a special account with name admin and a security token in UUID format. You should save it and access the panel to create your own account in users page. The message looks like:

NOTE: if you have any problems with Magic Proxy credentials generation or proxy not working, you can try run it using a privileged user, specially when setting low ports like 80, 443 because they are privileged ports. See Why are ports below 1024 privileged? for more informations.

Screenshot

Screenshots of webpanel

Screenshot Screenshot Screenshot Screenshot Screenshot Screenshot

Readme

Keywords

none

Package Sidebar

Install

npm i magic-proxy-cli

Weekly Downloads

10

Version

1.1.21

License

MIT

Unpacked Size

3.41 MB

Total Files

173

Last publish

Collaborators

  • muryllo.pimenta