How to Change Your SSH Port Safely on Any Linux Server (Ubuntu, Debian, CentOS, AlmaLinux)

Changing your SSH port is a simple yet powerful way to reduce brute-force login attempts and improve server security. To make this process easier, Hosteons offers a free Bash script that automatically handles the switch across all major Linux distributions — including firewalls and SELinux!


✅ Supported Operating Systems

  • Ubuntu 20.04 / 22.04
  • Debian 11 and above
  • CentOS 7 / 8
  • AlmaLinux 8 / 9

⚠️ Important Disclaimer

Changing your SSH port can lock you out if anything goes wrong.

Make sure you have console access such as VNC, IPMI, or KVM before using this script.


🔧 What the Script Does

  • Prompts until a valid SSH port is provided
  • Edits /etc/ssh/sshd_config to set the new port
  • Adds firewall rules for:
    • UFW (Ubuntu/Debian)
    • firewalld or iptables (CentOS/AlmaLinux)
  • Handles SELinux with semanage if needed
  • Restarts SSH service safely without reboot

🧰 How to Use the Script

  1. SSH into your VPS or server as root
  2. Run the following commands:
wget https://raw.githubusercontent.com/hosteons/SSH-Port-Changer-Script/main/ssh_port_changer.sh
chmod +x ssh_port_changer.sh
./ssh_port_changer.sh
  1. Enter your desired new SSH port when prompted

📦 Download from GitHub

Access the script and full documentation here:

👉 https://github.com/hosteons/SSH-Port-Changer-Script

Now Get a /64 IPv6 Subnet by Default with All VPS Orders at Hosteons

At Hosteons, we’re constantly working to improve your hosting experience. We’re excited to announce that all new VPS orders now include a /64 IPv6 subnet by default — no justification required.


🚀 What’s New?

Previously, /64 subnets were available only upon request with justification. But with our recent implementation of routed IPv6 mode, you can now receive a /64 subnet automatically when you select it in the order form.


✅ Key Benefits

  • No need to request or justify a /64 subnet
  • Automatically provisioned during VPS setup
  • Ideal for containers, custom routing, and IPv6-based apps
  • Enhanced networking isolation and flexibility

🌐 Available with All VPS Plans

This upgrade applies to all our KVM VPS and VDS plans:


🔁 Already Using a VPS?

If you’re an existing VPS user and would like to enable routed /64 IPv6, just open a support ticket — we’ll help you switch over quickly.


We’re making IPv6 adoption seamless and automatic, so you can focus on deploying your applications — not configuring your network.

Thank you for choosing Hosteons.

🛡️ Set Up a VPN on Your VPS in Minutes with Our One-Click Script (OpenVPN + WireGuard)

Looking to set up your own secure VPN server without spending hours reading tutorials or configuring files manually?

Hosteons now offers a free, open-source VPN One-Click Installer that helps you launch either OpenVPN or WireGuard on your VPS within minutes. Whether you’re using UbuntuDebianCentOS, or AlmaLinux, this script has you covered.


✅ Why Use This Script?

  • Supports both OpenVPN and WireGuard
  • Works on most major Linux distros
  • Secure and production-ready defaults
  • Fully automated — minimal input required
  • Outputs ready-to-use config files for clients
  • Ideal for privacy, remote access, and secure browsing

🧰 Supported Operating Systems

  • Ubuntu 20.04 / 22.04
  • Debian 11 and above
  • AlmaLinux 8 / 9
  • CentOS 7 / 8

🚀 How to Use

SSH into your VPS and run:

wget https://raw.githubusercontent.com/hosteons/vpn-oneclick-installer/main/vpn_installer.sh
chmod +x vpn_installer.sh
sudo ./vpn_installer.sh

You’ll be prompted to choose:

1) WireGuard
2) OpenVPN

Based on your choice, the script installs and configures the selected VPN protocol, generates certificates or keys, configures firewall rules, and finally saves your client configuration file in:

  • /root/client.ovpn for OpenVPN
  • /root/client.conf for WireGuard

You can then download these and import into your VPN app.


🔒 What’s Under the Hood?

For OpenVPN, the script uses Easy-RSA to:

  • Generate CA, server, and client certs
  • Create Diffie-Hellman parameters
  • Build a secure server.conf
  • Auto-start the VPN service when supported

For WireGuard, it:

  • Generates private/public key pairs
  • Sets up a basic peer-to-peer configuration
  • Enables wg-quick@wg0

📂 GitHub Repository

Explore, star, or fork the repo:

👉 https://github.com/hosteons/vpn-oneclick-installer

