diff --git a/conf/frpc_full.ini b/conf/frpc_full.ini index 11e4d357..7aacfebf 100644 --- a/conf/frpc_full.ini +++ b/conf/frpc_full.ini @@ -68,8 +68,10 @@ tls_enable = true meta_var1 = 123 meta_var2 = 234 -# specify udp packet size, unit is byte -udp_packet_size = 1024 +# specify udp packet size, unit is byte. If not set, the default value is 1500. +# This parameter should be same between client and server. +# It affects the udp and sudp proxy. +udp_packet_size = 1500 # 'ssh' is the unique proxy name # if user in [common] section is not empty, it will be changed to {user}.{proxy} such as 'your_name.ssh' diff --git a/conf/frps_full.ini b/conf/frps_full.ini index cf6a649d..c0ffb76f 100644 --- a/conf/frps_full.ini +++ b/conf/frps_full.ini @@ -113,8 +113,10 @@ tcp_mux = true # custom 404 page for HTTP requests # custom_404_page = /path/to/404.html -# specify udp packet size, unit is byte -udp_packet_size = 1024 +# specify udp packet size, unit is byte. If not set, the default value is 1500. +# This parameter should be same between client and server. +# It affects the udp and sudp proxy. +udp_packet_size = 1500 [plugin.user-manager] addr = 127.0.0.1:9000