Linux virtual machines within the network is installed on the WEB server, open the HTTP and HTTPS and SSH port access, how access WEB server on a virtual machine from the public network through HTTP and HTTPS? How to log Linux virtual machine from public SSH?
This article describes the use of specific steps holer achieved.
1. Preparations
1.1 installed Java 1.7 or later
Run java -version
check Java installed and configured correctly.
1.2 install and start WEB server
WEB server installed by default HTTP port is 80 , HTTPS port is 443 .
2. The implementation steps
2.1 Download and unzip the package holer
Holer package: holer-client.zip
2.2 holer modify configuration files
In holer official online application dedicated Holer Access Key .
For example holer information application are as follows, in order holer information as an example here:
---------------------------------------------
Holer Client : [email protected]
Access Key : 6688daebe02846t88s166733595eee5d
---------------------------------------------
Domain Name : holer65004.wdom.net
Internet Address : holer.org:65004
Local Address : 127.0.0.1:80
---------------------------------------------
Domain Name : holer65014.wdom.net
Internet Address : holer.org:65014
Local Address : 127.0.0.1:443
---------------------------------------------
Internet Address : holer.org:65024
Local Address : 127.0.0.1:22
---------------------------------------------
Modify the configuration file: holer-client/conf/holer.conf
Configuration items updated to: HOLER_ACCESS_KEY=6688daebe02846t88s166733595eee5d
2.3 Starting holer Service
Enter the directory: holer-client/bin
Linux platform:
Excuting an order: sh startup.sh
After 2.4 access mapping public address
1) access to the public network from the local WEB server, enter the following URL in your browser:
HTTP access:
by http://holer65004.wdom.net
orhttp://holer.org:65004
HTTPS access:
by https://holer65014.wdom.net
orhttps://holer.org:65014
. 2) SSH login system:
the commandssh [email protected] -p 65024
2.5 Advisory and assistance
Use holer encounter a problem you can first view holer log files, log Path: holer-client/logs
, it is easy to troubleshoot the specific cause of the problem.
More holer use examples, please refer to the technical data related holer .