Giter VIP home page Giter VIP logo

reverseproxy's Introduction

Reverse Proxy

This is a simple implementation of a reverse proxy that allows you to access a remote server in a DMZ network without external IP or internet access. The reverse proxy supports any TCP protocol, including SSL/TLS.

The proxy consists of two components:

  • Remote Server: Listens to incoming connections from the external network and proxies traffic to the Agent (a secure server).
  • Agent: Connects to the external Remote Server and proxies incoming/outgoing traffic to/from a secure server.

How it Works

  • The Agent proxies all traffic to a secure server without any access from the external network.
  • The Agent connects to the Remote Server, which is placed in the external network, and proxies all incoming packets. Therefore, the secure server may not have an external IP at all, or the firewall may block all incoming connections from the web.
  • The Remote Server listens to incoming connections and acts as a target server for external clients (e.g., a database or file server).
  • The Remote Server interacts with the Agent using special packets that represent traffic between the external client and internal server.

Connection diagram

Pic. 1

Requirements

  • .NET 4.6.2 for Windows
  • .NET Core 2.0 for Linux, Mac and Windows

Building

You can use Build.cmd or use dotnet toolkit: For Windows:

dotnet publish -c Release -f net462 -r win10-x64

For Mac:

dotnet publish -c Release -r osx-x64

For Linux:

dotnet publish -c Release -r linux-x64

For all platforms:

dotnet publish -c Release -f netcoreapp2.0

reverseproxy's People

Contributors

dra1ex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.