通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
› DigitalOcean - SSD Cloud Servers
qping
V2EX  ›  VPS

linode 的 vps,ssh 被 iptables 封了怎么办

  •  
  •   qping · Sep 26, 2014 · 1665 views
    This topic created in 4425 days ago, the information mentioned may be changed or developed.
    今天脑残的用了 iptables -F
    结果默认的policy drop
    ssh连不上了,该咋办?
    其他没什么,但有个网站的数据库我想导出来。。
    13 replies  •  2014-09-28 09:31:57 +08:00
    limuxy
    limuxy
    Sep 26, 2014❤️1
    1
    没用过linode 不过一般VPS的网页管理里都有个备用SSH可以用吧 试试看?
    不行的话只能发ticket了
    paw
    paw
    Sep 26, 2014❤️1
    2
    开临时ssh
    反正 openvz 的都有 Serial Console 不知道linode有没
    wzxjohn
    wzxjohn
    Sep 26, 2014❤️1
    3
    Linode我记得后台提供一个是VNC还是SSH来着,之前我也干过这个事情,改iptables把自己的SSH掐了,然后去后台用后台的SSH关掉了iptables。。。
    arcas
    arcas
    Sep 26, 2014❤️1
    4
    Launch Lish Ajax Console ?
    surftheair
    surftheair
    Sep 26, 2014❤️1
    5
    Remote Access -> Console Access
    qping
    qping
    OP
    Sep 26, 2014
    6
    @arcas 我找到了。。不过不知道lish怎么用。。正在摸索
    qping
    qping
    OP
    Sep 26, 2014
    7
    找到了是这个,Remote Access 》 Lish via Ajaxterm : Launch Lish Ajax Console
    结贴
    arcas
    arcas
    Sep 26, 2014
    8
    @qping 直接点进去输入系统的用户密码就可以呀。。 我说的是Linode 后台里提供的。参考 @surftheair 的回复。 找。
    janxin
    janxin
    Sep 26, 2014
    9
    一般VPS都有web的console用于执行命令,可以把iptables的策略关掉
    ...话说我第一次配置iptables就这么无情的把自己干掉了
    qping
    qping
    OP
    Sep 26, 2014
    10
    @janxin 是啊 今天折腾半天 更新bash漏洞 发现iptables把更新源封了 清空iptables规则就干掉自己了
    orvice
    orvice
    Sep 26, 2014
    11
    发tk...
    benjiam
    benjiam
    Sep 27, 2014 via Android
    12
    iptables -F 是清空 不会出现drop问题。你搞错了
    thank243
    thank243
    Sep 28, 2014
    13
    lish连接上去啊,别告诉我不知道。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1756 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 03:38 · PVG 11:38 · LAX 19:38 · JFK 22:38
    ♥ Do have faith in what you're doing.