This is a real beginner question, I know. But I really don't seem to be able to wrap my head around the terminology to get what I want working.
And since I want to do this on a router that 40-50 people rely on for internet, my usual approach of breaking things until it works is also not going to work.
So here's what I want to do. I have a router (a Debian box with shorewall) with a static IP cable.example.com
. I have an internal fileserver assigned 192.168.0.3
. I can currently ssh
into the router, and from there ssh
into the filesever. However, I want to make the fileserver available externally for both myself and others with a typical sftp
client.
Could someone at least give me an idea of what I'm looking for? Tunneling out, tunneling in, port forwarding, iptables – they all seem to describe what I want to do, but I can't get a firm idea of how to get it to work.