当前位置:网站首页>LANproxy mapping local development environment
LANproxy mapping local development environment
2022-07-27 23:14:00 【OY..】
Encountered joint commissioning equipment before , It is hoped that the data reported by the current network equipment will be pushed to the local development environment, and the scenarios of testing the push interface are all used uTools The internal and external networks penetrate . But now uTools The plug-in for intranet and Internet penetration has been closed , Always looking for a better replacement . Used to frp、Ngrok, Or charge , Or the configuration is cumbersome . Let's talk today Lanproxy, Yes web Configuration interface , Very easy to understand , The client is also very rich , It's also easy to use , The key is to use , I feel very stable .
build Frp Blog :https://oy6090.top/posts/2dd14627/
One 、 Environment building
Server side 、 Client download address :Lanproxy download
I am a java Developed , So this machine has java Environmental , The downloaded client can download this directly proxy-java-client, Because it uses windows, So also download one windows The client of .

Two 、 The server is ready
- You need an Internet server ( I have a Alibaba cloud ), The configuration is not required to be high
- There is a fixed Internet IP Or domain name ( The domain name needs authentication , What I'm testing here is ip)
3、 ... and 、 Server installation
First step : Will download proxy-server This package copy To the server
The second step : decompression ,zip Package decompression command unzip Package name
unzip proxy-server-0.1.zip

The third step : Modify the configuration file
cd proxy-server-0.1/conf
vi config.properties

Step four : start-up

nohup sh startup.sh

Four 、 Server configuration
4.1 Add client

- Client name : Define yourself , for example :oyt
- Client dense chain : Click next to generate random key
4.2 Configuration Management

- Agent name : You can set whatever you like
- Public network port : It is the port requested by the Internet
- Back end IP port : Inside and outside the local project ip Follow the port
5、 ... and 、 The client starts
5.1 Use exe Start in executable mode
In fact, it is also a command to start , command :
client_windows_amd64.exe -s The server IP -p LanProxy Service port -k Client generated key -ssl false
- The server IP, If you use a domain name , It should be equipped with domain name resolution
- LanProxy Service port and -ssl Be sure to match , For example, use 4900 -> -ssl false
Be careful : If this command is batch processed bat, Attention to processing commands client_windows_amd64.exe And bat Relative position of 
client_windows_amd64.exe -s 120.76.131.* -p 4900 -k 87b~~~( Fill in your own ) -ssl false
Be careful :-p 4900 This place depends on the configuration in your server configuration file


appear connSuccess It's a successful connection , Remember to open ports and security group policies for ECS
5.2 java The client starts
Configuration file directory and modification


Be careful :
- jksPath, Replace if necessary , Note that copy one from the server to the local client
- ssl.enable The value corresponds to the port
- Download the java The client is not configured client.key Of , Pay attention to add

6、 ... and 、 verification
Access address : 120.76.130.*:7070

Here, if the client is not online , Returns the CLIENT OFFLINE, It means to LanProxy Have succeeded ,LanProxy There is no connection to the client , The return is also very vivid .
7、 ... and 、 General principles

In fact, it is a port mapping and long connection ( The bottom floor didn't look carefully ), The configured mapping port cannot be duplicated , Obviously, the client configuration is limited .
7、 ... and 、 summary
- The server deployment is simple 、 Clear configuration , Support ssl
- The configuration client has an interface
- The client configuration is simple and clear 、 The client supports multi platform mode
It can be said that it is very good , It is convenient for our development friends to do local joint commissioning , I like it very much . I hope it will be convenient for you to do local joint commissioning .
This blog reprints :https://blog.csdn.net/zwrlj527/article/details/119349634
Optimized and adjusted
边栏推荐
- Pyqt5 rapid development and practice 4.9 dialog controls
- What is the b+tree index of MySQL? How does the cluster index grow?
- 2022/6/5 exam summary
- 2022/3/22考试总结
- 10 years of technical career, those technical books that make me excited
- China Internet Security Report 2021: API threat soared by more than 200%, and the security risk of software supply chain increased
- NOI 2018 简要题解
- Exam summary on May 31, 2022
- 2022/6/9 考试总结
- Purple light FPGA solves the mask problem! Boost the overall speed-up of mask production
猜你喜欢

深度剖析 —— 文件操作
![[C language] simulate and implement string functions (Part 1)](/img/13/afb015de3448e20a0b7b09c1aca4ad.png)
[C language] simulate and implement string functions (Part 1)

Excel VBA finds out the maximum and minimum values of a column of time, and repeatedly pastes multiple values according to the actual situation

Real time Bi (III) technical implementation of offline data and real-time data processing

Main security risks and Countermeasures of cloud computing services

Lianmai live broadcast system software - voice chat system

细胞CLE19多肽荧光成像牛血清白蛋白荧光猝灭量子点的制备

Parameter transmission of components

物联网架构完全指南

Data warehouse project is never a technical project
随机推荐
2022/5/17考试总结
只会Excel想做图表可视化,让数据动起来?可以,快来围观啦(附大量模板下载)
US officials suggested trump prevent Infineon from acquiring cypress
Lanproxy映射本地开发环境
Exam summary on May 31, 2022
Lianmai live broadcast system software - voice chat system
Cy3荧光标记抗体/蛋白试剂盒 (10~100mg标记量)
cron 表达式
物联网架构完全指南
2022/6/9 考试总结
微信安装包11年膨胀575倍,UP主:“98%的文件是垃圾”;苹果应用商店被曝大量色情App;四大科技巨头呼吁废除闰秒|极客头条
2022/6/9 exam summary
2022年五大网络管理趋势
Jeninkins offline deployment
Chrome realizes automated testing: recording and playback web page actions
Complete Guide to IOT architecture
Interviewer: I can't carry a backpack at all. Are you going by yourself or I'll give you a lift?
浅谈数仓的数据治理
20字符短域名绕过复现
8000字讲透OBSA原理与应用实践