You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ curl -x socks5://127.0.0.1:7890 1.1.1.1
curl: (52) Empty reply from server
$ curl -x socks5://127.0.0.1:7891 1.1.1.1
<html><head><title>301 Moved Permanently</title></head><body><center><h1>301 Moved Permanently</h1></center><hr><center>cloudflare</center></body></html>
日志
INFO[0000] router: updated default interface ens5, index 2
INFO[0000] inbound/hysteria2[hy2-in]: udp server started at [::]:40443
INFO[0000] inbound/socks[socks-in_1]: tcp server started at [::]:7890
INFO[0000] inbound/socks[socks-in_2]: tcp server started at [::]:7891
INFO[0000] sing-box started (0.00s)
INFO[0002] [3142747626 0ms] inbound/socks[socks-in_1]: inbound connection from 127.0.0.1:9068
INFO[0002] [3142747626 0ms] inbound/socks[socks-in_1]: inbound connection to 1.1.1.1:80
DEBUG[0002] [3142747626 0ms] router: match[0] inbound=socks-in_1 => hy2-out
INFO[0002] [3142747626 0ms] outbound/hysteria2[hy2-out]: outbound connection to 1.1.1.1:80
INFO[0002] [4232332154 0ms] inbound/hysteria2[hy2-in]: inbound connection from [::ffff:127.0.0.1]:36663
INFO[0002] [4232332154 0ms] inbound/hysteria2[hy2-in]: [tobyxdd] inbound connection to 1.1.1.1:80
DEBUG[0002] [4232332154 0ms] router: match[1] !(source_ip_cidr=127.0.0.1/8) => block
INFO[0002] [4232332154 0ms] outbound/block[block]: blocked connection to 1.1.1.1:80
INFO[0004] [2473973361 0ms] inbound/socks[socks-in_2]: inbound connection from 127.0.0.1:39596
INFO[0004] [2473973361 0ms] inbound/socks[socks-in_2]: inbound connection to 1.1.1.1:80
INFO[0004] [2473973361 0ms] outbound/direct[0]: outbound connection to 1.1.1.1:80
操作系统
Linux
系统版本
Arch Linux rolling
安装类型
sing-box 原始命令行程序
如果您使用图形客户端程序,请提供该程序版本。
No response
版本
描述
当 Hysteria2 入站监听
::
,源 IPv4 地址会变成映射地址,此时source_ip_cidr
的匹配会出现非预期结果。重现方式
使用如下配置:
执行如下命令:
日志
支持我们
完整性要求
The text was updated successfully, but these errors were encountered: