Step 1. Buy a server on Alibaba Cloud (of course, you can also choose another server provider)
Choosing a low configuration can meet most of the requirements. Of course, higher bandwidth also means smoother remote access, especially when uploading / downloading files.
Step 2. Install git for the server
Note that you may need to update apt before installing, otherwise it may fail.
Step 3. Download frp from Github and run ./frps -c ./frps.ini
frps is a program that also needs to be downloaded on Github;
When running ./frps -c ./frps.ini, the following error may occur:
bash: ./frps: Permission denied
This can be solved by the following two commands:
chmod 777 ./frps -c ./frps.ini
./frps -c ./frps.ini
Among them, frps.ini can be:
[common]
#Bind all local network interfaces
bind_addr = 0.0.0.0
#Expose local port for client to connect with
bind_port = 7001
#Connection password to validate client
privilege_token = xxx
# Dashboard settings
dashboard_port = 7500
dashboard_user = root
dashboard_pwd = xxx
Step 4. Enter the console of Alibaba Cloud (or other server providers) and add inbound rules, otherwise the client may fail to connect
([service.go:97] login to server failed: dial tcp 47.114.55.62:7000: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
dial tcp 47.114.55.62:7000: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)
Step 5. Go to the client (the office / school computer you want to control), download frpc and configure frpc.ini:
[common]
server_addr = 47.xxx.xx.xx
server_port = 7001
token = xxx
[RDP]
type = tcp
local_ip = 0.0.0.0
local_port = 3389
remote_port = 3399
Step 6. Control Panel of Controlled End(taking windows10 for example)-> Remote Desktop-> Allow Remote Desktop

Step 7. Enter ip:3399 remote control, account name and password for each platform.
The control terminal can use Micosoft remote desktop, and there are apps on IOS, Android, and MAC. If the control terminal is windows, you can use the built-in remote desktop connection.
没有评论:
发表评论