sendThrough的随机IP地址该如何配置系统? #4090
Unanswered
MoldyPeaches
asked this question in
Q&A
Replies: 1 comment 2 replies
-
sysctl net.ipv4.ip_nonlocal_bind |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
文档中说到:
这里的正确配置网络接入方式,路由表以及内核参数具体指的是什么接入方式和内核配置?
例如,某服务器已经被路由到了
114:514:1919:810::/64
,并且设定其IP地址为114:514:1919:810::1
,此时如果按默认的配置,直接在sendThrough
中填上"114:514:1919:810::/64"
,就可以了吗?如果该服务器没有原生IPv6地址,而是使用HE的IPv6隧道而获取到的IPv6地址,该如何配置呢?
以下是我的一台服务器,使用
netplan
,通过IPv6隧道接入。其中IP地址已被替换为虚构,假设服务器IPv4为1.1.1.1
,被分配到的IPv6为114:514:1919:810::2/64
,并被路由到的IPv6地址为114:514:1919:811::/64
和114:514:1919:812::/64
:netplan配置文件
Xray部分配置:
现希望达到的目标是,客户端使用
114:514:1919:811::/64
中的任意地址均可访问到该服务器,该服务器访问网络使用114:514:1919:812::/64
中的随机地址。但是,使用以上配置可以发现,可以通过114:514:1919:811::/64
中的任意地址可以连上该服务器,但是客户端连上该服务器后,将会无法访问任何网站。移除"sendThrough"
配置后恢复正常,访问网站全部使用114:514:1919:812::1
。恳请解答,谢谢。
ifconfig
信息如下:Beta Was this translation helpful? Give feedback.
All reactions