使用frp公网串流Sunshine

此处不讲述frp以及Sunshine的安装与使用,仅记录frpc的配置文件设置

frpc.ini设置

[common]
# server_addr为FRPS服务器IP地址
server_addr = FRPServerIP地址
# server_port为服务端监听端口,bind_port
server_port = 7000
# 身份验证
token = FRPS设置的密码

[moonlight-tcp-1]
type = tcp
local_ip = (对应的串流设备ip,如果是本机就填127.0.0.1)
local_port = 47984
remote_port = 47984

[moonlight-tcp-2]
type = tcp
local_ip = (对应的串流设备ip,如果是本机就填127.0.0.1)
local_port = 47989
remote_port = 47989

[moonlight-tcp-3]
type = tcp
local_ip = (对应的串流设备ip,如果是本机就填127.0.0.1)
local_port = 48010
remote_port = 48010

[moonlight-udp-1]
type = udp
local_ip = (对应的串流设备ip,如果是本机就填127.0.0.1)
local_port = 5353
remote_port = 5353

[moonlight-udp-2]
type = udp
local_ip = (对应的串流设备ip,如果是本机就填127.0.0.1)
local_port = 47998
remote_port = 47998

[moonlight-udp-3]
type = udp
local_ip = (对应的串流设备ip,如果是本机就填127.0.0.1)
local_port = 47999
remote_port = 47999

[moonlight-udp-4]
type = udp
local_ip = (对应的串流设备ip,如果是本机就填127.0.0.1)
local_port = 48000
remote_port = 48000

[moonlight-udp-5]
type = udp
local_ip = (对应的串流设备ip,如果是本机就填127.0.0.1)
local_port = 48002
remote_port = 48002

[moonlight-udp-6]
type = udp
local_ip = (对应的串流设备ip,如果是本机就填127.0.0.1)
local_port = 48010
remote_port = 48010

# [ssh] 为服务名称,下方此处设置为,访问frp服务段的2288端口时,等同于通过中转服务器访问127.0.0.1的22端口。
# type 为连接的类型,此处为tcp
# local_ip 为中转客户端实际访问的IP 
# local_port 为目标端口
# remote_port 为远程端口

设置完成后将frps的对应端口打开即可使用frps的ip进行串流

最后修改:2024 年 05 月 28 日
如果觉得我的文章对你有用,请随意赞赏