3 Star 7 Fork 5

Amos / lanproxy

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
README_en.md 1.77 KB
Copy Edit Raw Blame History
fengfei authored 2017-09-13 18:14 . i18n支持

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

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/fnw/lanproxy.git
git@gitee.com:fnw/lanproxy.git
fnw
lanproxy
lanproxy
master

Search

344bd9b3 5694891 D2dac590 5694891