Giter Club home page Giter Club logo

tobaba / natnetty Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abnerearl/natnetty

0.0 0.0 0.0 7.06 MB

基于netty自己搭建服务器,实现内外网的穿透,根据需要实现完全自定义。优点是可以通过配置代理端口实现本地网站或应用的代理,没有任何限制,在其他的pc上通过公网IP+指定端口访问内网计算机上的资源,缺点是需要自己搭建一个公网服务器,且传输速度与公网带宽有关系。

C# 95.31% Batchfile 4.69%

natnetty's Introduction

NATnetty

基于netty自己搭建服务器,实现内外网的穿透,根据需要实现完全自定义。优点是可以通过配置代理端口实现本地网站或应用的代理,没有任何限制,在其他的pc上通过公网IP+指定端口访问内网计算机上的资源,缺点是需要自己搭建一个公网服务器,且传输速度与公网带宽有关系。

使用方法

1、下载文件并解压;

https://github.com/YouAreOnlyOne/NATnetty/raw/master/Files/NAT.zip

2、双击运行里面的 NATnetty.exe 文件即可。

C#笔记

启用 process 类,

using System.Diagnostics;//注意引用这个空间

Process p = new Process();

p.StartInfo.FileName = "cmd.exe";

str="一些cmd命令"

p.Start();

p.StandardInput.WriteLine(str);//这里就是执行这些命令,相当于你在cmd窗口敲了一遍这些命令

p.StandardInput.WriteLine("exit");//都下执行完退出

string strRst = p.StandardOutput.ReadToEnd();

//最后console输出返回到 strRst变量。然后你再处理这个变量。

https://blog.csdn.net/u013151336/article/details/51301779/

natnetty's People

Contributors

abnerearl avatar ycj5201314 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.