How does one access the Linux server after NAT through SSH reverse tunnel? (1)
Suppose you are running a Linux server at home, which is behind the NAT router or restricted firewall. Now, you can connect to the home server through SSH
Using ssh tunnel to connect to the mysql server, sshtunnel
Preface
In some cases, we can only know the Intranet address of the database and cannot connect to the database through the Intranet. However, we can log on to other machines on the same Intranet and these machines can access the database through the Intranet, then we can access the database through
Tags: database server securecrt navicat SSH tunnel Port forwardingFor security reasons, the database server is typically deployed only on the intranet, or if it is deployed on a public network, but only for certain designated IPs. But if the data is eventually queried by the public, there will always be a channel to ac
I've heard of this technology, and I'm interested in it.
I want to visit my machine in the company at home (write programs, check data, next movie).
Company in order to prevent us with the XX software blocked its port or server address.
Companies do not let us on the XX website, limited the URL or even IP.
Companies do not let us see the information about XX, and even spend the money to buy XX equipment, to filter the content. A look at the contents
Forward TunnelThe topology is as follows:650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/7F/A8/wKiom1coD96CeuYIAAAnPHayOLU217.png "title=" 1.png " alt= "Wkiom1cod96ceuyiaaanphayolu217.png"/>DescriptionThe client cannot access the Web server directly, and the agent can access the Web server;By creating an SSH forward
Background information:
Currently, there are several data centers on the line, the speed difference between different data centers is relatively large, we generally choose an optimal data center as a VPN access point.But sometimes it is slow to access other data centers directly through the VPN, so it is temporarily resolved via SSH tunnel.
Application Scenario:
Direct access to the
Recently, I debugged the public account function. when receiving the push, I didn't want to submit it to the server to view the log every time. so I used the reverse proxy of Nginx to forward the requests received by Port 80 on the server to 127.0.0.1: 9000 and then use ssh to build a tunnel to set the server's 9000...
easily cross the wallUse the ssh-d command to directly proxy to the target, and the target will be automatically monitored and forwarded. Support SOCKS4 SOCKS5 agent. SSH can act as a SOCK5 proxy server here. Specify a port that is then forwarded by this port as the SOCKS proxy server.SSH-TND 9999 [email protected]_server port after the target
0. PrefaceNC is a good tool for both ends of the network connection, but also a temporary port forwarding. (What is the permanent port forwarding?) With Iptables)SSH is also a good tool in this area, the advantage is that encryption is reliable reusable at one end of the operation, at the cost of having a login account.We know that SSH automatically encrypts and decrypts all network data between the
Recently debug public number function, do not want to submit to the server every time to read the log
So on the server with the Nginx reverse proxy to the server 80 port received the request forwarded to the 127.0.0.1:9000
Then using SSH to tunnel the
Now connected to an IDC MySQL server, due to network isolation, the need to ssh to a springboard to direct access to MySQL, and I want to use mysqlworkbench such as local clients directly connected to MySQL. The solution is to set up an SSH tunnel with the SSH command, and t
Tags: SSH tunnel encrypted WiresharkUse the "SSH to build up" the tunnel access to other computer can make the communication encrypted and secured, tested on th E HTTP service by using the SSH tunnel access,1, use the Wireshark to
Sometimes back to SSH tunnel, the manual use of SSH to create these is not too big a problem, but if you try to boot, write a shell script and run the script in Rc.local is not successful, the reason is not known.Later discovered autossh this thing, not only can create SSH tunnel
Python via SSH tunnel link Kafka There's a need to connect recently. kafka ssh connection kafka As for how the connection can be through xshell proxifier And so on, because individuals still feel that they write more flexible, so I am using python sshtunnel as the author here The Kafka environment uses Zookeeper for distributed deployments, with
I just discussed it with the two heroes in the group. I will summarize it and share it with you.
Now there is an intranet machine S6 and an Internet machine S7. We need to connect from S6 back to S7.
Run
Ssh-R 4022: localhost: 22 s7
At this time, the system will log in to S7, and a 4022 tunnel port will be opened locally in S7 to access IPv6.
Then execute ssh loc
External network access test machine.The Windows machine uses SSH to reverse tunnel. Service side using reverse proxy
Install Openssh-win and set environment variables under win
Open cmdC:\users\administrator>ssh-p 22-r 1999:localhost:8080-b 0.0.0.0 [email protected]-R 1999 Port of the remote machine-B External network segment monitoring, no 127.0.0.
(full address)Way two: Nmap-p 22222 HOSTP #open或close状态2. Crossing the TunnelSSH 22222 [[Email PROTECTED]]HOSTPShould be denied access when Gatewayports is not set, you can log in to HOSTP first, and then log on from HOSTP aSSH [Email protected]]hostp ----> ssh22222 [email protected]]localhostIf you want to use ssh-p 22222 directly [[email PROTECTED]]HOSTP Reference 3. 3. Add a line gatewayports Yes on HOSTP/etc/
Sometimes back to SSH tunnel, the manual use of SSH to create these is not too big a problem, but if you try to boot, write a shell script and run the script in Rc.local is not successful, the reason is not known.Later discovered autossh this thing, not only can create SSH tunnel
Navicat Mysql SSH tunnel can not use a springboard machine, for the need to log on the board of the host, his own SSH tunnel is a chicken. In fact, from the principle of analysis, there is no need to open his SSH tunnel, using the
Using autossh to ensure the stability of the ssh tunnel we recently hope to establish is reliable. Sometimes the process is still in progress, but the connection is no longer valid. Autossh is a good thing. Installing apt-get install autossh in Ubuntu is simple, for example, the original command of Using ssh: [plain] ssh
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.