Try Our New Budget VPS Pilot Plans — Intel & Ryzen KVM with 10Gbps Port

We’ve launched a limited-time pilot program to offer simpler, more affordable VPS hosting with full-featured performance.

Perfect for developers, startups, or anyone needing a fast and budget-friendly VPS — now available in both US and EU.

🆕 What’s Included:

Intel KVM VPS – Budget Tier (US & EU)
• 1 vCPU
• 2 GB RAM
• 40 GB NVMe SSD
• 2 TB Bandwidth
• $2.99/month

Ryzen KVM VPS – Performance Tier
• 1 vCPU
• 2 GB RAM
• 40 GB NVMe SSD
• 2 TB Bandwidth
• $3.99/month

🔗 Order Now:

🛒 Intel VPS (US + EU):
https://my.hosteons.com/store/10gbps-intel-kvm-vps-us-and-eu

🛒 Ryzen VPS:
https://my.hosteons.com/store/10gbps-ryzen-kvm-vps

🚨 Important:

This is a pilot project — we’re testing demand. If users love it, we’ll expand the offerings. If not, we may discontinue these packages. But all existing clients will continue to receive service for life as long as they keep renewing.

Try it today and give us your feedback!

🚀 One-Click LAMP/LEMP Stack Installer for Your VPS (Ubuntu/Debian) – Free & Open Source

Looking to quickly launch a LAMP or LEMP stack on your VPS without spending 30+ minutes manually installing packages?

We’ve built a simple, open-source Bash script that lets you auto-install LAMP (Apache + MariaDB + PHP) or LEMP (Nginx + MariaDB + PHP-FPM) on Ubuntu or Debian — all in just a couple of minutes.


🔧 What This Script Does

Once executed, the script:

  • Prompts you to choose between LAMP and LEMP
  • Detects PHP version and system OS
  • Installs:
    • Apache or Nginx
    • MariaDB (MySQL-compatible)
    • PHP with popular extensions
    • UFW (Uncomplicated Firewall)
  • Sets up:
    • System services (auto-start on reboot)
    • info.php test file to validate PHP install
    • Basic firewall rules (SSH, HTTP, HTTPS)

✅ Supported Systems

This script works out-of-the-box on:

  • Ubuntu 20.04, 22.04
  • Debian 11 and above

Whether you’re a developer, sysadmin, student, or just want a fast web stack for testing — this script is for you.


📥 How to Use

SSH into your VPS and run:

wget https://raw.githubusercontent.com/hosteons/lamp-lemp-oneclick-installer/main/lamp_lemp_installer.sh
chmod +x lamp_lemp_installer.sh
sudo ./lamp_lemp_installer.sh

Then visit http://YOUR_SERVER_IP/info.php to verify that PHP is working.


💻 View Script on GitHub

📂 GitHub Repo:

👉 https://github.com/hosteons/lamp-lemp-oneclick-installer

The script is licensed under the MIT License, meaning you can use, share, or modify it freely. Attribution is appreciated.


🌐 Why We Built This

At Hosteons.com, we serve thousands of VPS customers who often need quick server setups. This script was originally developed for internal use but is now open to the community.

Whether you’re using a Hosteons KVM VPS or any Linux-based VPS, this script works universally.


🙌 Like It? Star It!

If you found the script useful, please consider ⭐ starring the repo or sharing it on social media. Your support helps us build and release more free tools.


🔗 Related Links


📢 Share With Others!

Help others save time and effort by sharing this post with your developer friends, startup teams, or clients.

#HappyHosting

– Team Hosteons

How Developers Use VDS for CI/CD Pipelines and Git-Based Workflows

In the world of modern software development, automation and speed are everything. Whether you’re pushing code to production daily or running complex integration tests, having a reliable infrastructure is crucial.

That’s where VDS (Virtual Dedicated Servers) from Hosteons come in. Offering the power of a dedicated server with the flexibility of virtualization, VDS is becoming the go-to choice for developers building robust CI/CD pipelines and managing Git-based workflows.


🚀 Why Choose VDS for DevOps Workflows?

Developers love VDS environments because they offer:

  • Full root access for maximum control
  • Guaranteed resources (CPU, RAM, Storage) — no noisy neighbors
  • Dedicated IPv4 & IPv6
  • High performance — ideal for parallel builds, container orchestration, and test environments
  • Custom OS support (Ubuntu, Debian, CentOS, AlmaLinux, etc.)

🔄 CI/CD Pipelines on a VDS

CI/CD (Continuous Integration / Continuous Deployment) is all about automating the development lifecycle.

