Your VPS is Exposed: Add Firewall Rules to Hostinger (Step-by-Step) @MikeMurphy-AI
Your VPS is Exposed: Add Firewall Rules to Hostinger (Step-by-Step)  @MikeMurphy-AI
Uploaded October 2025 | Updated September 2026, 1 week ago
Description:
In this tutorial, you will learn how to add Firewall Rules on your Hostinger VPS to block unauthorized access and protect all of the services on your VPS.

Get 20% off Hostinger VPS (referral link):
https://hostinger.com?REFERRALCODE=BYS0JAIWCIJP

What is a Firewall?
Firewalls act as the security blanket for your VPS, controlling which network and internet traffic is allowed or blocked based on a set of rules. This process is crucial because if your firewall is inactive, all 65,535 ports on your VPS are wide open and vulnerable to hackers, bots, and random internet noise.

Wispr Flow is my tool of choice for fast, polished voice-to-text in any app.
ref.wisprflow.ai/mike-murphy (affiliate link)

Why Add Firewall Rules?
If your firewall is inactive, all ports are wide open. This vulnerability means your VPS is weak and susceptible to malicious external traffic. Hackers scan for open ports and can easily bypass domain-level authentication to steal N8N credentials.

Three essential firewall rules:
• Port 22: Allows SSH access for remote login to your VPS. Add this rule first!
• Port 80: Necessary for HTTP traffic and for Let's Encrypt to perform SSL certificate validation.
• Port 443: Used for HTTPS or secure encrypted web traffic, allowing the use of a custom domain.

In this tutorial, you'll learn:

What is a Firewall?
How To Test N8N Vulnerability?
How Do Firewalls Work?
How To Add Firewall Rules
How To Check n8n Exposure?
How To Test Firewall?
Hostinger VPS:
mikemurphy.co/vps

SSH Client:
Termius (termius.com/)
——————

——————
✅ Chapters:
00:00 Intro: About The Tutorial
00:19 What is a Firewall?
01:09 How do Firewalls work?
01:24 Inactive Firewalls = All Ports Open
01:43 Active Firewall = Ports Blocked
03:09 n8n = Port 5678
03:45 Is your n8n exposed?
04:00 VPS IP Address
04:23 Terminal: curl_ip:5678
05:45 VPS Dashboard: Firewall
06:10 Firewall Rules: Open Ports
07:14 Recap of Ports (22,80.4443)
08:25 Add Firewall Rules
09:07 Rule #1: Port 22
09:34 Default Policy Rule (Drop)
10:19 Rule #2: Port 80
10:30 Rule #3: Port 443
10:46 Add Rules, Edit, Delete
11:53 Test Firewall: SSH (Port 22)
12:50 Test Port 443 (https://)
13:29 Test n8n in Terminal
14:10 Recap: Firewall
——————

🪜 How To Add Firewall Rules on Hostinger VPS

1. Sign in to your Hostinger dashboard.
2. Click on VPS...Overview Page
3. Twirl open Security, click on Firewall
4. Click the plus sign +Add New Firewall Rule
5. Give your firewall a name (n8n-firewall)

Note: Upon creation, a default rule with the action "drop" (block) is automatically created, blocking all incoming traffic.

6. Click the ellipsis (three dots) next to the new firewall name and choose "edit" to add rules.
7. Add Rule 1 (Port 22): Set the action to "Accept" (allow), Protocol to "TCP," 8. Port to 22, and Source to "Anywhere" (0.0.0.0/0), then click "Add rule".
9. Add Rule 2 (Port 80): Set the action to "Accept," Protocol to "TCP," Port to 80, and Source to "Anywhere," then click "Add rule".
10. Add Rule 3 (Port 443): Set the action to "Accept," Protocol to "TCP," Port to 443, and Source to "Anywhere," then click "Add rule".
11. To activate the firewall, toggle on. (may take up to 5 minutes)
12. Test your connections (e.g., SSH on port 22 using Termius HQ)
13. Test your connection (https://)


——————Resources———————
➜Gear I Use: mikemurphy.co/resources
➜Adobe After Effects: mikemurphy.co/adobe
➜Terrapin Textures: terrapintextures.com
➜ Adobe Audition Course (Domestika): mikemurphy.co/domestika

➜Amazon Influencer Store: amazon.com/shop/mikemurphyco
➜See All My Gear: mikemurphy.co/podgear
➜ Get Adobe Creative Cloud: mikemurphy.co/adobe
➜ Screenflow: mikemurphy.co/screenflow

➜ Website: mikemurphy.co
➜ Podcast: mikemurphy.co/mmu
➜ Instagram: instagram.com/mikeunplugged
➜ X: http://x.com/mikeunplugged
➜ YouTube: mikemurphy.co/youtube

Amazon Associates Disclosure:
Mike Murphy is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Your VPS is Exposed: Add Firewall Rules to Hostinger (Step-by-Step)Git & GitHub for Beginners: Turn Any Project Into a Repo Using VS CodeI Built an AI Flash Card Generator with Claude ArtifactsHow To Create Bulk 301 Redirects on Cloudflare (Pretty Links to Shlink)Mini-Course: How To Use Cursor AI To Build Wiggle Panel in After EffectsStick Figure PilgrimU2L5 How To Import Photoshop & Illustrator Files Into After EffectsU2L2 How To Import Footage Into After EffectsHow to Create A PostgreSQL on Neon: A Step by Step Tutorial for BeginnersHow To Animate ANY Image in MidJourney (Even Line Art!)U4L6 How To Use Audio Effects in After Effects3 MacOS Terminal Tricks You Must Know!
Mike Murphy | AI Handyman |

Your VPS is Exposed: Add Firewall Rules to Hostinger (Step-by-Step)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER