打开telnet服务的23号端口:
    firewall-cmd —permanent —add-port=23/tcp
    重启防火墙:

    firewall-cmd —reload