Skip to content

nairuzabulhul/Firewall_Rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Linux Firewall Rules

Iptables

[+] Disable ALL the rules ...................... 0 "

[+] List all iptables rules ...................... 1 "

[+] Allow localhost connections ONLY ...................... 2 "

[+] Lock down mode ...................... 3 "

[+] Allow HTTP & HTTPS ...................... 4 "

[+] Allow SSH from specific IP and PORT ..................... 5 "

[+] Route HTTP &HTTPS through SSH ...................... 6 "

[+] Open range of ports ...................... 7 "

[+] Block or Open cetrain ports ...................... 8 "

[+] Protection Mode ...................... 9 "

[+] Privacy Mode ...................... 10" # using OpenVPNs and SSH

[+] Delete all rule for IPv4 and IPv6 ...................... 11"

UFW

Nftables