A typical setup on a Hosteons VDS might include:

  • Git + GitHub/GitLab/Bitbucket as your source repository
  • Jenkins, GitHub Actions, GitLab CI, or DroneCI for pipeline automation
  • Docker or Podman for container-based builds
  • Ansible or Bash scripts for post-deployment actions

You get to control your build agents, configure runners, and secure your environments without restrictions.


🧑‍💻 Git Workflows with Flexibility

With a VDS, developers can:

  • Run bare-metal Git servers using Gitea or GitLab CE
  • Automate hooks and deployments
  • Host private repositories without third-party limits
  • Secure deployments using SSH keys and firewalls

Combined with daily or hourly cron-based backups, this gives you full control over your versioning and rollback strategies.


🌍 Ideal Use Cases

Here’s how real developers are using VDS from Hosteons:

  • Hosting CI/CD runners to avoid limits on GitHub/GitLab
  • Running microservices that auto-deploy on every Git push
  • Spinning up test and staging environments dynamically
  • Running self-hosted monitoring tools like Grafana, Prometheus, and uptime-kuma
  • Automating builds for mobile apps, websites, APIs, and more

💡 Why Hosteons VDS?

At Hosteons, we provide Ryzen 7950X-powered VDS with blazing-fast NVMe storage, dedicated bandwidth, and multiple global locations — all backed by a secure and developer-friendly environment.

✅ Full Root Access

✅ Dedicated Cores and RAM

✅ Custom ISO Support

✅ IPv4 + IPv6

✅ Virtualizor Control Panel


🛒 Order Your VDS Today

Ready to supercharge your development workflow?

👉 Order Ryzen 7950X VDS – Salt Lake City, Los Angeles, Dallas


Whether you’re a solo developer, part of a remote team, or building a CI/CD pipeline for a startup, a VDS from Hosteons offers the performance and freedom you need.

🚀 Build. Test. Deploy. Repeat — with confidence.

🚀 Upgrade Your VPS for FREE

Coupon Code: MAYUPGRADE

Looking to get more VPS power for the same price?

Use coupon code MAYUPGRADE during checkout and get a FREE upgrade to the next higher VPS plan — exclusively at Hosteons!


✅ How It Works

  1. Order any eligible Budget VPSRyzen VPS, or EU KVM VPS
  2. Apply the coupon code: MAYUPGRADE at the time of ordering
  3. After placing the order, submit a support ticket requesting the free upgrade
  4. We’ll upgrade you to the next higher plan — absolutely FREE!

💡 Examples

  • Order Gigabit VPS 2 → Get Gigabit VPS 3
  • Order Ryzen VPS 4 → Get Ryzen VPS 5
  • Order EU VPS 2 → Get EU VPS 3
  • And so on… up to VPS 12

📍 VPS Server Locations

This promotion is valid for VPS hosted in:

  • 🇺🇸 USA – Los Angeles, Dallas, New York, Salt Lake City, Portland, Miami
  • 🇩🇪 Germany – Frankfurt
  • 🇫🇷 France – Paris

💳 Accepted Payment Methods

We support a wide range of payment options, including:

  • 💳 Credit & Debit Cards
  • 🅿️ PayPal
  • ₿ Cryptocurrencies: Bitcoin, Ethereum, USDT, Litecoin, Dogecoin, and more
  • 🌐 Alternative & local methods: Alipay, UnionPay, QRIS (Indonesia), Dragonpay (Philippines), OXXO (Mexico), Boleto (Brazil), iDEAL, Pix, and others
  • 📱 Digital wallets: Apple Pay, Google Pay, Amazon Pay

⚠️ Important Notes

  • 🆕 Offer valid only on new orders
  • ✅ Applicable on:
    • Budget VPS
    • Ryzen VPS
    • EU KVM VPS
  • ❌ Not valid on:
    • Ryzen 512 MB VPS
    • Gigabit VPS 1
    • Ryzen 12 GB & Gigabit VPS 10 (final tiers with no further upgrade possible)
  • ❗ Coupon code MUST be applied during checkout
  • 📩 Support ticket must be submitted after ordering to receive the upgrade
  • 🚫 Cannot be combined with any other promotions

🛒 Ready to Upgrade?

🎁 Use code MAYUPGRADE at checkout and claim your free upgrade by opening a support ticket right after placing your order!

🔐 Secure Your VPS Like a Pro: 6 Simple Firewall Rules That Block 90% of Attacks

Running a VPS gives you full control — but it also comes with responsibility. Whether you’re hosting with a budget VPS or a high-performance Ryzen VDS from Hosteons, security should always be a top priority.

