top查看内存(可以free -m)、cpu(多核按1)占用情况
查看状态
systemctl status firewalld.service
启动防火墙
systemctl start firewalld.service
开启转发
firewall-cmd --add-forward-port=port=1122:proto=tcp:toport=22:toaddr=192.168.5.4 --permanent
firewall-cmd --reload
firewall-cmd --list-all
放开端口
firewall-cmd --zone=public --add-port=1122/tcp --permanent
firewall-cmd --reload
firewall-cmd --list-all