Score
0
Watch 285 Star 751 Fork 264

小飞 / lanproxyJava

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
lanproxy是一个将局域网个人电脑、服务器代理到公网的内网穿透工具,目前仅支持tcp流量转发,可支持任何tcp上层协议(ssh访问、web服务器访问、远程桌面...)。目前市面上提供类似服务的有花生壳、TeamView、GoToMyCloud等等,但天下没有免费的午餐,要使用第三方的公网服务器就必须为第三方付费,并且这些服务器都有各种各样的限制,此外,由于数据包会流经第三方,因此对数据安全也是一大隐患。 spread retract

https://nat.io2c.com

  • Java 72.9%
  • HTML 19.3%
  • JavaScript 4.9%
  • Shell 2.6%
  • Batchfile 0.3%
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README_en.md

Lanproxy

README | 中文文档

Lanproxy is a reverse proxy to help you expose a local server behind a NAT or firewall to the internet. it supports any protocols over tcp (http https ssh ...)

Features

  • Secure tunnels to localhost
  • Supports any protocols over tcp (http https ssh ...)
  • Supports web config pages, easy to configure management
  • Written by java netty framework, high performance

What can I do with Lanproxy

  • Demo without deploying
  • Simplify mobile device testing
  • Build webhook integrations with ease
  • Run personal cloud services from your own private network

Architecture

lanproxy

Configure

Server

proxy-server config file is conf/config.properties

server.bind=0.0.0.0

#Plain tcp port
server.port=4900

#ssl
server.ssl.enable=true
server.ssl.bind=0.0.0.0
server.ssl.port=4993
server.ssl.jksPath=test.jks
server.ssl.keyStorePassword=123456
server.ssl.keyManagerPassword=123456
server.ssl.needsClientAuth=false

#web config pages
config.server.bind=0.0.0.0
config.server.port=8090
config.admin.username=admin
config.admin.password=admin

Visit your config web service using url http://ip:8090

webconfig

webconfig

webconfig

client

proxy-client config file is conf/config.properties

#get from proxy-server client list page
client.key=
ssl.enable=true
ssl.jksPath=test.jks
ssl.keyStorePassword=123456

#your proxy server ip
server.host=

#proxy-server ssl port is 4993,plain port is 4900
server.port=4993

Run

Comments ( 52 )

Sign in for post a comment

Java
1
https://gitee.com/fengfei/lanproxy.git
git@gitee.com:fengfei/lanproxy.git
fengfei
lanproxy
lanproxy
master

Help Search