V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
lostarray
V2EX  ›  Linux

Firewalld 怎么还限制传出连接啊?

  •  
  •   lostarray ·
    lostarray · Dec 26, 2015 · 4539 views
    This topic created in 3775 days ago, the information mentioned may be changed or developed.
    刚在 Vultr 开了一台 Centos 7 的机器,连接限制很严格,各种禁止访问。搜索学习了一下 firewalld ,能允许特定端口的传入连接了,但是又发现根本练不了外网啊( IPv4 都连不了, Google 的 IPv6 却能连)。把 firewalld 关了,或者把 eth0 加入 trusted zone 倒是可以连外网了,但是这样应该很不安全吧。 Google 搜索也没找到限制传出连接的相关内容,谁能教教我该怎么设置这东西啊
    4 replies    2015-12-31 11:31:56 +08:00
    xuhaoyangx
        1
    xuhaoyangx  
       Dec 26, 2015
    reload 了吗
    lostarray
        2
    lostarray  
    OP
       Dec 26, 2015
    @xuhaoyangx 没有加--permanent ,都是即时生效的吧
    tinkerer
        3
    tinkerer  
       Dec 27, 2015 via iPhone
    就是个废品, 用回 iptables 吧
    anyran
        4
    anyran  
       Dec 31, 2015
    可以用 rich-rule 嘛
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5063 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 05:38 · PVG 13:38 · LAX 22:38 · JFK 01:38
    ♥ Do have faith in what you're doing.