v2ray-core
v2ray-core copied to clipboard
How to use the ping proxy?
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
}
}
need more document
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)