Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wireguard over frp,performance is lower than wireguard over rathole. #4174

Open
2 of 11 tasks
linnuxx opened this issue Apr 20, 2024 · 3 comments
Open
2 of 11 tasks

wireguard over frp,performance is lower than wireguard over rathole. #4174

linnuxx opened this issue Apr 20, 2024 · 3 comments

Comments

@linnuxx
Copy link

linnuxx commented Apr 20, 2024

Bug Description

What could be the matter?
wgserver mtu 1300.
wgclient mtu 1300.
frps/frpc are installed on debian12.
go version go1.22.2 linux/amd64.

frpc Version

0.57.0

frps Version

0.57.0

System Architecture

linux/amd64

Configurations

frps.toml

bindPort = 7000

frpc.toml

serverAddr = "ipvps"
serverPort = 7000

[[proxies]]
name = "wg"
type = "udp"
localIP = "192.168.1.237"
localPort = 51820
remotePort = 51821
transport.useCompression = true

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
@fatedier
Copy link
Owner

Thank you for your testing. It would be more helpful if you could provide complete data and various tests of controlled variables. Otherwise, we won't be able to do anything.

@fatedier
Copy link
Owner

I am not familiar with wireguard and rathole, so I cannot provide any additional advice.

@linnuxx
Copy link
Author

linnuxx commented Apr 29, 2024

Thank you for your testing. It would be more helpful if you could provide complete data and various tests of controlled variables. Otherwise, we won't be able to do anything.
ScreenShot_20240429173814

ratholeserver:

server.toml

[server]
bind_addr = "0.0.0.0:8388" # 2333 specifies the port that rathole listens for clients

[server.services.my_nas_ssh]
type = "udp"
token = "key" # Token that is used to authenticate the client for the service. Change to an arbitrary value.
bind_addr = "0.0.0.0:51821" # 5202 specifies the port that exposes my_nas_ssh to the Internet
nodelay = true

ratholeclient:

client.toml

[client]
remote_addr = ipvps:8388" # The address of the server. The port must be the same with the port in server.bind_addr

[client.services.my_nas_ssh]
token = "key" # Must be the same with the server to pass the validation
local_addr = "192.168.1.237:51820" # The address of the service that needs to be forwarded
nodelay = true
type = "udp"

wireguard over rathole - so performance does not drop much.
wireguard over frp - There is less performance through frp, although the vps performance is sufficient to withstand 80-100mbps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants