Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use the ping proxy? #3

Open
Alion548 opened this issue Feb 12, 2022 · 2 comments
Open

How to use the ping proxy? #3

Alion548 opened this issue Feb 12, 2022 · 2 comments

Comments

@Alion548
Copy link

I found that the ping proxy is supported, is there any more detailed documentation or configuration examples?

{
  "ping": {
    "protocol": "<default/unprivileged>",
    "gateway4": "<0.0.0.0>",
    "gateway6": "<::>",
    "disableIPv6": true
  }
}
@plusls
Copy link

plusls commented Mar 3, 2022

need more document

@nekohasekai
Copy link
Member

Requires TUN or a special client to support this.

Usage: request a UDP connection to the target with port 7

Same format as UNIX unprivileged ICMP socket:
socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP/IPPROTO_ICMPv6)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants