mk-tunnel
v1.1.1
Published
Connect to reverse proxy with random available ports
Downloads
12
Maintainers
Readme
Description
TBD.
Prerequisite
Please follow this article to setup AWS environment, including VPC, Security Group and EC2.
In addition, on the security group, the following ports also need to be opened for inbound traffic:
1111, 1234, 1987, 2222, 2266, 3000, 3333, 4000, 5000, 6666, 8000, 8080, 8888
Setup
Install this package
npm install -g mk-tunnel
or
yarn global add mk-tunnel
Initialize the configurations
mk-tunnel init
Make sure you have the following information prepared - the IP or DNS of your EC2 instance - the path of the key file (.pem)
Usage
mk-tunnel start --port [PORT_TO_EXPOSE]
Troubleshooting
mk-tunnel start --port [PORT_TO_EXPOSE] --debug