首页 › 系统 › Linux › centos更改系统默认端口 centos更改系统默认端口 分类:Linux 2016-07-14 root 评论(0) 如更改centos系统默认端口为8223: vi /etc/ssh/sshd_config 更改: #Port 22 为 Port 8223 重启ssh: service sshd restart 防火墙添加例外: #/sbin/iptables -I INPUT -p tcp –dport 8223 -j ACCEPT #/etc/rc.d/init.d/iptables save #service iptables restart « 上一篇 CentOS系统IP访问控制 下一篇 »利用CentOS系统IPtables防火墙添加360网站卫士节点IP白名单 相关文章 datax mysql-clickhouse 数据同步事例 2025-06-03 rustdesk自建服务器 2024-08-26 linux下安装谷歌拼音输入法 2024-06-01 failed to handler mux client connection 的解决方法 2024-01-13 linux服务器同步互联网时间 2024-01-13 php安装gpm扩展 2022-12-04 发表评论 取消回复您的邮箱地址不会被公开。评论 * 显示名称 * 邮箱 * 网站 在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。 Δ