After logging in to the remote server through ssh, you can continue to log in to other servers on the server,
The command is ssh -p port number ip
Firewall:
#Clear all default rules
iptables -F
yum install iptables
iptables -A INPUT -i eth1 -m iprange --src-range 10.10.10.10-10.10.10 -j ACCEPT
iptables -A INPUT -i eth1 -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -i eth1 -j REJECT
service iptables save
chkconfig --level 35 iptables on
iptables -L -n --line-numbers
//If modified in /etc/sysconfig/iptables, restart first and then save
================================