Last update at :2024-03-16,Edit by888u
For foreign servers, most of the networks are not very good, but many friends like to buy overseas servers. Is there any way to manage these machines smoothly? We can use a cloud host with a better network to transfer SSH and RDP connections.
Recently, I have seen many bloggers writing articles about port forwarding. Host Information (www.zhujizixun.com) will introduce to you two port forwarding panels for your own use, xdpanel and Aurora panel. The one used by the server is 24 yuan. One month of Tencent Cloud (Silicon Valley) lightweight server.
Amway links:
Let’s first take a look at Tencent Cloud Silicon Valley’s lightweight application server, how the network lines are, and why I chose this Meixi Cloud host from Goose Factory for forwarding.
Line quality: As we all know, China has three major international Internet exits: Beijing, Shanghai, and Guangzhou. The script tracks the routing lines from Silicon Valley to the three major international exits. For telecommunications, they all use China Telecom's next-generation bearer network CN2 GIA, which is also the current China Telecom Telecom's highest level commercial lines, China Unicom and China Mobile are all direct lines.
Bandwidth size: The most important thing for traffic transfer is not only the outbound bandwidth, but also the inbound bandwidth. It takes 0.4 seconds to wget a 100M file, which means that the network access bandwidth of Tencent Cloud Silicon Valley Light Application Server is at least 100M; in order to test the speed limit, I found another 10GB file, and the wget speed is 20MB/s, which is quite good. .
Download files from the lightweight cloud server to the local computer at full speed.
Free snapshots: I believe friends who use ECS or CVM know that cloud vendors have started charging for snapshots after the public beta. In order to allow us to toss the server as we please, Tencent Cloud Light Application Server comes with two free snapshot quotas by default, so we no longer have to worry about data loss.
How about it? It’s not bad. The blogger bought it for a year at a time. It’s easy to use and not expensive. It’s suitable for you who are picky.
Tutorial session (CentOS7):
Both multi-server port rental management panels can be deployed using containers, so we install the docker environment first:
yum install -y yum-utils device-mapper-persistent-data lvm2yum-config-manager –add-repo http://mirrors.aliyun.com/docker-ce /linux/centos/docker-ce.repoyum makecache fastyum -y install docker-cesystemctl start docker.servicecurl -L https://github.com/docker/compose/releases/download/1.25.4/docker-compose-uname - s-uname -m -o /usr/local/bin/docker-composechmod +x /usr/local/bin/docker-compose
xdpanel salted egg panel:
Since the developer no longer provides free and open source salted egg panels, the blogger has found the previously saved open source free version for customers to enjoy.
Deploy salted egg panel:
Download the xdpanel image: wget http://tutu.ovh/iso/dockerimage/xdpanel/forwordpanel-1.0.7.tar Import docker images: docker load < /root/forwordpanel-1.0.7.tar View image ID: docker images start the docker container: docker run --restart=always -d -p 10203:8080 ef796f049164
After starting, don’t forget to go to the firewall menu of the Tencent Cloud Light Application Server console to release port 10203.
After starting up, you can start enjoying it~ Visit address:
Management background: http://IP:10203Default account: admin XIAOLIzz123
Backend function usage:
1. Add a server and assign the server’s local port
First of all, you need to add a server. Just add the lightweight server IP address here and assign the server port for transfer.
We use port 9000 to speed up the windows server, so we add port 9000 to the lightweight server.
After adding the port, remember to go to Tencent Cloud Firewall to let it pass:
2. Add an account, assign a server port to the account, and set the account traffic quota and account expiration time
3. Add port forwarding
Fill in the IP address and connection port of the WINDOWS server to be accelerated:
After adding it, you can directly use the IP and 9000 port of the Tencent Cloud lightweight application server to connect to the server.
Aurora relay panel:
https://github.com/Aurora-Admin-Panel/deploy
Compared with Salted Egg Panel, Jiguang Panel supports more forwarding methods and functions. The supported port functions include iptables, socat, gost, ehco, v2ray, brook, iperf, wstunnel, shadowsocks, tinyPortMapper, and Prometheus Node Exporter.
We still install it on Tencent Cloud lightweight application server, and the deployment method is also docker. Just follow the previous section to install it.
Deploy Aurora Panel:
Docker-compose one-click deployment startup:
wget https://raw.githubusercontent.com/Aurora-Admin-Panel/deploy/main/docker-compose.yml -O docker-compose.ymldocker-compose up -d
Create an administrator user:
docker-compose exec backend python app/initial_data.py
Then Tencent Cloud Firewall releases port 8000:
After adding it, visit http://your IP:8000 to enter the Aurora transfer panel.
Aurora panel backend usage:
1. The logic is the same as that of the Salted Egg panel, first add the server and assign the server’s local port
We use port 9000 to speed up the windows server, so we add port 9000 to the lightweight server.
After adding the server, click View Port to add the port. Here you can make some advanced settings for the port, such as traffic limit or excessive traffic speed limit.
2. The server and the server's local port have been added. The next step is to create a new user and assign the local port 9000 to the user
Add the ordinary user just created:
3. Add port forwarding
After adding it, you can directly use the IP and 9000 port of the Tencent Cloud lightweight application server to connect to the server.
Summary:
In general, both open source transit panels are excellent, support multi-server, multi-user rental, and are very convenient to use. I hope this tutorial can help everyone, thank you.
Recommended site search: Wanwang registered domain name, free domain name registration platform, virtual host space, registration-free space, hosting service, free cloud host, cloud server, Henan domain name registration, free US host, Hong Kong server,
发表评论