[GH-ISSUE #2634] IPV6是否支持 #2098

Closed
opened 2026-05-05 13:20:57 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @liiloo100 on GitHub (Oct 23, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2634

Describe the feature request

现在有的电信公司已经不对个人用户开放IPv4公网IP,而是提供IPV6地址,这就有一个问题,FRP是否支持IPv6的地址或者说会不会提供相应的支持。

Describe alternatives you've considered

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 @liiloo100 on GitHub (Oct 23, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2634 ### Describe the feature request 现在有的电信公司已经不对个人用户开放IPv4公网IP,而是提供IPV6地址,这就有一个问题,FRP是否支持IPv6的地址或者说会不会提供相应的支持。 ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [X] Others
gitea-mirror 2026-05-05 13:20:57 -06:00
Author
Owner

@WYC-2020 commented on GitHub (Oct 23, 2021):

都ipv6还用这个干嘛

<!-- gh-comment-id:950026776 --> @WYC-2020 commented on GitHub (Oct 23, 2021): 都ipv6还用这个干嘛
Author
Owner

@liiloo100 commented on GitHub (Oct 23, 2021):

我要控制单位的电脑,还是要翻进去啊,没有FRP怎么进,单位不是每台电脑都是IPV6,只是我家的电脑是IPv6,这个还是要考虑的

<!-- gh-comment-id:950027178 --> @liiloo100 commented on GitHub (Oct 23, 2021): 我要控制单位的电脑,还是要翻进去啊,没有FRP怎么进,单位不是每台电脑都是IPV6,只是我家的电脑是IPv6,这个还是要考虑的
Author
Owner

@blizard863 commented on GitHub (Oct 25, 2021):

试一下不就知道了吗?

<!-- gh-comment-id:950447942 --> @blizard863 commented on GitHub (Oct 25, 2021): 试一下不就知道了吗?
Author
Owner

@aa51513 commented on GitHub (Oct 25, 2021):

支持的,监听0.0.0.0,用ipv6照样连的上

<!-- gh-comment-id:950490940 --> @aa51513 commented on GitHub (Oct 25, 2021): 支持的,监听0.0.0.0,用ipv6照样连的上
Author
Owner

@liiloo100 commented on GitHub (Oct 25, 2021):

真的是好消息,虽然我现在还没有IPV6,但这是趋势,考虑在前总没有问题,是在客户端监听0.0.0.0,还是服务端和客户端都监听0.0.0.0

<!-- gh-comment-id:950740022 --> @liiloo100 commented on GitHub (Oct 25, 2021): 真的是好消息,虽然我现在还没有IPV6,但这是趋势,考虑在前总没有问题,是在客户端监听0.0.0.0,还是服务端和客户端都监听0.0.0.0
Author
Owner

@aa51513 commented on GitHub (Oct 26, 2021):

真的是好消息,虽然我现在还没有IPV6,但这是趋势,考虑在前总没有问题,是在客户端监听0.0.0.0,还是服务端和客户端都监听0.0.0.0

服务端就可以了,只要流量能到达frps,通道是ipv4还是ipv6都没关系的。
我已经测过【ipv4+ipv6】以及【ipv6+ipv6】都是没问题的

ipv4+ipv4大家都在用,自然不必多说了

<!-- gh-comment-id:951725076 --> @aa51513 commented on GitHub (Oct 26, 2021): > 真的是好消息,虽然我现在还没有IPV6,但这是趋势,考虑在前总没有问题,是在客户端监听0.0.0.0,还是服务端和客户端都监听0.0.0.0 服务端就可以了,只要流量能到达frps,通道是ipv4还是ipv6都没关系的。 我已经测过【ipv4+ipv6】以及【ipv6+ipv6】都是没问题的 ipv4+ipv4大家都在用,自然不必多说了
Author
Owner

@liiloo100 commented on GitHub (Oct 27, 2021):

能不能分享一下配置

<!-- gh-comment-id:952724173 --> @liiloo100 commented on GitHub (Oct 27, 2021): 能不能分享一下配置
Author
Owner

@niceRAM commented on GitHub (Oct 28, 2021):

https://github.com/fatedier/frp/issues/733#issuecomment-385947763

<!-- gh-comment-id:953640674 --> @niceRAM commented on GitHub (Oct 28, 2021): https://github.com/fatedier/frp/issues/733#issuecomment-385947763
Author
Owner

@github-actions[bot] commented on GitHub (Nov 28, 2021):

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

<!-- gh-comment-id:980813081 --> @github-actions[bot] commented on GitHub (Nov 28, 2021): 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#2098
No description provided.