Windows Firewalls iptables equivalent

7,723

The only real native firewall management within the Windows GUI (beyond enable/disable radio buttons) is handled in the 'Windows Firewall with Advanced Security' management console. Creating inbound and outbound rules, you will be able to match a rule configuration with each IPTable command you are seeking. If command line is required, import the NetSecurity PowerShell module where you can use cmdlets like New-NetFirewallRule and others to manage. Although not a one-to-one translation in your case.

Alternatively, might check out Windows Firewall Notifier, it basically enables firewall logging, parses in realtime and displays into a GUI where you can monitor and exceptions/rules to incoming and outgoing traffic. I've found it very useful in troubleshooting scenarios for traffic mgmt, then usually disable/remove after identifying the rule definitions and configuring in the Advanced Security console. Link: http://wokhan.online.fr/progs.php?sec=WFN

Share:
7,723

Related videos on Youtube

xna
Author by

xna

Updated on September 18, 2022

Comments

  • xna
    xna over 1 year

    I'm looking for an equivalent for iptables in windows, recently my server has been getting hit by a DDoS and I know how to block it using iptables but not in Windows.

    I'm looking to do something like the below, but in windows.

    # Size of the udp packets:
    iptables -N LENGTH_1062
    iptables -I FILTER -j LENGTH_1062
    iptables -A LENGTH_1062 -p udp -m udp -m length --length 1062 -j DROP
    iptables -A LENGTH_1062 -j RETURN
    
    # TTL 
    iptables -N TTL_244
    iptables -I FILTER -j TTL_244
    iptables -A TTL_244 -p udp -m udp -m ttl --ttl-eq 244 -j DROP
    iptables -A TTL_244 -j RETURN