Automated bots and malicious actors are constantly scanning servers looking for open doors. The good news? With just a few simple firewall rules, you can block 90% or more of common attacks — no advanced security knowledge needed.


🚧 Step 1: Deny All by Default

Your firewall should start from a “zero trust” position. Block all incoming traffic unless explicitly allowed.

iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT

This is the safest starting point for VPS security.


✅ Step 2: Open Only the Ports You Need

For most users, these are the essential services:

iptables -A INPUT -p tcp --dport 22 -j ACCEPT   # SSH
iptables -A INPUT -p tcp --dport 80 -j ACCEPT   # HTTP
iptables -A INPUT -p tcp --dport 443 -j ACCEPT  # HTTPS

If you’re using a custom SSH port, be sure to update that here.


🛡️ Step 3: Rate-Limit SSH to Stop Brute-Force Attacks

SSH is the most frequently targeted service. Add a rate-limiting rule to block repeated login attempts:

iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --set
iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --update --seconds 60 --hitcount 3 -j DROP

This prevents bots from guessing passwords through brute force.


🧼 Step 4: Drop Invalid or Malicious Packets

Invalid packets are often used in scanning or attack attempts. Drop them:

iptables -A INPUT -m state --state INVALID -j DROP

This helps prevent certain types of kernel-level exploits and misbehavior.


🔁 Step 5: Allow Loopback and Established Connections

Let your server communicate with itself and continue existing sessions:

iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

Without these, things like internal services and return traffic might break.


👀 Step 6: (Optional) Block Ping (ICMP)

Ping isn’t harmful by itself, but attackers use it to detect live servers. You can hide yours:

iptables -A INPUT -p icmp --icmp-type echo-request -j DROP

Note: avoid this if you use ping-based monitoring tools.


💡 Bonus: Use CSF for Easier Firewall Management

Not comfortable with command-line tools? Hosteons VPS plans fully support CSF (ConfigServer Security & Firewall)— a beginner-friendly, feature-rich firewall system with:

  • Easy interface via DirectAdmin
  • Built-in brute-force detection
  • Country-level blocking
  • Port scan detection
  • Daily logs and alerts

Perfect for users who want simplicity without sacrificing power.


🔄 Don’t Forget to Save Your Rules

After setting your rules, make sure they persist after a reboot.

On Ubuntu/Debian:

iptables-save > /etc/iptables/rules.v4

On CentOS/RHEL:

Use iptables-save along with persistent packages, or configure firewalld.


🔐 VPS Security Starts with You

Whether you’re running a personal blog, game server, or production site on a VPS from Hosteons, implementing basic firewall rules should be your first line of defense.

These 6 rules are easy to set up and highly effective. For extra protection, consider:

  • Enabling fail2ban
  • Using SSH keys instead of passwords
  • Running regular security updates

At Hosteons, we offer high-performance, SSD-powered KVM VPS and Ryzen VDS backed by robust network security and full root access — so you’re always in control.

🔒 Ready to launch your secure VPS?

👉 Explore our VPS plans now

🔒 Privacy Meets Performance: Why Crypto Payments Are a Perfect Match for Hosting at HostEONS

Accepting Bitcoin, USDT, Ethereum, and More — With No KYC, No Hassle

At HostEONS, we believe that privacy, freedom of choice, and high-performance hosting should go hand in hand. That’s why we proudly accept cryptocurrency payments across all our services — from VPS to VDS, shared hosting to hybrid servers.

Whether you’re a developer, digital nomad, or business owner who values anonymity and financial flexibility, we’ve got you covered.


💸 Why Pay with Crypto?

Cryptocurrency isn’t just about convenience — it’s about control, privacy, and global accessibility.

🌍 Benefits of Paying with Crypto at HostEONS:

  • ✅ No KYC Required – We don’t collect unnecessary personal data
  • ✅ Fast, borderless payments – No delays, bank restrictions, or timezone limits
  • ✅ Censorship-resistant – Keep your transactions private and autonomous
  • ✅ Great for international users – Especially where traditional payment access is limited
  • ✅ Ideal for offshore hosting, VPNs, or anonymous web services

🪙 Supported Cryptocurrencies

You can use a wide range of cryptocurrencies to pay for any service at HostEONS:

  • 🟠 Bitcoin (BTC)
  • 💵 Tether (USDT)
  • 🟣 Ethereum (ETH)
  • 🟡 Litecoin (LTC)
  • 🐶 Dogecoin (DOGE)
  • 🔄 And many more — via supported crypto gateways

All payments are processed instantly and securely, with no additional verification required.


🤝 Prefer Traditional Payments? We Support Those Too!

