Questions tagged [reverse-tunnel]

72 questions
9
votes
1 answer

How to get a persistent reverse SSH tunnel using autossh?

(just asked this on SO but was adviced to take it here) I managed to create a reverse SSH tunnel between a Raspberry Pi 2 and a server of mine (server which has a static IP) and it works fine. The user account I'm using on the server is called…
Cedric Martin
  • 464
  • 2
  • 6
  • 12
7
votes
1 answer

Reverse tunnel, remote desktop session hangs when moving PuTTY window

I have a ssh server on my Windows 10 computer at home and when I set up a reverse tunnel from my Windows 10 work computer with PuTTY with this command: putty.exe -ssh user@xxxxxxxxxx -R 9999:localhost:3389 I can use remote desktop at home and log…
Joost
  • 171
  • 3
6
votes
1 answer

How do I share a reverse SSH tunnel on a network?

I have a remote computer on a 3G PPP connection. I can't connect to this computer via the Internet as I believe the PPP IP pool uses NAT to connect to the Internet (I get given a 10.x.x.x address when I connect) So I get the remote computer to…
Matt Cooper
  • 61
  • 1
  • 2
5
votes
1 answer

How to specify what port RDP responds to?

I need to figure out a way to force RDP(Remote Desktop) to respond to a specific port Instead of a RHP(Random High Port). I am not asking how to change what port RDP "Listens" on, but rather the opposite. I am attempting to set up an experimental…
Kentgrav
  • 1,482
  • 1
  • 16
  • 18
4
votes
1 answer

Expose a Reverse SSH Tunnel on the Remote server

I set up a Reverse SSH tunnel from my home computer to my work server: ssh -f -N -R 19999:localhost:22 remoteuser@server To connect to my home computer I have to first log in to the server and then from there log in to my home…
3
votes
1 answer

Is it possible to make a reverse tunnel using MOSH?

on My PC: mosh --ssh="ssh -R 1024:localhost:22" root@RaspberryPi on Pi: ssh -p 1024 root@localhost But I got this message: pi@raspberrypi ~ $ ssh -p 1024 root@localhost socket: Address family not supported by protocol ssh: connect to host…
user1150125
  • 31
  • 1
  • 4
3
votes
1 answer

Run a server behind router

I own a virtual private server. I currently want to run a server on my local computer (behind a router that I don't have admin access to so I can't port forward). Can I use the virtual private server as a tunnel or proxy for my local server so…
Molten Ice
  • 398
  • 3
  • 12
3
votes
2 answers

Need to figure out a way for RDP to call back to a local listener on a specified Ephemeral port though a Reverse SSH Tunnel

This relates to a previous question that was getting entirely too long and confusing due to my constant updates and edits and I was told to re ask it. So I am cleaning it up and asking a more direct question. First off this is a theoretical…
Kentgrav
  • 1,482
  • 1
  • 16
  • 18
3
votes
1 answer

View router webpage via remote PC

Not sure if this can be done but here goes. What I want to acheive is this, a user on a laptop can view a router web page that is on another PC (client), the route to this client is via another PC (Server). So the connection is from Laptop to…
Pauls
  • 33
  • 3
3
votes
0 answers

How to find out dynamic reverse SSH remote port without sudo

I can initialize reverse SSH from client with following command: $ ssh -R 0:localhost:22 Allocated port 42853 for remote forward to localhost:22 How can I figure out that 42853 port from the server side without sudo?
Jaakko
  • 320
  • 3
  • 12
2
votes
2 answers

Browsing through ssh socks proxy -> through reverse tunnel

I have HostA behind a firewall establishing a reverse ssh tunnel to HostB. I want to setup a proxy on HostB that will forward the connection through the reverse ssh tunnel and out through HostA. I tried ssh -D 5678 user@localhost -p 1234 yet…
2
votes
1 answer

SSH reverse tunnel to monitor and manage remote devices

I have a set a distributed set of devices running Ubuntu 12.04 that I am distributing to clients. I would like to manage them remotely. They may not have fixed IPs and potentially might be behind firewalls. What I am planning to do is have the…
2
votes
1 answer

connect to Windows share from Ubuntu Server using reverse ssh tunnel

I'm missing a piece of this puzzle so I hope someone can help me. The SETUP: My computer with Windows O/S is behind a NAT/Firewall at work and I can not open any ports to forward. At home I have a Ubuntu Server. I'm able to use a ssh client (putty)…
Benjamin Jones
  • 644
  • 2
  • 21
  • 44
2
votes
1 answer

Reverse ssh not working. ssh_exchange_identification: Connection closed by remote host

This is what I run in the server(A) to open tunnel: ssh -vf -N -T -R 222:localhost:22 me@myserverip -p 2222 This is what I run on the myserver server(B) to use the tunnel: ssh -vp 222 me@localhost Here Are the logs after trying to use the…
2
votes
1 answer

How to host a local server using Heroku?

I want to host a Node.js website running on my laptop, so that it would be accessible to other people. I have tried port-forwarding on my router, but it does not work because my ISP has stopped providing public IP address to home users. Another…
1
2 3 4 5