CentOS 7 添加防火墙策略

允许 1.2.2.3 访问 4567端口

iptables -I INPUT -p tcp --dport 4567 -s 1.2.2.3  -j ACCEPT
service iptables save

posted @ 2022-11-02 09:21  人间词话  阅读(77)  评论(0)    收藏  举报