hhp
V2EX  ›  问与答

centos7 安装 ocserv 后 putty 总是连接超时?

  •  
  •   hhp · Oct 22, 2014 · 4104 views
    This topic created in 4249 days ago, the information mentioned may be changed or developed.
    anyconnect可以正常连上
    vps控制面板shell也ok
    就是putty登录不能,为什么啊?装ocserv之前登录一点问题都没有。。
    在线等,不是特别急。。。。。。
    5 replies    2015-02-10 17:00:20 +08:00
    pakto
        1
    pakto  
       Oct 22, 2014
    firewall-cmd --list-services 看看開啟了 ssh 服務沒, 沒有的話
    firewall-cmd --permanent --add-service=ssh
    lhbc
        2
    lhbc  
       Oct 22, 2014
    如果使用了route参数,你的服务器的IP不能在ocserv的路由里
    dd99iii
        3
    dd99iii  
       Oct 22, 2014
    ssh port 加到 firewall 白名单
    hhp
        4
    hhp  
    OP
       Oct 25, 2014
    @RoberMac
    @lhbc
    @dd99iii 谢谢各位。原来是因为firewalld替换了iptables,没有添加端口。
    ricarekin
        5
    ricarekin  
       Feb 10, 2015
    anyconnect连接就提示超时,这个问题处在哪里?谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   909 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 19:51 · PVG 03:51 · LAX 12:51 · JFK 15:51
    ♥ Do have faith in what you're doing.