之前在良心云买了一台服务器,配置过低了,然后我自己家里的台式配置高点,我想把服务器+frp 的方式访问到家里面,现在网络都打通了,但是 ssh 上去会非常的卡,请问这是服务器带宽的问题吗,有没有专门做中转的服务器的
本地机器 ping 中转的延时如下 64 bytes from xxxx: icmp_seq=0 ttl=64 time=0.737 ms 64 bytes from xxxx: icmp_seq=1 ttl=64 time=0.260 ms 64 bytes from xxxx: icmp_seq=2 ttl=64 time=0.359 ms 64 bytes from xxxx: icmp_seq=3 ttl=64 time=0.633 ms 64 bytes from xxxx: icmp_seq=4 ttl=64 time=0.291 ms 64 bytes from xxxx: icmp_seq=5 ttl=64 time=0.398 ms 64 bytes from xxxx: icmp_seq=6 ttl=64 time=0.409 ms 64 bytes from xxxx: icmp_seq=7 ttl=64 time=0.271 ms 64 bytes from xxxx: icmp_seq=8 ttl=64 time=0.539 ms 64 bytes from xxxx: icmp_seq=9 ttl=64 time=1.017 ms 64 bytes from xxxx: icmp_seq=10 ttl=64 time=0.397 ms 64 bytes from xxxx: icmp_seq=11 ttl=64 time=0.231 ms 64 bytes from xxxx: icmp_seq=12 ttl=64 time=0.373 ms 64 bytes from xxxx: icmp_seq=13 ttl=64 time=0.310 ms 64 bytes from xxxx: icmp_seq=14 ttl=64 time=0.333 ms 64 bytes from xxxx: icmp_seq=15 ttl=64 time=0.420 ms 64 bytes from xxxx: icmp_seq=16 ttl=64 time=0.399 ms 64 bytes from xxxx: icmp_seq=17 ttl=64 time=0.352 ms 64 bytes from xxxx: icmp_seq=18 ttl=64 time=0.231 ms 64 bytes from xxxx: icmp_seq=19 ttl=64 time=0.378 ms 64 bytes from xxxx: icmp_seq=20 ttl=64 time=0.475 ms 64 bytes from xxxx: icmp_seq=21 ttl=64 time=0.384 ms 64 bytes from xxxx: icmp_seq=22 ttl=64 time=0.346 ms 64 bytes from xxxx: icmp_seq=23 ttl=64 time=0.268 ms 64 bytes from xxxx: icmp_seq=24 ttl=64 time=0.961 ms 64 bytes from xxxx: icmp_seq=25 ttl=64 time=0.575 m
1
kkl00231sop351 192 天前
腾讯云网络就是这么垃圾
建议换成阿里云 之前从阿里云换到腾讯云差点没把我整吐 同样的带宽配置 阿里云丝滑顺畅 腾讯云卡的让人想砸电脑 |
2
kosmgco 192 天前
ping 延迟 0 点几毫秒,我怀疑你在 ping 局域网
|
![]() |
3
hzjseasea OP @kosmgco 我刚刚去确认了一下,还真是云服务器的地址,家里的电脑 ping 云服务的延迟在 70ms 左右,但是我公司的电脑 ping 云服务器就在零点几毫秒... 那原因就在家里电脑到云服务器这段问题里了
|
![]() |
4
hzjseasea OP 补一下 frp 配置
client [common] server_addr = xxx server_port = 7000 tls_enable = true [ssh] type=tcp local_ip=127.0.0.1 local_port=22 remote_port=6000 use_encryption = true use_compression = true server [common] bind_addr = 0.0.0.0 bind_port = 7000 bind_udp_port = 7001 kcp_bind_port = 7000 # 开启控制面板 dashboard_port = 7500 dashboard_user = admin dashboard_pwd = admin |
![]() |
5
totoro625 192 天前
配置看起来没任何问题
已有 tls_enable = true ,use_encryption = true 就重复加密了 建议删除 use_encryption = true 试试 实在不行再删除 use_compression = true 试试 文档: https://gofrp.org/docs/features/common/network/network-tls/ |
![]() |
6
documentzhangx66 192 天前
公司的电脑 ping 云服务器就在零点几毫秒???????
机房光纤直接 ping 运营商网关都没那么离谱的。感觉哪里搞错了吧?? |
7
oylinv 192 天前
是不是开了翻墙?走了代理?
|
![]() |
8
flynaj 192 天前 via Android
FRP 这类软件是中转,速度肯定是慢,要快用穿透软件,zerotier.
|
![]() |
9
vyseyao9 192 天前
试试打洞呢
|
![]() |
10
marksaas 192 天前
别用 frp 了,用 cloudflare 的 tunnel 免费很好用,有 can 加入,欢迎关注 https://t.me/webexplorers 频道,有问题可以 https://t.me/webexploregroup 交流
|
![]() |
11
Silent7Wang 192 天前
ping 延迟这么低,是不是开了 tun 的 fakeip
|
![]() |
12
hzjseasea OP @documentzhangx66 好像是开了梯子的缘故,香港出去就这么快,今天我关了梯子是了一下 300ms....
|
![]() |
13
mikaelson 92 天前
@kkl00231sop351 真的吗?我最近也是从阿里云迁移到腾讯云,从 4M 提升到 20M ,结果 tinc 组网各种掉速,我至今找不到原因,换了 tailscale 也这样。。。不过我 frp 倒是正常
|