• 0 Posts
  • 2 Comments
Joined 10 months ago
cake
Cake day: April 16th, 2024

help-circle
  • Another thing you can do under certain circumstances which I’m sure someone on here will point out is depreciated is use TCP Wrappers. If you are only connecting to ssh from known IP addresses or IP address ranges then you can effectively block the rest of the world from accessing you. I used a combination of ipset list, fail2ban and tcp wrappers along with my firewall which like is also something old called iptables-persistent. I’ve also moved my ssh port up high and created several other fake ports that keep anyone port scanning my IP guessing.

    These days I have all ports closed except for my wireguard port and access all of my hosted services through it.