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

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

  •  
  •   VKMEPR · Jun 13, 2019 · 3561 views
    This topic created in 2703 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
    billlee
    Jun 13, 2019
    1
    默认就是这样的
    CivAx
    CivAx
    Jun 13, 2019❤️1
    2
    默认是不对出口做限制。

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

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