<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>security on https://aredhi.com</title>
    <link>https://aredhi.com/tags/security/</link>
    <description>Recent content in security on https://aredhi.com</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 23 Nov 2026 12:51:00 +0700</lastBuildDate><atom:link href="https://aredhi.com/tags/security/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>port knocking with knockd, hiding ssh from the internet</title>
      <link>https://aredhi.com/post/port-knocking-with-knockd/</link>
      <pubDate>Mon, 23 Nov 2026 12:51:00 +0700</pubDate>
      
      <guid>https://aredhi.com/post/port-knocking-with-knockd/</guid>
      <description>I have small vps that i use for everything, and the auth log on that thing is just bots trying ssh password all day long. fail2ban help, but it still feel stupid to expose port 22 to whole internet. So one day i found knockd, and now ssh on that vps is basically invisible.
The idea of port knocking is simple. You send packet to some closed ports, in the right order, and a daemon watch for that sequence and then run a command, usually open firewall port 22 just for your ip.</description>
    </item>
    
  </channel>
</rss>
