v2ray-core icon indicating copy to clipboard operation
v2ray-core copied to clipboard

How to use the ping proxy?

Open Alion548 opened this issue 3 years ago • 2 comments

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
  }
}

Alion548 avatar Feb 12 '22 11:02 Alion548

need more document

plusls avatar Mar 03 '22 11:03 plusls

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)

nekohasekai avatar Mar 03 '22 11:03 nekohasekai