Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to map multiple ports of Linux virtual machine to external network access by Holer

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "how Holer maps multiple ports of Linux virtual machine to external network access". The content of the article is simple and clear, and it is easy to learn and understand. Please follow Xiaobian's train of thought to study and learn "Holer how to map multiple ports of Linux virtual machine to external network access".

WEB server is installed on the local Linux virtual machine, HTTP and HTTPS are enabled, and SSH port access is enabled. How to access the WEB server on the virtual machine through HTTP and HTTPS from the public network? How do I log in to a Linux virtual machine from the public network SSH?

This article describes the specific steps to implement using holer.

1. Preparation 1.1 install Java 1.7 and above

Execute the command java-version to check that Java is installed and configured correctly.

1.2 install and start the WEB server

The default installation of the WEB server HTTP port is 80jie HTTPS port is 443.

two。 Implement step 2.1 download and extract the holer package

Holer package: holer-client.zip

2.2 modify the holer configuration file

Apply for your own Holer Access Key on Holer official website. For example, the holer information you applied for is as follows. Here we take the holer information as an example:

-Holer Client: holerdemo@gmail.comAccess Key: 6688daebe02846t88s166733595eee5d-Domain Name: holer65004.wdom.netInternet Address: holer.org:65004Local Address. 0.0.1:80-Domain Name: holer65014.wdom.netInternet Address: holer.org:65014Local Address: 127.0.0.1 -Internet Address: holer.org:65024Local Address: 127.0.0.1 purl 22-

Modify the configuration file: holer-client/conf/holer.conf

The configuration item is updated to: HOLER_ACCESS_KEY=6688daebe02846t88s166733595eee5d

2.3 start the holer service

Enter the directory: holer-client/bin

Linux system platform:

Execute command: sh startup.sh

2.4 access the mapped public network address

1)。 To access the local WEB server from the public network, enter the following URL in the browser:

HTTP access: via http://holer65004.wdom.net or http://holer.org:65004

HTTPS access: via https://holer65014.wdom.net or https://holer.org:65014

2)。 Log in to the system with SSH: use the command ssh root@holer.org-p 65024

2.5 question consultation and help

If you encounter problems in the process of using holer, you can first check the holer log file, log path: holer-client/logs, so that it is easy to find out the specific cause of the problem.

For more examples of using holer, please refer to the technical materials related to holer.

Thank you for reading, the above is the content of "how Holer maps multiple ports of Linux virtual machine to external network access". After the study of this article, I believe you have a deeper understanding of how Holer maps multiple ports of Linux virtual machine to external network access, and the specific usage still needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 246

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report