Code Monkey home page Code Monkey logo

marsnatrp's Introduction

MarsNATRP

Release: https://github.com/SmartGhost0/MarsNATRP/releases

How To Use

  • You should download the release files or project.The release pack include MarsNATRP_Server and MarsNATRP_Client.This application was written by .netCore which is easy to make the application run on muti-platform. If you do not find the files which can run on your platform,you can just use the portable vision(.netCore Framework is required).

Run Application

  • MarsNATRP_Client

       Windows:Run MarsNATRP_Client.exe {ServerIP} {ServerPrivatePort} {LocalIP} {LocalPort}
       
       Linux/Unix:Run MarsNATRP_Client {ServerIP} {ServerPrivatePort} {LocalIP} {LocalPort}
    

    For example: If you want to map the private port 8888 of public address 10.10.10.10 to the port 80 of local address 127.0.0.1 you should run MarsNATRP_Client like this.

       Win:MarsNATRP_Client.exe 10.10.10.10 8888 127.0.0.1 80
       
       L/U:MarsNATRP_Client 10.10.10.10 8888 127.0.0.1 80
    
  • MarsNATRP_Server

       Windows:Run MarsNATRP_Server.exe {ServerIP} {ServerPublicPort} {ServerIP} {ServerPrivatePort}
       
       Linux/Unix:Run MarsNATRP_Server {ServerIP} {ServerPublicPort} {ServerIP} {ServerPrivatePort}
    

    For example: If you want to map the public port 8080 of public address 10.10.10.10 to the port 8888 of address 10.10.10.10 you should run MarsNATRP_Client like this.

       Win:MarsNATRP_Client.exe 10.10.10.10 8080 10.10.10.10 8888
       
       L/U:MarsNATRP_Client 10.10.10.10 8080 10.10.10.10 8888
    

Test

  • Test Application

    Try to start a website on local IP:Port and Try to visit PublicIP:Port

    for example: if you run applicaion like the example of "Run Application",you should run website on 127.0.0.1:80 and visit the public server 10.10.10.10:8080

  • How does it works

    When user connect to 10.10.10.10:8080 the server will listen 10.10.10.10:8888 to accept the connection of client when the client connected the client will connect to 127.0.0.1:80.After this the reverse proxy bridge can create successful.

marsnatrp's People

Contributors

smartghost0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kzwr liuxingyx

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.