Is is technically possible to run a server, that is accessible only through Tor via SSH, and be able to hide its physical location from an adversary who happens to gain a root access?
In my world-view a common technique to discover a physical location of a computer is by looking at its "public" IP and query a geolocation database. A computer is unable to determine its "public" address unless he asks another computer on the Internet.
So is it safe to assume that by placing the server between a physical Tor gateway (i.e. OpenWrt router) and a router I could protect it from being discovered since all traffic would go through the gateway?
When I am talking about a Tor gateway I mean existing solutions such as anonabox.