Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
VKMEPR
V2EX  ›  Linux

firewall 可以设置允许所有传出流量吗?

  •  
  •   VKMEPR · Jun 13, 2019 · 3172 views
    This topic created in 2540 days ago, the information mentioned may be changed or developed.

    请问大家,firewall 可以实现 iptables -P OUTPUT ACCEPT 效果吗?网上搜索没有找到相关资料。

    3 replies    2019-06-13 23:51:23 +08:00
    billlee
        1
    billlee  
       Jun 13, 2019
    默认就是这样的
    CivAx
        2
    CivAx  
       Jun 13, 2019   ❤️ 1
    默认是不对出口做限制。

    因为实际上本地→远程这种链接,本地是拉一个随机端口去访问远程的指定端口的,要是这个掐了就嗝屁了。。。

    这就是为什么种 Shell 都是反射式
    Anonym0u5
        3
    Anonym0u5  
       Jun 13, 2019
    记得默认出口没限制
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2644 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 15:47 · PVG 23:47 · LAX 08:47 · JFK 11:47
    ♥ Do have faith in what you're doing.