readme

其他注意事件,之前有一次一直连不上,后来做了下面的事情就好了,但我不清楚有的步骤究竟要不要做。

1. 同步时间

  • 安装 ntp: pacman -S ntp
  • 选择时区: tzselect
  • 修改 /etc/profile: export TZ='CST-8',重新登录 shell
  • 同步: ntpdate cn.ntp.org.cn

2. 打开防火墙,这里客户端 nmap 最后还是没扫到对应端口,但就是能用了...

  • 查看状态: systemctl status iptables,发现 inactive,按理此时端口全开,没搞懂为什么,但按照后续做即可。
  • 设置全开: iptables -P INPUT ACCEPT,之所以设置全开,是网上找的开某个端口的命令显示错误(xx dropt xx),查资料发现是版本问题,那就太麻烦了,干脆全开吧。
  • 打开: systemctl start iptables
  • iptables 和 ip6tables 都做一遍!!

Comments