SSH Security - Part 2: Fail2Ban

In my last post, I talked about basic SSH security settings. Those settings will get you far, but they may not be enough, especially if you have open ports for services like SSH. Persistent attackers will port-scan, then they’ll try to brute force their way into the VPS. All login attempts will be logged and recorded inside the server, wouldn’t it be convenient to ban those who are continuously failing?...

February 8, 2024 · 3 min

SSH Security - Part 1: Settings

I don’t think there are any reasons for me to lecture about the importance of online security; it’s public knowledge how crucial it is. Managing a VPS requires taking multiple security measures to be sure about safety of your infrastructure and data. I’m planning a series where I talk about different security layers, meant to be stacked over each other. In this one, we’re going to start from ground up and set up the basic minimum and the essential settings....

January 19, 2024 · 3 min

VPS Remote Browser

Remote servers can be used in a variety of different ways. Host contents, serve requests, scrap data patriotically and much more. But have you ever wondered if you can browse the web using your VPS? And I don’t mean something like a v.p.n or proxy. Having an on-call browse on your personal server sounds like a thrilling idea, and it really is! Let’s get into how to have a remote browser, inside another browser :)...

December 5, 2023 · 4 min

Go Backend Interview Questions

Interview questions are nothing like what you’re going to face in your day-to-day job. While every company will ask you different questions, the main gist remains the same. How well are you prepared. You can view technical interviews as entry exams. The job description? Exam syllabus. To be fair, put yourself in the recruiter’s shoes. They receive many requests and have to find someone suitable in the shortest and most efficient manner....

November 27, 2023 · 22 min

WebSSH With Teleport

The conventional way to connect to a remote server is through SSH (secure shell). It comes preinstalled on Linux and Mac, and the protocol takes care of almost anything. Of course, you still need to provide a password or a matching ssh key. On the other hand, if you’re using Windows or Android, or if you find yourself on another machine, things may get challenging. There are many solutions for these kinds of situations....

November 21, 2023 · 5 min

Docker Private Registry and Cache Mirror Registries

Have you ever wondered about having your very own private docker registry? Or rather, have you ever faced issues pulling images directly from DockerHub? What if I tell you, you can have all that, and it’s really easy to configure it? Join me as we dig deeper into configuring a docker private registry and also how to use it as a cache-through proxy. Nginx We’re going to use Nginx as a reverse proxy and to secure our registry with an SSL certificate....

November 15, 2023 · 4 min

Nginx Setup, Reverse Proxy and TLS (SSL)

Join me as we dive into what Nginx and TLS are, how to install Nginx and configure it and above all, how to use it to serve up our application. I assume you have a Linux server with root access, some knowledge with the Terminal, a domain you own and an application that is already running inside VPS. What is Nginx Nginx is a widely used web server which can act as load-balancer, reverse proxy, HTTP cache, mail server and much more....

November 8, 2023 · 8 min