1. First this operation should be based on Ngrok This software, this is an open source to let the external network access to this machine tool, but at present his website has been wall.
2. Here to help with the tunnel this thing,
Tunnel is a network service based on Ngrok , see: http://www.tunnel.mobi/
With tunnel, others can access your local network services through a two-level domain name such as Http://example.tunnel.mobi in the public network.
Tunnel is deployed domestically, supporting most of Ngrok's functionality, while changing the status of slow and unusable access due to Ngrok servers in the United States.
3. Try to download to the corresponding version of Ngrok, and then use the Ngrok.cfg configuration file provided by tunnel, the file content is: server_addr: "tunnel.mobi:44433" trust_host_root_certs:true
4. Place Ngrok and ngrok.cfg in the same folder,
When you run the client, add-config to load the configuration file.
For example Ngrok-config Ngrok.cfg-subdomain example 8080
Linking the local 8080 port to the Example.tunnel.mobi
Here you can access the local network on the outside network.
About local Service mapping to public network