1、Linux服务端设置
下载地址:https://github.com/fatedier/frp/releases
下载内容:frp_0.37.1_linux_amd64.tar.gz
设置frps.ini配置:
[common]
bind_port = 7000
token = abcd1234
启动服务器端程序:
./frps -c ./frps.ini
防火墙允许端口号:
sudo ufw allow xxxx
2、Windows客户端设置
下载地址:https://github.com/fatedier/frp/releases
下载内容:frp_0.37.1_windows_amd64.zip
设置frpc.ini配置:
[common]
server_addr = xxx.xxx.xxx.xxx
server_port = 7000
token = abcd1234
[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 5000
[RDP]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 6000
启动客户端程序:
frpc.exe -c frpc.ini
1万+

被折叠的 条评论
为什么被折叠?



