服务器主机匿名端口调整

1.登录主机ssh xxx2.备份 etcsysctl.confcp etcsysctl.conf etcsysctl.conf.bak3.修改sysctl.conf文件4.执行生效sysctl -p5.查看匿名端口是否已配置为

服务器主机匿名端口调整

1.登录主机

ssh xxx

2.备份 /etc/sysctl.conf

cp /etc/sysctl.conf /etc/sysctl.conf.bak

3.修改sysctl.conf文件

4.执行生效

sysctl -p

5.查看匿名端口是否已配置为25000-6500

sysctl net.ipv4.ip_local_port_range

如果是则说明配置成功

发布者:admin,转转请注明出处:http://www.yc00.com/web/1747860461a4696356.html

相关推荐

  • 服务器主机匿名端口调整

    1.登录主机ssh xxx2.备份 etcsysctl.confcp etcsysctl.conf etcsysctl.conf.bak3.修改sysctl.conf文件4.执行生效sysctl -p5.查看匿名端口是否已配置为

    21小时前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信