Remote network access in the realization frp

## server (CentOS64) 

# 1 . Download file
 wget HTTPS: // github.com/fatedier/frp/releases/download/v0.31.1/frp_0.31.1_linux_amd64.tar.gz 
tar -zxvf frp_0. 31 .1_linux_amd64. tar .gz 
cd frp_0. 31 .1_linux_amd64 

# 2 . edit Start. SH , running in the background (the default port 7000 to the simplest configuration) 
vim Start. SH 
nohup ./frps -c frps.ini> / dev / null 2> 1 & & 
. . / Start SH 


## clients (Windows64) 
# 1 . download file
 wget HTTPS: //github.com/fatedier/frp/releases/download/v0.31.1/frp_0.31.1_windows_amd64.zip 

# 2 . Configure fprc.ini 
[Common] The server_addr
 = ali.hepengju.com 
SERVER_PORT = 7000 

[ SSH ] 
type = TCP 
local_ip = 127.0 . 0.1 
local_port = 3389 
remote_port = 3389
 
# 3 . edit Start- mstsc.bat, and start to 
frpc.exe -c frpc.ini

Guess you like

Origin www.cnblogs.com/hepengju/p/12229831.html