Skip to content

Commit

Permalink
页面调整
Browse files Browse the repository at this point in the history
  • Loading branch information
fengfei committed Sep 4, 2017
1 parent b4b81f0 commit a1e1239
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ lanproxy

lanproxy是一个将局域网个人电脑、服务器代理到公网的内网穿透工具,目前仅支持tcp流量转发,可支持任何tcp上层协议(访问内网网站、本地支付接口调试、ssh访问、远程桌面...)。目前市面上提供类似服务的有花生壳、TeamView、GoToMyCloud等等,但要使用第三方的公网服务器就必须为第三方付费,并且这些服务都有各种各样的限制,此外,由于数据包会流经第三方,因此对数据安全也是一大隐患。

### 相关地址

- 主页 https://lanproxy.org
- 发布包下载地址 https://git.oschina.net/fengfei/lanproxy/attach_files

### 实现方案

![lanproxy](lanproxy.png)
Expand Down Expand Up @@ -57,7 +62,7 @@ client的配置文件放置在conf目录中,配置 config.properties

```properties
#与proxy-server通信认证标识秘钥,可在server配置中心查看
client.key=e3150ad72f8a47859b8c7ae6be2f1544
client.key=

#proxy-server地址
server.host=127.0.0.1
Expand Down
2 changes: 1 addition & 1 deletion proxy-client/src/test/resources/config.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
client.key=client
client.key=f49bfbca84e646a5ba4ce51ad9d8c14e
ssl.enable=false
ssl.jksPath=test.jks
ssl.keyStorePassword=123456
Expand Down
8 changes: 7 additions & 1 deletion proxy-server/webpages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
<!-- 代码 开始 -->
<div class="wrapper">
<div class="container">
<h1>LanProxy</h1>
<h1>LanProxy.org</h1>

<div class="form">
<input type="text" class="username" placeholder="用户名">
Expand Down Expand Up @@ -185,6 +185,12 @@ <h1>LanProxy</h1>
document.cookie = name + "=" + escape(value) + ";expires="
+ exp.toGMTString();
}

$(document).keyup(function(event){
if(event.keyCode ==13){
$("#login-button").trigger("click");
}
});
</script>
<!-- 代码 结束 -->

Expand Down
2 changes: 1 addition & 1 deletion proxy-server/webpages/lanproxy-config/html/client/add.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="layui-tab layui-tab-brief">
<ul class="layui-tab-title site-demo-title">
<li class="layui-this">编辑客户端</li>
<li class="layui-this">添加客户端</li>
</ul>
<div class="main-content">
<div class="layui-form-item">
Expand Down
2 changes: 1 addition & 1 deletion proxy-server/webpages/lanproxy-config/html/lan/edit.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="layui-tab layui-tab-brief">
<ul class="layui-tab-title site-demo-title">
<li class="layui-this">添加代理</li>
<li class="layui-this">编辑代理</li>
</ul>
<div class="main-content">
<div class="layui-form-item">
Expand Down

0 comments on commit a1e1239

Please sign in to comment.