ufw-Uncomplicated Firewall

    內容表格
    1. 1. 基本指令
    2. 2. Reference

    ufw - Uncomplicated Firewall

    基本指令

    Check Status of UFW

    sudo ufw status verbose
    

    Enable UFW

    sudo ufw enable
    

    Deny Incoming Connections

    sudo ufw deny from 123.123.123.123
    

    Allow Specific Incoming Connections

    sudo ufw allow http
    sudo ufw allow ssh
    sudo ufw allow 8080
    sudo ufw allow 5060:5061/tcp
    

    Set up Default Policies

    sudo ufw default deny incoming
    sudo ufw default allow outgoing
    
    標籤 (Edit tags)
    • No tags
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core