Skip to content
New issue

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

为什么 centos7 不关防火墙就用不了呢 #679

Closed
wanliyunyan opened this issue Apr 10, 2024 · 0 comments
Closed

为什么 centos7 不关防火墙就用不了呢 #679

wanliyunyan opened this issue Apr 10, 2024 · 0 comments

Comments

@wanliyunyan
Copy link

wanliyunyan commented Apr 10, 2024

比如 xray 生成了一个 30209的端口的配置,脚本临时开启端口,生成以后就可以用了,然后重启电脑就用不了了,此时手动开端口

firewall-cmd --zone=public --add-port=30209/tcp --permanent
firewall-cmd --reload
firewall-cmd --list-ports // 确认开放成功

但是依然用不了,必须要关闭防火墙才能用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant