Recently, I was very depressed about this issue.
Our community is zhangkuan (Great Wall broadband). At the beginning, apart from the poor speed, there was no harm. We could also get online 24 hours a day. When I arrive at the company
Use ssh to connect your machine. If you need anything, It is very convenient.
However, after a while, we found that the standard port 22 could not be connected to our own machine, and the ping from the company could not be connected to our own machine. It is suspected that the router node is playing tricks, so ssh is transferred to Port 80, and the problem is basically solved.
This is not a long time. Today, we found that even port 80 is inaccessible.
So I found this online.
This means that you can reverse connect to an intranet host (a host with a firewall) through ssh)
Well, the following are the steps:
0. Install ssh on both sides
1. Run ssh-f-N-R 10000: localhost: 22 username @ master ip address on the control end. Here, port 10000 and port 22 are the port numbers, that is, a channel is established on port 10000 of the master and port 22 of the control.
2. Run the sshusername @ localhost-p 10000 command on the master side. Here, username is the username of the accused, and 10000 is the port number.
OK.