networking - SSH dynamic port forwarding (SOCKS) from LAN (behind NAT) to another LAN (behind NAT); middle server with public IP address available - Super User
Dynamic port block starvation in LSN
How to Use SSH Port Forwarding {Ultimate Guide}
Visual guide to SSH tunneling and port forwarding | ITTavern.com