Skip to content

Website & Server Help

Unlimited Webspace Help

Menu
  • Home
  • Apps
  • Website
    • Sending email from a WordPress website hosted on an IONOS server
    • How to increase Upload Max Filesize
    • How to reset a WordPress password
    • 22 Ways To Speed-Up A Plesk Website
  • Server
    • Linux or Plesk Server Error 500
    • Windows Server: File cannot be loaded. The file is not digitally signed.
    • Adding or modifying IP addresses on a Linux server
    • Installing Remote Desktop on Debian 12
    • Installing Remote Desktop on Ubuntu 22.04
    • How To Install a Let’s Encrypt SSL in Apache on Debian/Ubuntu
  • Favs
    • How to Connect to a Server
    • The Ultimate Guide to Setting Up a Proper Plesk Email Server With IONOS
    • The Ultimate IONOS Migration Guide
    • Help! My Plesk Websites Are Down!
    • Running tests for a slow server or dropped packets
    • Checking File System and Hard Drive Health
Menu

BashBastion!

Welcome BashBastion! A Bash script that touts itself as a foolproof firewall.

BashBastion! relies on lsof to monitor network activity. When you run the script for the first time, BashBastion! will walk you through setting your threshold for connections from a singular IP or subnet. From there, BashBastion! will block any IPs/subnets over the threshold.

nftables will be used if installed. Otherwise, iptables will be used (and installed if it’s not already).

Download BashBastion here.

Tested on: Ubuntu 24.04, Ubuntu 20.04, Debian 12, Debian 11, Alma 9, Alma 8, Rocky 9.

Special Offer

The internet's fastest, cheapest, unlimited bandwidth VPS

VPS
1core | 1GB RAM | 10GB NVMe
Unlimited Bandwidth | 1Gbps
$2/month - risk free