[Nulled] » Hosting, Domains » External IP using VDS by creating an SSH tunnel
March 06 2024

External IP using VDS by creating an SSH tunnel

External IP using VDS by creating an SSH tunnel

External IP using VDS by creating an SSH tunnel


In this article, we will talk about creating SSH tunnels. First you need to figure out what SSH tunneling is in general, and why it is needed. And that's why it's needed: a) You need a connection between two machines over a secure channel b) You need to use the resources of the machine (or any computer that it sees) with a gray (internal) IP from the outside, through an additional server (or VDS) that has an external (white) static IP address. c) Other situations (in general, this is all described in man ssh).

Task: Redirect all connections from the 81 TCP port of the machine (A), which has an external IP 89.89.89.89, to the 80 TCP port of the machine (B), which is located behind NAT, and has an IP 10.10.10.10 in the local network.

Decision:

Log in to (B) and execute the following command

$ ssh -R 8181:localhost:80 [email protected]

The authenticity of host '89.89.89.89 (89.89.89.89)' can't be established. DSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '89.89.89.89' (DSA) to the list of known hosts. Password:

The system will ask if you need to continue the connection -- answer it in the affirmative (yes), and enter the password of the root user (or the desired one) of the machine 89.89.89.89.

That's it, now when requested http://89.89.89.89:8181 / will open http://10.10.10.10

Actually, instead of localhost:80, you could specify any of the IP addresses that are visible to the machine on 10.10.10.10.

P.S. In order for the SSH connection not to break when closing the connection from your PC to the machine (B), you need to put this connection on the screen.

$ pkg install screen $ screen Press Enter, after performing the actions described in the article, press Ctrl + A, Ctrl+ D, write exit, and enjoy life.





Information

Visitors who are in the group Guests they can't download files.
Log in to the site under your login and password or if you are a new user go through the process registrations on the website.

Comments:

    1. marat (👨‍💼🅿🆁🅴🅼🅸🆄🅼)

      01 April 2024 09:11 38 commente

      Thanks for your help, this topic is difficult for me, But I'm learning a little bit

    1. Charley (👨‍💼🅿🆁🅴🅼🅸🆄🅼)

      28 March 2024 07:10 13 commente

      Great thanks

    1. Pugilist (👨‍💼🅿🆁🅴🅼🅸🆄🅼)

      26 March 2024 10:54 14 commente

      They helped me a lot

Information the publication:

  • Author of the publication: Loser
  • Date of publication: 06 March 2024 10:47
  • Publication category(s): Hosting, Domains»,Server Administration
  • Number of views of the publication: 151
  • Number of comments to the publication: 3

Related News

06 March 2024
Hosting, Domains»,Server Administration
We get a white IP by

We get a white IP by forwarding ports from the VPS to your home server

Read more
04 March 2024
Hosting, Domains»,Server Administration
Installing and

Installing and configuring Apache on Ubuntu 22.04

Read more
06 March 2024
Hosting, Domains»,Server Administration
Setting up DoubleVPN

Setting up DoubleVPN based on OpenVPN on your own VPS.

Read more
06 March 2024
Hosting, Domains»,Server Administration
Hiding one server after

Hiding one server after another using portmapping.

Read more
06 March 2024
Hosting, Domains»,Server Administration
Protection of the VDS

Protection of the VDS Linux virtual server

Read more

Information

Users of 🆅🅸🆂🅸🆃🅾🆁 are not allowed to comment this publication.

Site Search

Site Menu


☑ Websites Scripts

Calendar

«    November 2024    »
MonTueWedThuFriSatSun
 123
45678910
11121314151617
18192021222324
252627282930 

Advertisement

Survey on the website

Evaluate the work of the site
 

Statistics

  • +15 Total articles 6747
  • +12 Comments 4077
  • +24 Users : 5841