lnehe
V2EX  ›  Redis

redis可以设置指定的多个IP连接进来吗?

  •  
  •   lnehe · Dec 26, 2012 · 7396 views
    This topic created in 5064 days ago, the information mentioned may be changed or developed.
    搜了一下,没有找到相关的设置,只好求助v2的大神们了。
    5 replies  •  1970-01-01 08:00:00 +08:00
    notedit
    notedit
    Dec 26, 2012
    1
    iptables 或者 firewall
    lnehe
    lnehe
    OP
    Dec 26, 2012
    2
    @notedit 感觉iptables有点复杂,redis本身不可以实现?
    wingoo
    wingoo
    Dec 26, 2012
    3
    Accepted and scheduled for 2.8. Thanks
    https://github.com/antirez/redis/issues/274#issuecomment-10391458

    所以现阶段貌似只能用iptables
    notedit
    notedit
    Dec 26, 2012❤️1
    4
    @lnehe 据我所知 redis本身实现不了

    iptables确实复杂 但满足你的情况却很简单
    lnehe
    lnehe
    OP
    Dec 26, 2012
    5
    @wingoo 嗯,期待一下2.8
    @notedit 确实有必要学习
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   751 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 23:19 · PVG 07:19 · LAX 15:19 · JFK 18:19
    ♥ Do have faith in what you're doing.