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

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

  •  
  •   VKMEPR · Jun 13, 2019 · 3156 views
    This topic created in 2532 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   ·   1002 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 22:21 · PVG 06:21 · LAX 15:21 · JFK 18:21
    ♥ Do have faith in what you're doing.