All Projects → whz11 → qynat-spring-boot-starter

whz11 / qynat-spring-boot-starter

Licence: MIT license
A springboot-starter that can achieve Intranet penetration. 一款可以实现内网穿透的springboot-starter。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to qynat-spring-boot-starter

cheshuo
🎃A lightweight game server framework. Based on Springboot and Netty. Using ProtoBuf as communication between client and server.
Stars: ✭ 23 (-64.62%)
Mutual labels:  netty, springboot
Framework Learning
计算机学习资料(Java , Jvm , Linux , Mysql , Netty , Redis , Netty , Spring , SpringBoot , Mybatis , Rabbitmq ,计算机网络 , 数据结构与算法 , 设计模式 )Github网页阅读:https://guang19.github.io/framework-learning , Gitee网页版阅读: https://qsjzwithguang19forever.gitee.io/framework-learning
Stars: ✭ 416 (+540%)
Mutual labels:  netty, springboot
netty-game-server
Use netty with springboot to program game server
Stars: ✭ 19 (-70.77%)
Mutual labels:  netty, springboot
im-bass
基础IM通信
Stars: ✭ 56 (-13.85%)
Mutual labels:  netty, springboot
Springboot Templates
springboot和dubbo、netty的集成,redis mongodb的nosql模板, kafka rocketmq rabbit的MQ模板, solr solrcloud elasticsearch查询引擎
Stars: ✭ 100 (+53.85%)
Mutual labels:  netty, springboot
CloudSchedule
分布式调度系统,基于zookeeper ,netty,调度内核参考Spring schedule 执行表达式和Spring schedule一样,没有使用Quartz,客户端完全基于注解配置,使用同 Spring schedule一致,最少配置,使用简单
Stars: ✭ 14 (-78.46%)
Mutual labels:  netty, springboot
Tutorial
Java全栈知识架构体系总结
Stars: ✭ 407 (+526.15%)
Mutual labels:  netty, springboot
Naivechat
🎭 本项目是作者小傅哥使用JavaFx、Netty4.x、SpringBoot、Mysql等技术栈和偏向于DDD领域驱动设计方式,搭建的仿桌面版微信实现通信核心功能。课程文章已发布到GitChat专栏,欢迎购买。如果本项目能为您提供帮助,请给予支持(关注、⭐️Star、分享)!
Stars: ✭ 290 (+346.15%)
Mutual labels:  netty, springboot
Dorado
基于Netty4开发的简单、轻量级、高性能的的Http restful api server
Stars: ✭ 65 (+0%)
Mutual labels:  netty, springboot
Netty Websocket Spring Boot Starter
🚀 lightweight high-performance WebSocket framework ( 轻量级、高性能的WebSocket框架)
Stars: ✭ 885 (+1261.54%)
Mutual labels:  netty, spring-boot-starter
itstack-naive-chat-server
💞 《服务端》| 服务端同样使用Netty4.x作为socket的通信框架,同时在服务端使用Layui作为管理后台的页面,并且我们的服务端采用偏向于DDD领域驱动设计的方式与Netty集合,以此来达到我们的框架结构整洁干净易于扩展。同时我们的通信协议也是在服务端进行定义的,并对外提供可引入的Jar包,这样来保证客户端与服务端共同协议下进行通信。
Stars: ✭ 21 (-67.69%)
Mutual labels:  netty, springboot
Pdf Books
📚 PDF 书籍库
Stars: ✭ 134 (+106.15%)
Mutual labels:  netty, springboot
Justauth Spring Boot Starter
Spring Boot 集成 JustAuth 的最佳实践~
Stars: ✭ 143 (+120%)
Mutual labels:  spring-boot-starter, springboot
netty-learning
bio, nio到 netty各种使用案例, 包含基础使用案例,各api使用方法,零拷贝,websocket,群聊,私聊,编码,解码,自定义协议,protobuf等使用案例,rpc服务器,客户端等等学习
Stars: ✭ 49 (-24.62%)
Mutual labels:  netty, springboot
Ssh Shell Spring Boot
Spring shell in spring boot application over ssh
Stars: ✭ 43 (-33.85%)
Mutual labels:  spring-boot-starter, springboot
Pdf
编程电子书,电子书,编程书籍,包括C,C#,Docker,Elasticsearch,Git,Hadoop,HeadFirst,Java,Javascript,jvm,Kafka,Linux,Maven,MongoDB,MyBatis,MySQL,Netty,Nginx,Python,RabbitMQ,Redis,Scala,Solr,Spark,Spring,SpringBoot,SpringCloud,TCPIP,Tomcat,Zookeeper,人工智能,大数据类,并发编程,数据库类,数据挖掘,新面试题,架构设计,算法系列,计算机类,设计模式,软件测试,重构优化,等更多分类
Stars: ✭ 12,009 (+18375.38%)
Mutual labels:  netty, springboot
Momo Cloud Permission
基于SpringBoot2.x、SpringCloud和SpringCloudAlibaba并采用前后端分离的企业级微服务多租户、多系统的系统架构。适合学习和企业中使用。真正实现了手撸RBAC、jwt的无状态统一权限认证的解决方案,面向互联网设计同时适合B端和C端用户,支持CI/CD多环境部署;同时还集合各种微服务治理功能和监控功能。模块包括:企业级的认证系统、开发平台、应用监控、慢sql监控、统一日志、单点登录、Redis分布式高速缓存、接口文档、蚂蚁金服代码生成器等等!netty心跳服务器支持鉴权、断线重连、其他业务模块开发
Stars: ✭ 101 (+55.38%)
Mutual labels:  netty, springboot
Gopush
分布式消息推送服务,可以用于客服、推送、聊天等诸多系统的 核心组件服务!
Stars: ✭ 204 (+213.85%)
Mutual labels:  netty, springboot
FullStack-Angular-SpringBoot
Customer Relationship Managment [Full-stack Web Development using Angular & SpringBoot (RestFull API)]
Stars: ✭ 48 (-26.15%)
Mutual labels:  springboot
fastim
🚀基于Netty高可用分布式即时通讯系统,支持长连接网关管理、单聊、群聊、离线消息、消息推送消息、消息已读未读、消息未读数、红包、消息漫游等功能,支持集群部署的分布式架构。
Stars: ✭ 111 (+70.77%)
Mutual labels:  netty

