my-proxy

2.0.0 • Public • Published

my-proxy

my-proxy is an HTTP(S) Proxy that enables a developer to access internal networks (localhost, VMs, Docker containers) from external devices as they were in the host computer.

Read How to access docker containers from external devices for more information.

install instructions

npm install -g my-proxy

usage

  Usage: my-proxy [options]
 
  Options:
 
    -h, --help         output usage information
    -V, --version      output the version number
    -b, --bind [host]  bind to host [0.0.0.0]
    -p, --port [port]  listen on port [3128]
    -v, --verbose      verbose mode
    -q, --quiet        quiet mode

example

my-proxy
# HTTP(S) Proxy Server listening for connections on host [0.0.0.0] port [3128] 

todo

  • add proxy authentication
  • filter requests (something similar to tcpdump)
  • simulate mobile networking conditions (Edge, 3G and even offline)

i know nothing about networking

In case you know nothing about networking, a very simple definition of a use case for this project is:

  1. You run this app on your computer;
  2. You set up your device (or another computer) pointing to this computer IP address, port 3128 (default one);
  3. From now on you can access any url from your device as you were on your computer, localhost or any other internal url is going to work;

setting up proxy

Readme

Keywords

none

Package Sidebar

Install

npm i my-proxy

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

136 kB

Total Files

12

Last publish

Collaborators

  • esnunes