www.stoege.com
Choose your Life, Choose your Security
  • About
  • Blog
  • C
  • Cheatsheet
  • Golang
  • Links
  • Mirror
  • Oneliners
  • Projects
  • Puffy Spezial
  • PuffyPages
  • Python

SSH Server behind Firewall

2020-10-03 (Last Modified: 2022-06-03)
OpenBSD, SSH
Page content
    • Server behind NAT/FW
    • Access Server

got a Server behing NAT / Firewall ? Need Shell access to … ?

Server behind NAT/FW

[email protected]$ ssh -R 1234:localhost:22 my.public.jumpbox

Access Server

ssh my.public.jumpbox

[email protected]$ ssh -p 1234 localhost

[email protected]$

and you’re in :)

sha256: 81b4dc1d84f9f8bcbf5060f382853759fffa1e5824e2ae98ad5508a082db5dfd

  • SSH
  • Tunnel
  • ReverseTunnel
About Stoege
Nerd and Hacker - in the middle of daily madness, loves networks, security, opensource, unix, coding, …

Recent Posts

  • Softraid on OpenBSD
  • Dotnet - Hello World
  • Errors - Solutions
  • Bash - Snippets
  • SSH Key Generator

Tags

Tags (3) 2FA (1) 6.6 (1) 6.7 (2) 6.8 (2) 6.9 (2) 7.0 (2) 7.1 (2) 7.2 (2) Aliases (1) Alpine (5) Ansible (1) API (1) APU (3) Area41 (1) Asymmetric (1) backup (1) bash (2) BasicAuth (2) Beginner (2) BGP (6) BHyve (1) Blog (4) bootable (1) Bootstrap (3) borg (2) Branches (1) C (1) CAS (1) catalina (1) ccc (1) CEPH (1) Certificate (3) cgi (2) checkmk (3) Cisco (10) Cleanup (1) cli (3) Client (3) clogin (1) Cloud (4) Cluster (2) Code (4) Coding (1) Console (2) Container (2) Converter (1) cron (2) Crontab (1) CrossCompile (1) CTF (1) Current (1) DB (2) Debian (11) dhcpcd (1) DIG (1) Digitalocean (1) Disk (3) Diskspace (1) Django (1) dns (7) DNSSEC (1) doas (1) docker (18) dotnet (1) Dualstack (2) ed25519 (1) Encryption (1) Errors (1) FastAPI (1) Feature (1) Flask (1) fluentd (1) forms (2) Forti (1) FreeBSD (6) FreeRadius (1) Frieden (2) FullFeed (1) Fun (5) Ganser (2) gif (1) git (9) git tags (1) Gitlab (1) gitolite (1) gluerecords (1) GO (2) golang (1) Google (1) GoPass (1) GPG (1) HAProxy (1) Headscale (1) HoneyPot (1) Hosting (2) howto (4) HTML (3) httpd (1) hugo (7) icmpv6 (1) IOT (1) ipsec (3) IPv4 (7) IPv6 (10) isso (1) jq (3) JSON (2) JWT (1) K3s (1) K8s (2) KeepAlive (1) Kernel (1) Keychain (2) Kickstart (1) Kubernetes (3) Kuma (1) Languages (1) Librenms (1) Links (1) Linux (12) Logging (1) Logs (1) MAC (1) macos (3) Medien (3) MFA (1) Middleware (1) migration (1) Minikube (1) Mint (1) Misc (1) MongoDB (1) Monitoring (3) MTU (1) Multicast (1) NATO (1) Nerdstuff (1) Netbox (1) Netplan (1) Network (7) Nextcloud (1) Nginx (11) NoSQL (1) nsd (1) oneliner (1) opebsd (1) OpenBGP (1) OpenBSD (66) OpenSource (1) OpenVM Tools (1) OPNsense (1) ospf (1) OST (1) osx (4) OTP (2) OWASP (2) OWASP Juice Shop (1) Packages (1) Palo (1) pandas (1) Partition (2) Password (2) PHP (8) pip (2) pip3 (1) pkg (1) Poetry (2) Politik (1) Postgres (1) PowerDNS (1) Program (1) Projects (1) Proxies (1) Proxmox (1) Proxy (2) Prozessor (1) Python (13) raid (1) Rails (1) Rancid (1) Ratelimit (1) rc3 (1) Recovery (1) Redirect (1) Redis (1) Regex (1) Relayd (2) release (7) restapi (1) Reverse Proxy (1) ReverseShell (1) ReverseTunnel (1) ROMMON (1) Router (1) Routing (1) rpki (1) Ruby (1) Ruckus (1) scamper (1) Scion (1) Scionlab (1) SCP (1) Script (1) Scripts (5) Secrets (2) Security (19) Serial (2) shell (3) Smokeping (4) sniffer (1) snippets (1) Software (1) Solutions (1) Sources (1) SQL (2) SSH (14) Storage (3) Symmetric (1) System (10) tags (1) Tailscale (1) terraform (1) tips'n'tricks (4) TLS (1) Tools (1) tracer (1) traefik (9) Tricks (1) tshark (1) Tunnel (3) ubuntu (3) unbound (2) Upgrade (4) UPS (1) usb (1) USB Stick (1) Vault (2) VIM (1) Vlan (1) VPN (1) VSCode (1) vuln (9) Web (2) Webserver (1) Whois (1) Wireguard (6) wireshark (1) Word Cloud (1) WordCloud (1) www (2) Yubikey (1)
© 2023 Daniel Stocker; all rights reserved.. Generated with Hugo and Mainroad theme.