We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在具有公网IPv4和IPv6的Ubuntu 22.04上使用Docker部署uuwaf,虽然可以通过IPv6访问,但其实是主机转发过去的,来源IP只能看到内网IP 172.x.x.x。 如果要添加IPv4-IPv6双栈支持,至少需要修改以下配置:
uuWAF/docker/docker-compose.yml
Lines 1 to 11 in 7ac8072
enable_ipv6: true
resolver 127.0.0.11 ipv6=on;
listen [::]:80 default_server reuseport;
listen [::]:443 ssl default_server reuseport;
此时防火墙可以看到正确的IP。
The text was updated successfully, but these errors were encountered:
好的,谢谢反馈
Sorry, something went wrong.
No branches or pull requests
在具有公网IPv4和IPv6的Ubuntu 22.04上使用Docker部署uuwaf,虽然可以通过IPv6访问,但其实是主机转发过去的,来源IP只能看到内网IP 172.x.x.x。
如果要添加IPv4-IPv6双栈支持,至少需要修改以下配置:
uuWAF/docker/docker-compose.yml
Lines 1 to 11 in 7ac8072
这里添加
enable_ipv6: true
,这样可以使得Ubuntu不会主动转发(效果上就是这个wafnet驱动从类似CentOS防火墙的external移动到了internal)。resolver 127.0.0.11 ipv6=on;
,listen [::]:80 default_server reuseport;
以及listen [::]:443 ssl default_server reuseport;
。此时防火墙可以看到正确的IP。
The text was updated successfully, but these errors were encountered: