Skip to content

V2ray 连接的注意点

复制本地路径 | 在线编辑

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

  1. 同步时间

  2. 安装 ntp: pacman -S ntp

  3. 选择时区: tzselect
  4. 修改 /etc/profile: export TZ='CST-8',重新登录 shell
  5. 同步: ntpdate cn.ntp.org.cn

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

  7. 查看状态: systemctl status iptables,发现 inactive,按理此时端口全开,没搞懂为什么,但按照后续做即可。

  8. 设置全开: iptables -P INPUT ACCEPT,之所以设置全开,是网上找的开某个端口的命令显示错误(xx dropt xx),查资料发现是版本问题,那就太麻烦了,干脆全开吧。
  9. 打开: systemctl start iptables
  10. iptablesip6tables 都做一遍!!

Comments