Skip to content

Self-hosted Firewall for CentOS, Debian, Ubuntu, Arch, Fedora, Redhat, Raspbian

Notifications You must be signed in to change notification settings

bumansu/server-firewall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

Server Firewall

Release ShellCheck Issues Sponsors PullRequest License


📲 Installation

Lets first use curl and save the file in /etc/firewall

curl https://raw.githubusercontent.com/complexorganizations/server-firewall/master/server-firewall.sh --create-dirs -o /etc/firewall/server-firewall.sh

Then let's make the script user executable (Optional)

chmod +x /etc/firewall/server-firewall.sh

It's finally time to execute the script

bash /etc/firewall/server-firewall.sh

⛳ Goals

  • robust and modern security by default
  • minimal config and critical management
  • fast, both low-latency and high-bandwidth
  • simple internals and small protocol surface area
  • simple CLI and seamless integration with system networking

🥰 Features

  • Installs and configures a ready-to-use WireGuard Interface
  • (IPv4|IPv6) Supported, (IPv4|IPv6) Leak Protection
  • Iptables rules and forwarding managed in a seamless way
  • If needed, the script can cleanly remove WireGuard, including configuration and iptables rules
  • Variety of DNS resolvers to be pushed to the clients
  • The choice to use a self-hosted resolver with Unbound.
  • Preshared-key for an extra layer of security.
  • Block DNS leaks
  • Dynamic DNS supported
  • Many other little things!

👤 Author


🤝 Developing

Using a browser based development environment:

Open in Gitpod

🐛 Debugging

git clone https://github.com/complexorganizations/server-firewall /etc/firewall/

📝 License

Copyright © 2020 Prajwal

This project is MIT licensed.

About

Self-hosted Firewall for CentOS, Debian, Ubuntu, Arch, Fedora, Redhat, Raspbian

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages