[GH-ISSUE #1422] Slower than ssh reversed tunnel #1117

Closed
opened 2026-05-05 12:43:12 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @ryeonho on GitHub (Sep 2, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1422

se the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
0.29.0

What operating system and processor architecture are you using (go env)?

GOTOOLDIR="/usr/lib/go-1.10/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build406901856=/tmp/go-build -gno-record-gcc-switches"

Configures you used:

// frpc.ini
server_addr = my public server ip
server_port = 7000

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 2224

[plex]
type = tcp
local_ip = 127.0.0.1
local_port = 32400
remote_port = 30300

[range:mosh]
type = udp
local_ip = 127.0.0.1
local_port = 60000-60010
remote_port = 60000-60010

Steps to reproduce the issue:

  1. run rsync ubuntu.iso -v --progress user@frps-server-ip: from my office

frps-server-ip is a ssh host alias of my public server + port 2224 via .ssh/config

Describe the results you received:
The max bandwidth reached was about only 5MiB/s which was 20MiB/s when through sshd gateway reversed tunnel.

Describe the results you expected:
similar or faster than sshd reversed tunnel which has ssh encryption decryption overhead.

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)

Originally created by @ryeonho on GitHub (Sep 2, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1422 se the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** `0.29.0` **What operating system and processor architecture are you using (`go env`)?** ``` GOTOOLDIR="/usr/lib/go-1.10/pkg/tool/linux_amd64" GCCGO="gccgo" CC="gcc" CXX="g++" CGO_ENABLED="1" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build406901856=/tmp/go-build -gno-record-gcc-switches" ``` **Configures you used:** ``` // frpc.ini server_addr = my public server ip server_port = 7000 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 2224 [plex] type = tcp local_ip = 127.0.0.1 local_port = 32400 remote_port = 30300 [range:mosh] type = udp local_ip = 127.0.0.1 local_port = 60000-60010 remote_port = 60000-60010 ``` **Steps to reproduce the issue:** 1. run `rsync ubuntu.iso -v --progress user@frps-server-ip:` from my office frps-server-ip is a ssh host alias of my public server + port 2224 via .ssh/config **Describe the results you received:** The max bandwidth reached was about only 5MiB/s which was 20MiB/s when through sshd gateway reversed tunnel. **Describe the results you expected:** similar or faster than sshd reversed tunnel which has ssh encryption decryption overhead. **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)**
gitea-mirror 2026-05-05 12:43:12 -06:00
  • closed this issue
  • added the
    question
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1117
No description provided.