ソースを参照

Signed-off-by: zhuhongbin <kptzhu@163.com>

zhuhongbin 3 年 前
コミット
78c385c408

BIN
linux安装方法.rar


+ 1 - 0
linux安装方法/frpc/frpc.bat

@@ -0,0 +1 @@
+frpc

BIN
linux安装方法/frpc/frpc.exe


+ 27 - 0
linux安装方法/frpc/frpc.ini

@@ -0,0 +1,27 @@
+[common]
+server_addr = kptyun.com
+server_port = 7000
+privilege_token = TMRWatch
+vhost_https_port = 443
+
+[gmsx3.stcp_visitor]
+type = stcp
+# stcp 的访问者
+role = visitor
+# 要访问的 stcp 代理的名字
+server_name = gmsx3.stcp
+sk = 123456
+# 绑定本地端口用于访问 ssh 服务
+bind_addr = 127.0.0.1
+bind_port = 8022
+
+[gmsx3.stcp1_visitor]
+type = stcp
+# stcp 的访问者
+role = visitor
+# 要访问的 stcp 代理的名字
+server_name = gmsx3.stcp1
+sk = 123456
+# 绑定本地端口用于访问 ssh 服务
+bind_addr = 127.0.0.1
+bind_port = 3316

+ 3 - 3
linux安装方法/stack.txt

@@ -45,7 +45,8 @@ services:
     image: registry.cn-hangzhou.aliyuncs.com/kptyun/frpc37_amd64:latest
     environment:
       - FRP_LOCAL_IP_STCP1=127.0.0.1
-      - FRP_LOCAL_PORT_STCP1=9999
+      - FRP_LOCAL_PORT_STCP1=3326
+      - FRP_STCP_SK1=123456
       - FRP_LOCAL_IP_STCP=127.0.0.1
       - FRP_LOCAL_PORT_STCP=22
       - FRP_STCP_SK=123456
@@ -53,7 +54,6 @@ services:
       - FRP_LOCAL_PORT_TCP=8888
       - FRP_LOCAL_IP_XTCP1=127.0.0.1
       - FRP_LOCAL_PORT_XTCP1=9999
-      - FRP_STCP_SK1=123456
       - FRP_LOCAL_IP_XTCP=127.0.0.1
       - FRP_LOCAL_PORT_XTCP=9999
       - FRP_LOCAL_IP_HTTP=127.0.0.1
@@ -61,7 +61,7 @@ services:
       - FRP_PRIVILEGE_TOKEN=TMRWatch
       - FRP_SERVER_ADDR=kptyun.com
       - FRP_SERVER_PORT=7000
-      - FRP_START=stcp,web
+      - FRP_START=stcp,stcp1,web
       - FRP_USER=gmsx3
     network_mode: "host"
     deploy:

+ 2 - 1
linux安装方法/安装过程.txt

@@ -26,10 +26,11 @@ docker login --username=kptzhu@163.com registry.cn-hangzhou.aliyuncs.com
    name 录入二级域名:如gmsx3
    分配group
   点击 add Environment
+  选择standard
   点击 copy command
 
   粘贴到winscp的终端里,回车
 
-8、http://mq.kptyun.cn:7090/  中进入刚才的命名如gmsx3,stacks中,粘贴stack的内容,Authorized teams 选服务部,修改- "/dev/ttyUSB0:/dev/ttyS0"   和FRP_USER=gmsx3,FRP_START=stcp,web也可以修改  点击完成
+8、http://mq.kptyun.cn:7090/  中进入刚才的命名如gmsx3,stacks中,粘贴stack的内容,Authorized teams 选服务部,修改FRP_USER=gmsx3, 点击完成