We understand crypto isn’t for everyone — so we also support a wide variety of global and regional payment methods, including:

💳 Cards & Digital Wallets

  • Credit Cards (Visa, Mastercard, AMEX)
  • Debit Cards (with 3D Secure support)
  • Apple Pay, Google Pay, Amazon Pay

🌐 Local & Alternative Payments

  • PayPal
  • Alipay CN (支付宝中国)
  • UnionPay / 银联
  • OXXO (Mexico)
  • Boleto (Brazil)
  • PSE, Efecty, Baloto (Colombia)
  • Dragonpay (Philippines)
  • QRIS (Indonesia)
  • SEPA Bank Transfers (EU)
  • Pix, iDEAL, and others via international checkout

No matter where you are — you’ll find a way to pay.


🛡️ Why Privacy-Conscious Users Choose HostEONS

We’re not just crypto-friendly — we’re privacy-first. Here’s what sets us apart:

  • 🔒 No invasive KYC checks for crypto payments
  • 🗂️ Data minimization practices — we only collect what’s necessary to provide your service
  • 🚫 No tracking scripts or third-party analytics on client portal
  • 🧱 Independent operation from Singapore (not subject to U.S. or EU surveillance laws)

Whether you’re launching a personal project, running a startup, or hosting infrastructure for sensitive applications — HostEONS puts you in control.


🚀 Start Hosting with Crypto — No Questions Asked

At HostEONS, you can sign up, order a VPS or hybrid server, pay with crypto, and be online in minutes — all without giving up your privacy.

🔗 View VPS Plans

📩 Need help choosing a plan? Contact Us

🛡️ Your privacy, your choice. Host with confidence — Host with HostEONS.

💳 HostEONS 支持哪些付款方式?

VPS、VDS、共享主机和域名全线支持多种本地与国际支付方式!

在 HostEONS,我们致力于为全球客户提供 高速、稳定又灵活的主机服务。无论您是购买 VPS、VDS、共享主机还是域名注册,我们都为您提供了 多样化、安全便捷的支付方式

特别是对中国用户,我们完全支持您熟悉的支付工具,真正做到无障碍下单、秒级到账、全球部署!


✅ 我们支持的付款方式包括:

🇨🇳 中国用户常用方式:

  • 支付宝(Alipay CN / 支付宝中国)
  • 银联(UnionPay / 银联在线)

✅ 无需翻墙,无需外币,使用人民币即可快速完成支付!


🌍 国际支付方式:

  • 信用卡 / 借记卡(Visa、Mastercard 等)
  • PayPal
  • 加密货币(Cryptocurrency)
    • 支持 Bitcoin(比特币)、USDT(泰达币)、Ethereum(以太坊)、Litecoin、Dogecoin 等
  • Apple Pay / Google Pay / Amazon Pay

🌏 各地区本地支付方式(适用于海外华人或跨境客户):

  • Pix、Boleto(巴西)
  • OXXO、Bancomer(墨西哥)
  • PSE、Baloto、Efecty(哥伦比亚)
  • Dragonpay(菲律宾)
  • QRIS(印尼)
  • iDEAL(荷兰)
  • SEPA(欧洲)

无论您在哪个国家或地区,我们都有适配的收款渠道,无需担心汇款困难或信用卡限制问题


🖥️ 支持所有服务类型付款

HostEONS 的所有服务均支持上述付款方式,包括:

  • 🌐 VPS 主机(KVM VPS)
  • 🚀 VDS(Hybrid Dedicated)高性能虚拟服务器
  • 📦 共享主机 / Reseller Hosting
  • 🌍 域名注册 / 域名转入

每项服务在下单时,您都可以自由选择所需支付方式,不做任何限制、不收取额外手续费


🤝 我们为什么这样做?

  • 🌐 为全球客户打造无障碍服务体验
  • 🇨🇳 特别关照中国用户,支持支付宝、银联支付,不强制绑定外币信用卡
  • 🪙 支持匿名支付,加密货币友好,无需 KYC 实名认证
  • 📦 自动部署,实时到账,极速交付服务

📩 有疑问?联系我们支持团队

如果您在支付过程中遇到任何问题,欢迎随时通过我们的客户后台提交工单,我们将为您提供中文协助!

👉 客户中心: https://my.hosteons.com

👉 主站地址: https://hosteons.com


HostEONS:更自由的主机选择,更灵活的支付体验!


Let me know if you’d like:

  • 🖼️ A banner image for this post (with Chinese labels)
  • 🏷️ Chinese WordPress tags
  • 📣 A social media post (WeChat-style or for X/Twitter/Instagram)