当前位置:网站首页>Use ECs to set up an agent
Use ECs to set up an agent
2022-07-06 22:33:00 【User 6256742】
do not know why Github、MDN And other websites are gradually added GFW The list of , Buy outside V** The service has gradually become unstable . Therefore, for those who often use overseas services for study and work , It is very necessary to use ECs to build an agent . This article uses x-ui Set the proxy on the ECS .
Port open
First , We need to open all ports in the security group provided by the cloud service provider
Take Alibaba cloud as an example , Tencent and other cloud servers are similar
Be careful : If you use the pagoda Linux The panel needs to open the port in the security .
Program installation
Use Xshell Tools , pagoda Linux Just use the terminal in
Run the following commands in sequence :
CentOS:
yum update -y
yum install -y curl
yum install -y socatUbuntu:
apt update -y
apt install -y curl
apt install -y socat Run... When finished :
bash <(curl -Ls https://raw.githubusercontent.com/sprov065/x-ui/master/install.sh)The installer will start automatically after ( It will take some time ), And because the download source is GitHub Therefore, the download may fail . It is recommended not to download at night , And I tried many times after the download failed .
After successful installation, you will be asked to set the corresponding IP Port number , And the account and password used for login of the management system .
If the port number you set is 4567, Yours IP yes 11.11.11. Then use after the program is set 11.11.11:4567 Sign in .
According to the information set above, we can enter the user name and password we set on this page to log in .
The system configuration
After logging into the system successfully, you can see such a panel , Show the basic information of the server .
Create a proxy in the inbound list on the left :
The default is to use IP Visit , We can set TLS Certificate to map the domain name, just enter the key pair of the domain name and certificate :
After setting, we can click the QR code in the operation , Scan or directly copy the connection in the device we usually use .
It is recommended to use :Clash To connect to the agent ,Clash This software defaults to the English version , If you need Chinese, you can find a tutorial by yourself .
!!! Statement : This tutorial is used to set up agents on ECs , As for the purpose of setting the proxy and what kind of server to set the proxy on , Please abide by the laws of Chinese Mainland .
边栏推荐
- 第4章:再谈类的加载器
- 2014阿里巴巴web前实习生项目分析(1)
- Should novice programmers memorize code?
- That's why you can't understand recursion
- poj 1094 Sorting It All Out (拓扑排序)
- return 关键字
- Leetcode exercise - Sword finger offer 26 Substructure of tree
- Data storage (1)
- 网络基础入门理解
- [leetcode] 19. Delete the penultimate node of the linked list
猜你喜欢
随机推荐
【踩坑合辑】Attempting to deserialize object on CUDA device+buff/cache占用过高+pad_sequence
Inno Setup 打包及签名指南
How to confirm the storage mode of the current system by program?
Heavyweight news | softing fg-200 has obtained China 3C explosion-proof certification to provide safety assurance for customers' on-site testing
Attack and defense world ditf Misc
rust知识思维导图xmind
2022-07-05 使用tpcc对stonedb进行子查询测试
Web APIs DOM 时间对象
NPDP certification | how do product managers communicate across functions / teams?
i. Mx6ull build boa server details and some of the problems encountered
UE4蓝图学习篇(四)--流程控制ForLoop和WhileLoop
Dealing with the crash of QT quick project in offscreen mode
Hardware development notes (10): basic process of hardware development, making a USB to RS232 module (9): create ch340g/max232 package library sop-16 and associate principle primitive devices
NPDP认证|产品经理如何跨职能/跨团队沟通?
视图(view)
做接口测试都测什么?有哪些通用测试点?
Build op-tee development environment based on qemuv8
How do I write Flask's excellent debug log message to a file in production?
UVa 11732 – strcmp() Anyone?
The difference between enumeration and define macro








![[线性代数] 1.3 n阶行列式](/img/6e/54f3a994fc4c2c10c1036bee6715e8.gif)