Questions tagged [ssh-tunnel]

An SSH tunnel allows forwarding any traffic over the SSH protocol. This is used to secure the transmission or allow data to be exchanged where network restrictions are in place.

564 questions
5
votes
2 answers

autossh not working in background

I am trying to setup autossh to run a tunnel to my VPN server. If I use autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 10000:localhost:22 console@ it seems to work well and I can use the tunnel. However, if I add a…
3
votes
2 answers

Reverse ssh on windows 10

I am running Windows 10 for my home PC with bitvise SSH server, and a VPS Ubuntu ec2 instance from Amazon. My ISP blocks ssh from coming IN, but I can connect to other SSH servers outside my LAN no issue. I have confirmed this by calling my ISP and…
2
votes
1 answer

tcp/ssh forwarding: laptop <-> cloud server <-> home server

I have the configuration as follows. At my home computer I launch jupyter notebook on port 7000 and set up reverse ssh to my cloud server ssh -f -N -R 9000:localhost:7000 cloud_user@cloud.hosting.com I want to access jupyter from my laptop…
1
vote
1 answer

Port Forwarding/SSH Tunneling Dilemma

I am in a situation where I need to forward port 9999 on host3 to my localhost. To make it clearer, here is the path between me and the target localhost----->{Firewall_1 Here}---->host1------>{Firewall_2 Here}---->host2------->host3 I know that I…
Ahmed Taher
  • 111
  • 3
1
vote
1 answer

How do I create a service that directs traffic to an SSH tunnel?

I have the following scenario: A service listening on port 6678 on Computer C Only computer B can access computer C via ssh Computer B is accessible globally I would like to do the following: Setup a service on a Computer "A" that listens on port…
iamus
  • 11
1
vote
2 answers

Can I tunnel from public server to private server?

Originally, my question read "Replication possible with mysql master on private net and slave on Internet?" but then realized the problem is with the tunnel, not the replication. A little history: We host our websites and email on the private…
0
votes
1 answer

SSH Tunnel between two VPNs

I have an ssh tunnel from my home router (R) to a VPN (A). Can I setup another tunnel from another VPN (B) to my home router (R) in a way that traffic from VPN A to VPN B will be tunneled? I'm looking for the following A <-> R <-> B. My final goal…
Vladimir
  • 285
0
votes
2 answers

Is it possible to transfer all net traffic through ssh-tunnel

My question is simple: is it possible to transfer all net traffic through an ssh-tunnel such that a user (i.e. me) does not have to change any configuration in the programs (e.g. firefox) accessing the internet. (I know that it is possible for…
Fabian
  • 103
0
votes
0 answers

SSH Socks Proxy not changing public ip address

Hey everyone I used the command ssh -D 9090 username@ipv4_address I changed the proxy settings on firefox to the localhost 9090 but it doesn't change the public ip address I'm using ubuntu 18.04 and not using VM in case that helps edit: I checked…
0
votes
0 answers

SSH tunnel created from remote location but unreliable access from local computer

Two computers: Desktop-Ubuntu; fixed local IP, connected to a modem with port 22 open and forwarding to it. Because of dynamic IP I have a no-ip account. So domain-Desktop-Ubuntu.com forwards incoming requests to this computer. Remote Raspberry…
dstonek
  • 153
0
votes
1 answer

Bypass DS-Lite via reverse SSH Tunnel

My ISP unfortunately only provides a DS-Lite connection (no IPv4 address, only a IPv6 address) which makes it impossible to create IPv4 port forwardings to access devices in my local network. But I have a vServer with an IPv4+IPv6 address and a user…
Patrick
  • 143
  • 8
-1
votes
1 answer

I'm doing SSH Reverse Tunnelling and can't connect to the tunnel

I have a Windows 11 box running IIS on 127.0.0.1 on port 80, which is connected to the Internet through a CGNAT. I also have a VPS from Linode(a VPS supplier). The VPS's IP address is 139.162.19.185. I want to connect to servers/ports on my Windows…
-1
votes
1 answer

How can I prevent ssh timeouts

I have a remote tunnel set up using this: ssh -R 2022:127.0.0.1:2222 -N -f ubuntu@django.vietfeir.com -i .ssh/djangoserver The remote machine can SSH successfully but the connection only lasts about 10 minutes before it either times out or locks…