Is it dangerous to expose your IP address?

Xiao Rui's IP is 127.0.0.1, fidelity!

Hackers please ravage me!

 

The above is a joke, the real IP address is divided into local loop address, private network address, and public network address.

1. If the local loop address is exposed and you are at ease, there is no danger at all

At the beginning of this article, just like Xiaorui shaking smartly, this 127.0.0.1 is a local loop address. Everyone who visits this address is visiting themselves. In this case, there is no risk.

Since you are visiting yourself, what is the use of this address?

 In the ancient times when the Internet was just emerging, when the TCP/IP protocol was used, you can check whether the protocol has been installed on your machine by visiting 127.0.0.1.

Of course this is useless now, and all Internet products nowadays do not support this protocol.

Most of the access to the local IP is for testing purposes. For example, I installed a website server on my computer so that the test site I built can be accessed for output and debugging.

In addition, nginx (web server) and mysql (database) are connected. If the two are on the same server, you can also use the address 127.0.0.1 to connect, and you can access yourself.

 

2. Exposure of the private intranet is dangerous

The private network address, as the name suggests, is used in the local area network.

The private address is these

All addresses beginning with 192.168

10. All addresses beginning with

All addresses starting from 172.16 to 172.31

These intranets cannot communicate across networks, but they can communicate within the intranet.

It seems that there is no danger in exposing the intranet, but if there is a hacker on the intranet, you will win the prize.

Or if the public network equipment is compromised, hackers can also access the target website by proxying the intranet IP.

However, the probability of the above situation is not high. If someone is not specifically targeting you, the problem of exposing the intranet IP is not too serious.

 

3. Exposure of public network IP, the danger has increased a lot

Intranet IP only has a communication function in the intranet, your intranet cannot play LOL, cannot play the king, and cannot eat chicken.

But the public IP can.

Some people may be wondering why this machine is obviously 192.XXX.XXX.XXX, how can Baidu become a public IP?

Here is a technology called nat, this article will not go into details, follow-up Xiao Rui will talk about it separately in the public account!

If this address is exposed, hackers can directly communicate with this address from the Internet, and then use technical means to compromise the Internet border device, which is the router or firewall just mentioned, and then use technical means to find our private network IP, and then pass Technical means hacked into our computers.

This method is feasible, but hackers are also time-consuming and laborious and may not be successful. Even the cost of the hackers themselves is not low. Why would hackers do this?

The hacked person is the person on the Steve Jobs rich list, he can make a lot of money by hacking our account.

Otherwise, the other party is a beauty star, and getting life photos or other weird photos in the dark can simply make a profit.

 

Of course, being hacked is an advanced one. Remember to format the hard drive before taking the computer for repair!

 

In short, exposing IP is indeed dangerous, especially when public IP and private IP are both mastered, but compared to this, it may be safer to install less weird software on our computers.

Long press the QR code to follow us

New Ruiyun makes cloud services within reach

Cloud Host|Cloud Storage|Cloud Database|Cloud Network


Guess you like

Origin blog.csdn.net/bingbob/article/details/108413734