跳过正文

Frp内网穿透

·142 字·
Frp Mincraft
目录

以下配置针对我的世界优化
#

服务器网络优化
#

编辑文件
#

vi /etc/sysctl.conf

net.core.rmem_max = 7500000
net.core.wmem_max = 7500000
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr

应用配置
#

sysctl -p

服务器frps配置文件
#

编辑文件
#

vi frps.toml

bindPort = 11112
quicBindPort = 11112

[auth]
method = "token"
token = "lmm521314"

[log]
to = "/var/log/frps.log"
level = "info"
maxDays = 3

后台运行
#

nohup frps -c frps.toml > ./log/frps.log 2>&1 &

客户端frpc配置文件
#

编辑文件
#

vi frps.toml

serverAddr = "ip"
serverPort = 11112

[auth]
method = "token"
token = "lmm521314"

[transport]
protocol = "quic"

[[proxies]]
name = "skymc-tcp"
type = "tcp"
localIP = "127.0.0.1"
localPort = 25555
remotePort = 11113

    [proxies.transport]
    useEncryption = true
    useCompression = false

[[proxies]]
name = "skymc-udp"
type = "udp"
localIP = "127.0.0.1"
localPort = 25555
remotePort = 11113

    [proxies.transport]
    useEncryption = true
    useCompression = false

后台运行
#

nohup frpc -c frpc.toml > ./log/frpc.log 2>&1 &

Reply by Email

相关文章

Gost转发
··63 字
科学上网 Gost
使用gost转发流量
最新版本singbox配置文件
··676 字
科学上网 Sing-Box
最新版本singbox配置文件

评论