Skip to content

NeXySssss/firewallsetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

UFW Firewall Setup with Cloudflare IP Sync

Secure your server with UFW firewall. Restrict access to ports 80/443 only from Cloudflare IPs and set a custom SSH port.

Quick Start

Run script with default SSH port (interactive input):

curl -s https://raw.githubusercontent.com/NeXySssss/firewallsetup/refs/heads/main/setup.sh | bash

Run script with custom SSH port (e.g., 2223):

curl -s https://raw.githubusercontent.com/NeXySssss/firewallsetup/refs/heads/main/setup.sh | bash -s -- 2223

About

ufw-cloudflare-secure setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages