Administrators running Swarm on a private, protected network may choose to allow clients on the external network to view the Swarm console without providing them access to the nodes themselves on the private network. You can do this by proxying the console from a privileged server that straddles the internal and external networks.
For example, from a server running Apache HTTP Server , the following rewrite rule for URLs could be applied using the mod_rewrite module:
<Location /storage/> RewriteEngine On RewriteRule ./storage/([ /]+)/(.)$ http://$1:90/$2 [P,L] </Location>