hpct-rtunnel(1)

πŸ“¦
version 2.2.10 Β· 2 versions
, in ubuntu stonking

πŸ’– hpct-rtunnel β€” HiPerConTracer Reverse Tunnel πŸ’–

okay bestie, come sit with me, this one's from the General Commands Manual pile and it's literally the main character of "let me reach my NAT'ed node from far away" πŸ’…


✨ NAME ✨

hpct-rtunnel β€” HiPerConTracer Reverse Tunnel 🫢


✨ SYNOPSIS ✨

hpct-rtunnel [-N | --nodeid -node_id]
             [-R remote_location | --remote remote_location]
             [-C collector | --collector collector]
             [-K ssh_private_key_file | --key ssh_private_key_file]
             [-H ssh_known_hosts_file | --known-hosts ssh_known_hosts_file]
             [-q | --quiet] [-w | --verbose]
hpct-rtunnel [-h | --help]
hpct-rtunnel [-v | --version]

✨ DESCRIPTION ✨

So hpct-rtunnel is the HiPerConTracer reverse tunnel script, no cap. What it does is it opens up an SSH tunnel from a node over to a collector, and once that's up, SSH forwarding to the node is possible from port 10000+NodeID on the collector. Truth. πŸ¦‹

It's meant to be run with the hpct-rtunnel service so the tunnel just... establishes itself, automatically, from a node that has a NAT'ed IP address, purely for remote maintenance. That's the whole vibe. πŸ”₯


✨ ARGUMENTS ✨

these are the arguments you may provide, queen:

  • -N | --nodeid -node_id β€” sets the node ID. It's a number from 1 to 9999. periodt.
  • -R remote_location | --remote remote_location β€” sets the remote data directory on the collector. default is /var/hipercontracer/data. πŸŽ€
  • -C collector | --collector collector β€” says which hostname or address the collector's SSH server lives at. 🌸
  • -K ssh_private_key_file | --key ssh_private_key_file β€” sets the SSH private key file that gets used for authentication. default is /var/hipercontracer/ssh/id_ed25519. πŸ”‘
  • -H ssh_known_hosts_file | --known-hosts ssh_known_hosts_file β€” sets the SSH known hosts file. default is /var/hipercontracer/ssh/known_hosts. πŸ‘€
  • -q | --quiet β€” turns status output off. shhh 🀫
  • -w | --verbose β€” turns status output on. tell me everything πŸ—£οΈ
  • -h | --help β€” prints the command help. bestie behaviour honestly 🫢
  • -v | --version β€” prints the program version. 🏷️

✨ EXIT STATUS ✨

the tea: hpct-rtunnel exits with 0 when it goes well, and >0 when there's an error. that's it, that's the whole status report. πŸ’€


✨ EXAMPLES ✨

here's how you'd actually run it, copy-paste ready, you're welcome πŸ’–

sudo -u hipercontracer hpct-rtunnel -N 1000 -C 10.44.35.16 --key
        /var/hipercontracer/ssh/id_ed25519 --known-hosts
        /var/hipercontracer/ssh/known_hosts
sudo -u hipercontracer hpct-rtunnel -N 1 -C 10.44.35.16 --key
        /var/hipercontracer/ssh/id_ed25519 --known-hosts
        /var/hipercontracer/ssh/known_hosts
hpct-rtunnel --version
hpct-rtunnel -h

✨ NOTES ✨

this program is part of HiPerConTracer, fr fr. The latest version of HiPerConTracer can be found on the HiPerConTracer Homepage at HiPerConTracer Homepage: https://www.nntb.no/~dreibh/hipercontracer/. 🌈


✨ AUTHORS ✨

Thomas Dreibholz, Homepage: https://www.nntb.no/~dreibh β€” ty king πŸ‘‘


and that's the whole page babes 🌸 this one lived in the hpct-rtunnel manual, May 26, 2026 era β€” go forth, tunnel responsibly, and slay πŸ’…βœ¨

πŸ“¦ where this page comes from