[GH-ISSUE #3569] UDP trafic #2848

Closed
opened 2026-05-05 13:50:44 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @bannyhm on GitHub (Aug 11, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3569

Bug Description

Hello. Help with UDP settings/

My scheme is simple. Proxy server A (my computer) -> Client B (my Android phone) I need to use my phone's ip address when I access the internet via proxy <ip_server>:port from another computer - C.

I made the settings in frps.ini and frpc.ini and used "Socks5 server" on my android client.
But when visiting sites where the UDP connection is being checked, I do not pass this check, UDP packets do not go to the android client.
Tell me what settings frps.ini and frpc.in do I need to be able to use the ip of my android client when visiting sites from another computer - C and my traffic was similar to the usual traffic of a mobile phone with UDP support?

frpc Version

0.51.2

frps Version

0.51.2

System Architecture

windows/amd64

Configurations

frps.ini:
bind_addr = 0.0.0.0
bind_port = 7000
quic_bind_port = 7000
dashboard_addr = 0.0.0.0
dashboard_port = 7500
dashboard_user = *
dashboard_pwd = *
enable_prometheus = true
detailed_errors_to_client = true
authentication_method = token
authenticate_heartbeats = false
authenticate_new_work_conns = false
token = 12345678
oidc_issuer =
oidc_audience =
oidc_skip_expiry_check = false
oidc_skip_issuer_check = false
allow_ports = 2000-7000,7001,7003,8000-60000
max_pool_count = 5
max_ports_per_client = 0
tls_only = false
subdomain_host = frps.com
tcp_mux = true
udp_packet_size = 1500

frpc.ini:
[common]
server_addr = ...
server_port = 7000
plugin_user = *
plugin_passwd = *
authentication_method = token
token = 12345678
udp_forward = true

[web_tcp]
type = tcp
local_ip = 127.0.0.1
local_port = 6100
remote_port = 6100
use_encryption = true
use_compression = true

[web_udp]
type = udp
local_ip = 127.0.0.1
local_port = 6100
remote_port = 6100
use_encryption = false
use_compression = false

Logs

No response

Steps to reproduce

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @bannyhm on GitHub (Aug 11, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3569 ### Bug Description Hello. Help with UDP settings/ My scheme is simple. Proxy server A (my computer) -> Client B (my Android phone) I need to use my phone's ip address when I access the internet via proxy <ip_server>:port from another computer - C. I made the settings in frps.ini and frpc.ini and used "Socks5 server" on my android client. But when visiting sites where the UDP connection is being checked, I do not pass this check, UDP packets do not go to the android client. Tell me what settings frps.ini and frpc.in do I need to be able to use the ip of my android client when visiting sites from another computer - C and my traffic was similar to the usual traffic of a mobile phone with UDP support? ### frpc Version 0.51.2 ### frps Version 0.51.2 ### System Architecture windows/amd64 ### Configurations frps.ini: bind_addr = 0.0.0.0 bind_port = 7000 quic_bind_port = 7000 dashboard_addr = 0.0.0.0 dashboard_port = 7500 dashboard_user = * dashboard_pwd = * enable_prometheus = true detailed_errors_to_client = true authentication_method = token authenticate_heartbeats = false authenticate_new_work_conns = false token = 12345678 oidc_issuer = oidc_audience = oidc_skip_expiry_check = false oidc_skip_issuer_check = false allow_ports = 2000-7000,7001,7003,8000-60000 max_pool_count = 5 max_ports_per_client = 0 tls_only = false subdomain_host = frps.com tcp_mux = true udp_packet_size = 1500 frpc.ini: [common] server_addr = *.*.*.* server_port = 7000 plugin_user = * plugin_passwd = * authentication_method = token token = 12345678 udp_forward = true [web_tcp] type = tcp local_ip = 127.0.0.1 local_port = 6100 remote_port = 6100 use_encryption = true use_compression = true [web_udp] type = udp local_ip = 127.0.0.1 local_port = 6100 remote_port = 6100 use_encryption = false use_compression = false ### Logs _No response_ ### Steps to reproduce _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
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#2848
No description provided.