Show HN: Revp – Reverse HTTP Proxy for Linux

0
0
Show HN: Revp – Reverse HTTP Proxy for Linux

Blueprint

Scamper salvage after which train the ensuing executable revp.exe.

Directions

Scamper server with ./revp.exe -s -l 5000 -p 6000, the put aside 5000 is the put aside your consumer will join and 6000 is the put aside proxy connections shall be serviced.

Scamper consumer with ./revp.exe -c -a 192.168.1.1 -z 5000, the put aside 192.168.1.1 is your server maintain and 5000 is your chosen server port that listens for a consumer.

Originate up a browser in your server event and configure your HTTP proxy to port 6000, now you may per likelihood be successfully taking a evaluation the Internet with consumer‘s connection.

Rationalization

There are three substances to revp: server, consumer, and proxy connections.

Server listens for consumer and begins listening for proxy connections as quickly as consumer connects.

All proxy connection requests are routed to the consumer throughout the server.

What makes this a “reverse” proxy is the actual fact that the consumer initiates connection to the server, so there may be no longer any should initiating ports or write firewall ideas for the consumer whose group salvage entry to you wish to attain into — you may per likelihood effectively maybe usually inch this on any group node whose firewall permits outbound site visitors to your server port (the reality is all firewall configurations realized within the wild enable all outbound site visitors).

Proxy connections are anticipated to salvage a primary demand of HTTP CONNECT and as quickly as linked they are going to exchange any data of any protocol with the shuttle scheme maintain:port requested within the HTTP CONNECT. Server transparently routes all site visitors from and to consumer and consumer routes all site visitors from and to the a good distance flung shuttle scheme.

Concepts

  -h [ --help ]              Help masks
  -s [ --server ]            Begins revp in server mode
  -c [ --client ]            Begins revp in consumer mode
  -l [ --clientPort ] arg    [Server mode] Port that listens for consumer
  -p [ --proxyPort ] arg     [Server mode] Port that listens for proxy 
                             connections
  -a [ --serverAddress ] arg [Client mode] Deal with of server
  -z [ --serverPort ] arg    [Client mode] Port of server

LEAVE A REPLY

Please enter your comment!
Please enter your name here