[GH-ISSUE #2678] 容器中 bridge模式,UDP转发无效 #2134

Closed
opened 2026-05-05 13:22:29 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @lynzhai on GitHub (Nov 26, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2678

Bug Description

frps 部署在docker中时,网络使用host模式,udp转发才能生效,使用bridge模式,udp转发无效,TCP正常

frpc Version

0.38.1

frps Version

0.38.1

System Architecture

linux docker

Configurations

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
Originally created by @lynzhai on GitHub (Nov 26, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2678 ### Bug Description frps 部署在docker中时,网络使用host模式,udp转发才能生效,使用bridge模式,udp转发无效,TCP正常 ### frpc Version 0.38.1 ### frps Version 0.38.1 ### System Architecture linux docker ### Configurations 无 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:22:29 -06:00
Author
Owner

@kfcceo commented on GitHub (Dec 8, 2021):

本来就得用host模式吧

<!-- gh-comment-id:988605274 --> @kfcceo commented on GitHub (Dec 8, 2021): 本来就得用host模式吧
Author
Owner

@lynzhai commented on GitHub (Dec 15, 2021):

本来就得用host模式吧

必须得用host模式工作吗,不能再bridge网络中吗

<!-- gh-comment-id:994400358 --> @lynzhai commented on GitHub (Dec 15, 2021): > 本来就得用host模式吧 必须得用host模式工作吗,不能再bridge网络中吗
Author
Owner

@github-actions[bot] commented on GitHub (Jan 15, 2022):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1013560584 --> @github-actions[bot] commented on GitHub (Jan 15, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2134
No description provided.