这是一个创建于 3761 天前的主题,其中的信息可能已经有所发展或是发生改变。
于是VPS提供商一直给我发 abuse complaint
关闭的时候用的是以下命令行,请教一下是不是我的密码泄露了或者是其他什么问题。
有什么方法可以永久关闭 53 端口。
------
使用 netstat -tnl 命令查看哪些端口打开了
使用 lsof -i:端口号 查看我要封杀端口好的PID (上次1261)(后来1670)
用 kill -9 PID号 杀掉我要封禁的端口:
2 条回复 • 2014-10-28 17:11:32 +08:00
![xudshen](https://cdn.v2ex.com/avatar/223c/d1bd/72412_normal.png?m=1715827424) |
|
1
xudshen 2014-10-28 14:59:05 +08:00
iptables大法
|
![linfox](https://cdn.v2ex.com/avatar/ffcd/a792/19661_normal.png?m=1674637010) |
|
2
linfox 2014-10-28 17:11:32 +08:00
|