openwrt-passwall2 icon indicating copy to clipboard operation
openwrt-passwall2 copied to clipboard

[Feature Request]: Support Hysteria2 sing-tun mode

Open cbjn opened this issue 11 months ago • 0 comments

描述你想要的新功能

hysteria2 v2.4.0 Added TUN mode to client (supports Windows, Linux & macOS)

描述你想要的解决方案

tun: name: "hytun" mtu: 1500 timeout: 5m address: ipv4: 100.100.100.101/30 ipv6: 2001::ffff:ffff:ffff:fff1/126 route: ipv4: [0.0.0.0/0] ipv6: ["2000::/3"] ipv4Exclude: [192.0.2.1/32] ipv6Exclude: ["2001:db8::1/128"]

描述你考虑过的替代方案

No response

其他信息

Hysteria 2's TUN is based on sing-tun's "system" stack, requiring a /30 IPv4 address and a /126 IPv6 address to be configured on the interface. Hysteria will automatically set up the network interface, addresses, and routes.

cbjn avatar Mar 24 '24 13:03 cbjn