希望WireGuard入站可以处理ICMP数据
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- go
- Domain
- networking
Research direction
Start by reviewing the existing WireGuard inbound path and how ICMP traffic is currently handled; the issue does not name files or tests. Compare the two traffic flows described in the report and use the comment thread to clarify the intended routing behavior. Done should mean that WireGuard inbound can process ICMP toward the destination without losing the stated routing capabilities.
Written by the indexing model from the issue text.
Description
首先感谢Xray项目为我提供的便利,感谢参与项目开源建设大佬们的付出
目前我正在考虑使用WireGuard组网,得益于Xray强大的入站/路由/出站能力,提供了众多丰富的玩法,因此我想使用Xray来提供WireGuard入站,再通过路由策略灵活自由的控制出站策略
目前实践的两种方式是:
方式1:客户端 -> wireguard入站 -> 路由策略 -> 出站
方式2:客户端 -> dokodemo-door入站 -> 路由策略 -> 出站 -> 本地wireguard
以上两种方式均可实现使用WireGuard组网,区别是:
方式1:当处理ICMP数据,Ping目标IP地址,实际上是Ping客户端 <-> Xray,而并非客户端 <-> 目标IP地址,并且即使目标IP地址不合理(不存在)也可以Ping通,因为实际是Ping的Xray端地址
方式2:可以正常处理ICMP数据,但是路由策略受限,因为大部分数据细节(目标IP地址、目标端口等)已经在客户端被加密了
方式1可以完整的使用路由策略,然而美中不足的是无法处理ICMP数据,某些时候想通过Ping来简单判断目标通断状态无法满足
希望有机会能够使得WireGuard入站,可以处理ICMP数据
- Dominant language
- Go
- Stars
- 43.3k
- Forks
- 6.2k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 55
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from XTLS/Xray-core
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openclaw/crabbox#3249 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
ec2-subnet, security-group and internet-gateway skip all resources when one is deleted during the scanPossibly taken @toabctl claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
gruntwork-io/cloud-nuke#1208 ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
snowflakedb/gosnowflake#1872 ·
-
MCP `shadow` says `out` is a folder, but for TS, Python, C, Go and Ruby it is the module's fileOpengood first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
erkamyaman/rust-anything#1328 ·
Maintainers usually reply within 1 day