实例介绍
NSmartProxy是一款免费的内网穿透工具,支持跨平台运行,配置简单,可映射多种服务。采用全异步模式,支持TCP和UDP协议栈下的各种协议。
NSmartProxy包含两个服务程序:
- 服务端(NSmartProxy.ServerHost):部署在外网,用来接收来自最终使用者和客户端的反向连接,并将它们进行相互转发。
- 客户端(NSmartProxyClient):部署在内网,用来转发访问内网各种服务的请求以及响应。
【实例截图】
文件清单
└── NSmartProxy-f8038a3bdb3bd78969fc8eb5684d29ea7f295a3f
├── azure-pipelines.yml
├── _config.yml
├── imgs
│ ├── servicecn.png
│ ├── serviceen.png
│ └── supervisor.png
├── LICENSE
├── NSmartProxyNew.png
├── plugins
│ └── NSmartProxyFTP
│ ├── appsettings.json
│ ├── FtpClient.cs
│ ├── FtpRequest.cs
│ ├── FtpServer.cs
│ ├── FtpUser.cs
│ ├── log4net.config
│ ├── NSmartProxyFTP.csproj
│ └── Program.cs
├── README_EN.md
├── README.md
├── README_SERVER_CN.md
├── README_SERVER.md
├── sh.exe.stackdump
├── src
│ ├── build.cmd
│ ├── build_simple.cmd
│ ├── build_test.cmd
│ ├── deploy.cmd
│ ├── global.temp
│ ├── NSmartProxy
│ │ ├── Authorize
│ │ │ └── NSPServerContext.cs
│ │ ├── ClientConnectionManager.cs
│ │ ├── Database
│ │ │ ├── HashFile.cs
│ │ │ ├── LiteDbOperator.cs
│ │ │ ├── NSmartDb.cs
│ │ │ └── SequenceFile.cs
│ │ ├── Extension
│ │ │ ├── CAGen.cs
│ │ │ ├── HttpServer_APIs.cs
│ │ │ └── PeekableBufferBlock.cs
│ │ ├── NSmartProxy.csproj
│ │ ├── NSPApp.cs
│ │ ├── NSPAppGroup.cs
│ │ ├── NSPClient.cs
│ │ ├── Server.cs
│ │ ├── ServerModels.cs
│ │ ├── TcpTunnel.cs
│ │ └── Web
│ │ ├── bootstrap.bundle.min.js
│ │ ├── bootstrap.min.css
│ │ ├── bootstrap-table-expandable.js
│ │ ├── bootstrapValidator.css
│ │ ├── bootstrapValidator.js
│ │ ├── Chart.min.js
│ │ ├── config.html
│ │ ├── config.js
│ │ ├── connections.html
│ │ ├── connections.js
│ │ ├── dashboard.css
│ │ ├── dashboard.html
│ │ ├── dashboard.js
│ │ ├── favicon.ico
│ │ ├── feather.min.js
│ │ ├── jquery-slim.min.js
│ │ ├── loading-s.gif
│ │ ├── login.html
│ │ ├── logs.html
│ │ ├── logs.js
│ │ ├── main.html
│ │ ├── main.js
│ │ ├── NSmartProxyNew.png
│ │ ├── signin.css
│ │ ├── users.html
│ │ └── users.js
│ ├── NSmartProxy4Windows.sln
│ ├── NSmartProxyClient
│ │ ├── appsettings.json
│ │ ├── Dockerfile
│ │ ├── log4net.config
│ │ ├── NSmartProxyClient.cs
│ │ ├── NSmartProxyClient.csproj
│ │ ├── Program.cs
│ │ └── Properties
│ │ └── launchSettings.json
│ ├── NSmartProxy.ClientRouter
│ │ ├── Authorize
│ │ │ └── UserCacheManager.cs
│ │ ├── ClientAppWorker.cs
│ │ ├── Dispatchers
│ │ │ └── NSPDispatcher.cs
│ │ ├── NSmartProxy.ClientRouter.csproj
│ │ ├── Router.cs
│ │ ├── ServerConnectionManager.cs
│ │ └── ServiceClientListCollection.cs
│ ├── NSmartProxy.Data
│ │ ├── ByteSerializeableObject.cs
│ │ ├── Config
│ │ │ ├── CABoundConfig.cs
│ │ │ ├── NSPClientConfig.cs
│ │ │ ├── NSPServerConfig.cs
│ │ │ └── ServerBoundConfig.cs
│ │ ├── DBEntites
│ │ │ └── User.cs
│ │ ├── DTOs
│ │ │ ├── CertDTO.cs
│ │ │ ├── FileDTO.cs
│ │ │ ├── FileUploadDTO.cs
│ │ │ ├── LoginFormClientResult.cs
│ │ │ ├── ServerPortsDTO.cs
│ │ │ ├── ServerStatusDTO.cs
│ │ │ ├── UserDTO.cs
│ │ │ └── UserStatusDTO.cs
│ │ ├── HttpResult.cs
│ │ ├── Models
│ │ │ ├── App.cs
│ │ │ ├── ClientApp.cs
│ │ │ ├── ClientIdAppId.cs
│ │ │ ├── ClientModel.cs
│ │ │ ├── ClientNewAppRequest.cs
│ │ │ ├── ClientUserCache.cs
│ │ │ └── LoginInfo.cs
│ │ ├── NSmartProxy.Data.csproj
│ │ ├── ServerProtocol.cs
│ │ ├── ServerStatus.cs
│ │ └── TokenClaims.cs
│ ├── NSmartProxy.Infrastructure
│ │ ├── ConfigHelper.cs
│ │ ├── ConsoleHelper.cs
│ │ ├── DatetimeHelper.cs
│ │ ├── EncryptHelper.cs
│ │ ├── Extensions
│ │ │ ├── AsyncExtension.cs
│ │ │ ├── HttpServer
│ │ │ │ ├── HttpServerAttributes.cs
│ │ │ │ ├── HttpServer.cs
│ │ │ │ └── HttpServer_MIMEs.cs
│ │ │ ├── StreamExtension.cs
│ │ │ └── TcpPipelinesExt.cs
│ │ ├── HtmlUtil.cs
│ │ ├── I18N.cs
│ │ ├── Interfaces
│ │ │ ├── IHttpServerContext.cs
│ │ │ ├── ILogger.cs
│ │ │ └── IWebController.cs
│ │ ├── LiteNetLib
│ │ │ ├── BaseChannel.cs
│ │ │ ├── ConnectionRequest.cs
│ │ │ ├── INetEventListener.cs
│ │ │ ├── Layers
│ │ │ │ ├── Crc32cLayer.cs
│ │ │ │ ├── PacketLayerBase.cs
│ │ │ │ └── XorEncryptLayer.cs
│ │ │ ├── NatPunchModule.cs
│ │ │ ├── NetConstants.cs
│ │ │ ├── NetDebug.cs
│ │ │ ├── NetExceptions.cs
│ │ │ ├── NetManager.cs
│ │ │ ├── NetPacket.cs
│ │ │ ├── NetPacketPool.cs
│ │ │ ├── NetPeer.cs
│ │ │ ├── NetSocket.cs
│ │ │ ├── NetStatistics.cs
│ │ │ ├── NetUtils.cs
│ │ │ ├── ReliableChannel.cs
│ │ │ ├── SequencedChannel.cs
│ │ │ ├── SimpleChannel.cs
│ │ │ └── Utils
│ │ │ ├── CRC32C.cs
│ │ │ ├── FastBitConverter.cs
│ │ │ ├── INetSerializable.cs
│ │ │ ├── NetDataReader.cs
│ │ │ ├── NetDataWriter.cs
│ │ │ ├── NetPacketProcessor.cs
│ │ │ ├── NetSerializer.cs
│ │ │ ├── NtpPacket.cs
│ │ │ └── NtpRequest.cs
│ │ ├── NetworkUtil.cs
│ │ ├── NSmartProxy.Infrastructure.csproj
│ │ ├── RandomHelper.cs
│ │ ├── Shared
│ │ │ ├── Global.cs
│ │ │ ├── IDbOperator.cs
│ │ │ ├── NSPVersion.cs
│ │ │ ├── NSPVersion.tt
│ │ │ └── SecurityTcpClient.cs
│ │ └── StringUtil.cs
│ ├── NSmartProxy.NUnitTest
│ │ ├── CAGenerate.cs
│ │ ├── HttpAPI.cs
│ │ ├── NSmartProxy.NUnitTest.csproj
│ │ └── P2PPunch.cs
│ ├── NSmartProxy.P2PClient46
│ │ ├── App.config
│ │ ├── NSmartProxy.P2PClient46.csproj
│ │ ├── Program.cs
│ │ └── Properties
│ │ └── AssemblyInfo.cs
│ ├── NSmartProxy.P2PHost46
│ │ ├── App.config
│ │ ├── NSmartProxy.P2PHost46.csproj
│ │ ├── Program.cs
│ │ └── Properties
│ │ └── AssemblyInfo.cs
│ ├── NSmartProxy.ServerHost
│ │ ├── appsettings.json
│ │ ├── Dockerfile
│ │ ├── log4net.config
│ │ ├── NSmartProxy.ServerHost.csproj
│ │ ├── Program.cs
│ │ └── ServerHost.cs
│ ├── NSmartProxy.sln
│ ├── NSmartProxyWinform
│ │ ├── AboutBox.cs
│ │ ├── AboutBox.Designer.cs
│ │ ├── AboutBox.resx
│ │ ├── App.config
│ │ ├── appsettings.json
│ │ ├── ClientMngr.cs
│ │ ├── ClientMngr.Designer.cs
│ │ ├── ClientMngr.resx
│ │ ├── i18n
│ │ │ ├── en.txt
│ │ │ ├── ol.txt
│ │ │ └── zh.txt
│ │ ├── log4net.config
│ │ ├── Log4netLogger.cs
│ │ ├── Login.cs
│ │ ├── Login.Designer.cs
│ │ ├── Login.resx
│ │ ├── NSmartProxyWinform.csproj
│ │ ├── nsp.ico
│ │ ├── packages.config
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── Resources
│ │ │ ├── base_checkmark_32.png
│ │ │ ├── NSmartProxyNew.png
│ │ │ ├── Permission_12796.png
│ │ │ ├── servicepaused.ico
│ │ │ ├── servicerunning.ico
│ │ │ ├── servicestopped.ico
│ │ │ └── UserProfilenode_8706.png
│ │ ├── System
│ │ │ └── AutoStartup.cs
│ │ └── Util
│ │ ├── HotKey.cs
│ │ ├── TextBoxEx.cs
│ │ └── WinServiceHelper.cs
│ ├── NSmartProxyWinService
│ │ ├── App.config
│ │ ├── NSmartProxyWinService.csproj
│ │ ├── NSPClientService.cs
│ │ ├── NSPClientService.Designer.cs
│ │ ├── NSPClientService.resx
│ │ ├── packages.config
│ │ ├── Program.cs
│ │ ├── ProjectInstaller.cs
│ │ ├── ProjectInstaller.Designer.cs
│ │ ├── ProjectInstaller.resx
│ │ └── Properties
│ │ └── AssemblyInfo.cs
│ └── TestBed
│ ├── NSmartProxy.ConsoleTest
│ │ ├── Class1.cs
│ │ ├── Echoexcample.cs
│ │ ├── HolePunchTest1.cs
│ │ ├── HolePunchTest.cs
│ │ ├── NSmartProxy.ConsoleTest.csproj
│ │ └── Program.cs
│ ├── NSmartProxy.P2PClient
│ │ ├── NSmartProxy.P2PClient.csproj
│ │ └── Program.cs
│ └── NSmartProxy.P2PClient - 副本
│ ├── NSmartProxy.P2PClient.csproj
│ └── Program.cs
├── test
│ ├── auto_test.cmd
│ ├── TcpClient
│ │ ├── Class1.cs
│ │ ├── Program.cs
│ │ └── TcpClient.csproj
│ ├── TcpServer
│ │ ├── Class1.cs
│ │ ├── Program.cs
│ │ └── TcpServer.csproj
│ ├── TestBed.sln
│ ├── UdpClient
│ │ ├── Program.cs
│ │ └── UdpClient.csproj
│ └── UdpServer
│ ├── Program.cs
│ └── UdpServer.csproj
├── theo.png
└── THEORETIC.doc
51 directories, 251 files
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论