Linux Labs· Networking and Secure AdministrationLab 29 of 37

Bastion Access and Restricted SSH Forwarding

server2 only accepts administration from server1, and its app listens on loopback. Reach it through the bastion without copying a private key anywhere, tunnel to the app on loopback only, and narrow what the bastion will forward.

  • Intermediate
  • 40 min
  • Not rated yet
  • Free

Free with a free account — it runs in your browser, nothing to install.

  • A real environment in your browser
  • You run the commands yourself
  • Your result is checked automatically

In this moduleNetworking and Secure Administration

  1. Inspect IPv4, IPv6, Routes, and Sockets30 min
  2. Persistent NetworkManager Configuration35 min
  3. DNS Client Resolution and Lookup Troubleshooting35 min
  4. firewalld Zones and Least-Privilege Access35 min
  5. Configure and Operate an SSH Server35 min
  6. SSH Keys and Access Hardening35 min
  7. SFTP and Verified File Synchronization35 min
  8. Bastion Access and Restricted SSH ForwardingYou are here