qynat-springboot-starter

基于netty的内网穿透工具在springboot中的整合

protocol协议:protobuf

只需在application.properties中配置少量信息,实现零代码侵入的web项目内网穿透

项目的server端的源码在另一个多模块项目中,包括client端的命令行版、GUI版,还没写好readme暂时先不贴链接

Table of Contents

QuickStart

服务端配置

在项目的lib包下有个server.jar,将他部署在可外网访问的服务器上,输入命令(需在jdk环境下):

java -jar server.jar -p <server-port> -t <token>

看到以下,说明服务端成功运行

QyNat server started on port xxxx

客户端配置

引入依赖

  • maven项目在pom中引入
    <dependencies>      
        <dependency>
            <groupId>com.github.whz11</groupId>
            <artifactId>qynat-spring-boot-starter</artifactId>
            <version>Tag</version><!--见上方jitpack后面的版本-->
        </dependency>
    </dependencies>

    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>
 
  • gradle项目
	dependencies {
	        implementation 'com.github.whz11:qynat-spring-boot-starter:Tag'
	}
	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

配置application.properties

##server端部署地址
qynat.server-address=xxx.xxx.xxx.xxx
##server端部署端口号
qynat.server-port=7777
##server端配置令牌(可空)
qynat.token=123456
##本机地址(不填自动获取ip地址)
qynat.proxy-address=localhost
##本机端口(不填自动默认采用项目的server.port)
qynat.proxy-port=8080
##映射端口
qynat.remote-port=8080

解释:服务运行后,本机地址可以通过server-address:remote-port访问

客户端最后一步

在启动类中加上@EnabledQyNat注解

@SpringBootApplication
@EnabledQyNat
public class StarterDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(StarterDemoApplication.class, args);
    }

}

在控制台看到以下,说明客户端启动成功

Started QyNatClient success mapping at:http://server-address:remote-port
Register to qynat

Maintainers

@whz11.

Contributing

Feel free to dive in! Open an issue or submit PRs.

License

MIT © whz11

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].