nowfound

Life & fun · May 17, 2017

TB

TOTP Based Port Knocking -- two factor firewall

Introduction This is a proof of concept for using TOTP with a shared key between client and server to gain access to a normally closed secure...

TOTP Based Port Knocking -- two factor firewall launched on May 17, 2017 with 5 votes and more than 50% of that year's launches. The site was still online in September 2026, 9 years on.

What it does

This is a proof of concept for using TOTP with a shared key between client and server to gain access to a normally closed secure shell (ssh) port. Port knocking is typically implemented as a series of connection attempts to a "secret" sequence of ports. When the correct sequence of connetions are attempted (none of which form a complete connection) the firewall identifies this sequence and opens the desired port (typically ssh, port 22). The effect of this is that the sensitive ssh port can remain silent, not responding to any connection attempt, until the knock sequence occurs. This is helpful because attack probes will generally not be able to identify that ssh is available for connection…from dhj.io

Does a similar job

all alternatives →
  • Wa-tunnel – HTTP Tunneling through Whatsapp2022 · github.com · ▲453

    Side project tunneling a TCP port through WhatsApp, can be useful on airplanes or any WiFi/carrier that has unlimited social network data limits. Appreciate feedback :)

  • TOTPBOXMar 2026 · totpbox.com · ▲2

    Local-first 2FA that guides you to Passkeys

  • Knockles – eBPF Port Knocking Tool2022 · github.com · ▲76

    eBPF Port Knocking Tool. Contribute to eeriedusk/knockles development by creating an account on GitHub.

  • A proof-of-concept FoundationDB based network block device backend2018 · github.com · ▲192

    A totally proof-of-concept FoundationDB based network block device backend - dividuum/fdb-nbd

  • PS
    Public SSH Jump and Port Forwarding Server2021 · ▲22

    I've made a neat service to access SSH over NAT. Unlike ngrok and alternatives with registration, custom software, non-preserved random URLs and ports, this solution is just a remote SSH server which does not require anything more than an SSH client to both host and connect. Technically it allows to publish any service over SSH (web, proxy, any TCP port really), but only with SSH as a destination you'll preserve end-to-end encryption and won't allow my server to snoop on potentially unencrypted traffic. The service is mostly intended to give remote access to the device as fast as possible,…

  • Interactive SSH port forwarding scenarios2023 · github.com · ▲16

    Maybe some of you feel like me sometimes: I don't need SSH port forwarding very often. That's why I usually forget the exact ssh call by the time I need it. So that I no longer have to search for the correct call in the man page or on the Internet, I have implemented common scenarios interactively. Simply enter addresses, ports and user names and the result is the correct ssh call. I can simply copy it and use it.

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, May 2017

the whole month →
  • Design, code and collaborate. Now all-in-one.

    Dev tools · 2017 · framer.com

  • An app that shows if your food is a hotdog 🌭

    Life & fun · 2017

  • A limitless presentation tool for designers.

    Work · 2017 · ludus.one

  • History shouldn't have to repeat itself

    Life & fun · 2017 · startupgraveyard.io

  • Best sales emails from great companies

    Growth · 2017 · goodsalesemails.com

  • Complete revamp of the original, award-winning task manager

    Work · 2017 · culturedcode.com