Blog
DevOps, Networking & Network Security Blog
Free, tested tutorials on DevOps, networking, network security and Linux from the ITcorv team: GitLab CI, Docker, nginx and MikroTik.
Blog
Free, tested tutorials on DevOps, networking, network security and Linux from the ITcorv team: GitLab CI, Docker, nginx and MikroTik.
So you've decided to go with Kubernetes. (Still not sure? Read Docker Compose or Kubernetes first.) Now the question is: where do you start without spending two weeks on the install?
ReadA lot of people bring a site up, point the domain at it, and call it done. Then one day they find their admin panel indexed in Google. Or a basic scanner lists a pile of missing security headers.
ReadEveryone says "we have backups." Then a disk dies, or someone runs a `DELETE` by mistake. You go to the backup and find it's empty, or three months old, or it lived on the same server that just died.
ReadYour server is up, everything looks fine, then it fills the disk or dies. You find out when a customer calls. That's where Prometheus Grafana monitoring earns its keep.
ReadYou spin up a fresh VPS with a public IP. A few minutes later the SSH log is full of login attempts for root, admin and test. Those are bots scanning the whole internet.
ReadPicture a company with two offices. The accounting software lives at headquarters and the branch needs to reach it. A lot of teams still solve this with a port forward or an old VPN like PPTP. That means an important server sits straight on the internet, or traffic goes over weak encryption.
ReadA lot of people think that because they bought a FortiGate, they're secure. Expensive firewall, big name, done. But the firewall itself is a device you have to secure too. If its management interface is open to the internet, or the `admin` user is still enabled with a simple password, that expensive firewall becomes the way into your whole network.
ReadWe get this question a lot: "Should we move to Kubernetes, or is Docker Compose enough?"
ReadIn a lot of companies everything still sits on one flat network. This post shows how to set up a MikroTik VLAN the right way, with Bridge VLAN Filtering, on RouterOS v7.
ReadThat's where a WAF comes in. In this post we put a free WAF in front of nginx using ModSecurity and OWASP CRS.
ReadA lot of people don't take MikroTik security seriously. They plug the router in, the internet works, done. But one Winbox port open to the internet, or an `admin` user with a weak password, is enough to wake up one morning and find your router belongs to someone else.
ReadPeople keep asking where to start with DevOps. Then they see a list of a hundred tools and freeze.
ReadStill deploying by hand? You SSH into the server, run `git pull`, build, restart, and hope nothing breaks? That works for a while. But once the team grows and several people push at the same time, it stops working. Someone forgets a step and production goes down. This GitLab CI tutorial starts right there.
ReadYou've probably seen this. You run `docker pull nginx` on a server in Iran and you either get a 403 or it just hangs until it times out. It's not your fault. Docker Hub blocks Iranian IPs. So your pulls need to go through something in the middle instead of `registry-1.docker.io`. That can be a mirror run by an Iranian company, or a registry you host yourself.
ReadFour nginx blocks, a sample nginx.conf for a reverse proxy, and a few habits worth having before you reload.
Read