0
votes
1answer
33 views

How to set up HTTP/SOCKS5 tunneling proxy on Windows using freeSSHd?

freeSSHd was set up on the server. Putty successfully connecting to server over SSH. I have tried to configure tunneling for SOCKS5 and HTTP but it failed to work. Especially was tested on Opera where ...
0
votes
1answer
12 views

Setup ssh tunnel to access FTP on a remote server

I have an FTP server which is only accessible from 1 cloud machine (limited by IP). Is it possible to create an SSH tunnel between my home computer and the cloud machine so I can access the FTP ...
1
vote
1answer
13 views

How to release ports on the SSH server when a reverse ssh tunnel disconnects abruptly/uncleanly

Ok here is the issue, We have a some hardware we install at our customers' locations, that hardware connects to our ssh server and establishes a reverse ssh tunnel so we can gain access to several ...
1
vote
1answer
17 views

Background chained ssh tunnel dropped instantly

I'm trying to establish the following chained ssh tunnel: ssh -A -t gatewayuser@gatewayserver 'ssh -N -A -t -R 55520:127.0.0.1:55520 user@dbserver' & This is part of a shell script, I want the ...
0
votes
0answers
18 views

connecting to an autossh tunnel using putty

I have a problem connecting to a reverse ssh tunnel created using autossh using Putty in windows. Here are the details: I have two servers, one at work and one at home, both running linux. At work I ...
1
vote
1answer
42 views

Use an SSH Tunnel to access a webapp on a phone through a middle-man

tl;dr: A -> B and C -> B works. How to get A->C to work? I have 3 hosts A. A local machine B. A middle-man C. A phone with a webapp running on port 333 Both A and C can SSH into B. So, A->B and ...
0
votes
1answer
48 views

VNC over SSH tunnel between Ubuntu Desktops 12.04 ¿All three 22, 5900 and 6000 ports open?

Ok, finally I got VNC over SSH tunnel working on LAN, but the objective is to use it on Internet, so I'm a little worried about the open ports the server has. Scanning the ports, I can see these ports ...
0
votes
1answer
27 views

Create a local SSH server (or proxy) for connection tunneling behind a proxy with authentication?

OS is Windows (any flavor, I can adapt). I'm having an issue where I need to connect to imap.google.com (and other services) and it only accepts port 995. If I try to connect normally, it timeouts. ...
1
vote
2answers
36 views

Restrict internet access through VPN/SSH tunnel to prevent leaking non-tunneled data (No router)

Pretty simple use case. Let's say I use various applications, and at no such time can any of these applications ever transmit data natively from my actual connection. Here's my actual problem in more ...
0
votes
0answers
71 views

How to setup Utorrent / Steam to work over SSH Tunnel

I have setup a SSH Tunnel using Corkscrew to bypass the HTTP Proxy and firewall to gain access to Internet but, the problem I am facing is that Utorrent is working only partially that is, only the ...
0
votes
1answer
23 views

ssh tunnel not working for external addresses

I am at a client site and they block some addresses so I am trying to use ssh to tunnel through my company's server. The tunnel works for intranet sites, but it fails but failing for pubic sites. ...
0
votes
2answers
42 views

How to combine ssh agent forwarding and tunneling?

I'm trying to Vagrant-ify a project in order to simplify dependency setup for my users. One of the dependencies is an SSH tunnel, from port A on host B to port C, using ssh's -L option. I can ...
0
votes
1answer
41 views

autossh - remote binding and closing the tunnel

I'm trying to tunnel computer a to computer b (using autossh) I want that port 8080 in a.com will be mapped to port 8080 in b.com from computer A: autossh -M 0 -q -f -N -o "ServerAliveInterval 60" ...
0
votes
0answers
17 views

Automatic ssh tunnel

I am looking for an easy way to automate my ssh tunnels. Basically I want a local daemon listening a series of local ports. If one program sends traffic to that port, the daemon should start a SSH ...
0
votes
1answer
33 views

vncserver -localhost and ssh tunneling

I'm trying to setup a ssh tunneled vnc connection from my centos 5.10 machine and I've been following some online tutorials such as this one: https://wiki.archlinux.org/index.php/Vncserver. I'm ...
0
votes
2answers
50 views

Tunnel HTTP traffic through a linux server

I want to tunnel data (HTTP / HTTPS) from one linux server through another to access proxies. The reason I cannot go straight to the proxies is because they are all firewalled and I have far too many ...
0
votes
0answers
10 views

Creating a three-hop ssh tunnel that php can use

I have read so many posts on this subject but I cannot get this right, mainly because most posts mention only two hops. I have a local php instance that needs to connect to an Oracle database like ...
0
votes
0answers
38 views

create openVPN tunnels like with putty

Is there a way to create a tunnel through a client open vpn connection the same way as you would through putty. Eg. forward localhost:1234 to 192.168.1.x:5678? The configuration I have uses the tap ...
2
votes
1answer
67 views

Hanging sshd process on remote host after reverse ssh tunnel connection gets broken

I set up reverse tunnel this way: function startconn () { ssh -N -b ${SRCIP} -X -R ${REMOTEIP}:${REMOTEPORT}:${LOCALIP}:${LOCALPORT} root@${REMOTEIP} & SSHPID=$! echo "$SSHPID" > ...
0
votes
1answer
39 views

SSH access a remote client through a tunnel

I'm a newbie with everything network related and i want to access a remote client through another server (tunnel), say for example a remote client 11.11.111.111 with username user2 and password2 , ...
0
votes
0answers
33 views

secure multihop ssh tunnel for http and https?

Suppose I have the following situation: ServerA hosts a website that is accessible only from other computers on its local LAN (ie there is a firewall preventing any access from IP addresses outside ...
1
vote
1answer
52 views

Accessing a remote machine with or without ssh tunneling

I just want to educate myself on an interesting issue here. When I curl a URL I get this error curl "http://myserver:8888/payload" curl: (7) couldn't connect to host However when I setup a tunnel ...
2
votes
1answer
57 views

How to use google search via SSH tunnel?

I live behind the Great Firewall of China (not very proud of it) and I'm slightly technical. So I use SSH tunnel to route all connection to my VPS. (i.e. ssh -D port and then set localhost:port as a ...
1
vote
1answer
111 views

Send Telnet command inside a SSH Tunnel

I want to connect my personal computer to some routers via Telnet, for managing them. Actually, my routers is in another network. I open the console, make a SSH connection to the Main Mahcine, and ...
0
votes
1answer
36 views

Remote pc connection

I need to connect to a remote pc from my desktop. My goal is to use an SSH connection to control the remote pc with my desktop. The remote pc and the desktop are in two different networks (behind a ...
0
votes
0answers
25 views

SSH reverse tunnel fails to automatically restart. How to make sure it times out properly?

#/bin/bash echo "Opening tunnel..." ssh -o ConnectTimeout=10 -gnN ... user@se.rv.er 1>>tunnel.log 2>&1 & PID=$! echo "Tunnel is now open." wait $PID echo "Tunnel is now closed." ...
0
votes
1answer
64 views

How to properly open a SSH tunnel for a program and close it afterwards?

I want to run a command that needs a SSH tunnel for its operation (opening TCP connections repeatedly). After it exists, the tunnel needs to be closed again. The problems I encountered are: I can ...
0
votes
1answer
644 views

SSH Tunnel for restricted user w/ PuTTY and no shell

so I have been using SSH tunnels to restrict access to internal sites or portions of public sites for a while now, and since only admins had SSH access at all I've been using standard non-root/sudo ...
1
vote
1answer
230 views

Reverse SSH tunnel - Fails on Certain Ports

I'm trying to forward very specific ports using a reverse SSH tunnel. MachineA is the target machine (the one the command is being run from) and MachineB is the tunnel (the one SSH is connecting to ...
0
votes
1answer
110 views

Setup IPv6 over IPv4 tunnel in VPN

Let me explain my szenario: I have a linux server A. A is reachable in a VPN. So if I am connected to the VPN over Internet I can successfully ping A. Server A is connected to a Router B. Router B ...
0
votes
0answers
20 views

UDP tunnel over SSH : almost? [duplicate]

I am trying to set up a UDP tunnel over SSH but it doesn't work. Machine A is under Windows Machine B is running Linux I want to connect (voice over IP) from machine A to machine B via UDP with ...
0
votes
1answer
68 views

SSH without portforward

I have a raspberry pi lying around in my dorm room. It's connected to campus internet which has all ports closed and I obviously don't have any access or permission to port forwarding. Now I want to ...
0
votes
0answers
230 views

httptunnel over ssh getting: Write failed: Broken pipe

I am trying to create httptunnel with OpenWRT router as the server. Unfortunately, it doesn't work. I do it this way: router: Start hts to redirect port 80 to 22: $ hts -F localhost:22 80 netstat ...
0
votes
2answers
58 views

From which host are names resolved for SSH tunnels?

If I am on hostA and connect to hostB with SSH, simultaneously creating a tunnel with the -L and/or -R options, and I specify the tunnel destination symbolically as hostC, who resolves the name to an ...
0
votes
0answers
123 views

How can I set up Reverse port forwarding with remote desktop over UDP(Not TCP)?

The scenarios is as following: I have two computers, let's say one is work computer and one is home computer. The work computer is behind a firewall and I want to have access to port 3389 so I can ...
0
votes
2answers
176 views

How can an outgoing OpenVPN connection fail when an additional incoming OpenVPN connection is added?

I have the very strange behavior that my VPN-connection to a remote location "restarts" every couple of minutes when I logged on to the connecting machine via another VPN tunnel. When I sit in front ...
0
votes
1answer
20 views

I want to automate the tunneling of putty such that Source port and destination can be entered automatically and then putty opens automatically

I want to automate the tunneling of putty such that Source port and destination can be entered automatically and then putty opens automatically. strong text
0
votes
1answer
90 views

How to SSH Tunnel with -L command?

Im trying to use a SSH tunnel for games, website browsing etc. I'm trying ssh -L 8080:runescape.com:80 ****@*****.serveftp.com Problem is, when I reach localhost:8080, it says "Service ...
0
votes
1answer
161 views

Tunneling to access a remote server: channel 2: open failed:

I've tried looking at similar articles here but they haven't helped. I am using a tunnel to forward traffic to port 8080 of a server using the following command: ssh user@ -L 8080:SERVER:8080 -N It ...
0
votes
0answers
119 views

Remote Desktop (RDP) + Tunneling

Sorry for the long story, I tried to be crystal clear. * A little back ground * As part of a project we need to be able to access certain computers (hereafter called clients) using remote desktop ...
0
votes
2answers
278 views

Avoiding geo-blocking with SSH tunneling

I live in UK and I need a Spanish IP to access some content on the internet. I rented a VPS server based in Spain, which has a Spanish IP. Now I folowed this tutorial to create a SSH tunnel to my ...
0
votes
1answer
256 views

unable to connect to mysql over ssh tunnel to virtual machine

my setup host: win 7 guest : opensuse [10.0.2.15] Ports forwarded 80, 22 from 127.0.0.1 to 10.0.2.15 Connection to VM using winscp with user@127.0.0.1:22 using public key authentication is working. I ...
0
votes
1answer
81 views

Can you do continous ssh tunneling?

I saw here a way to do two ssh hops ssh -L 9998:host2:22 -N host1 ssh -L 9999:localhost:1234 -N -p 9998 localhost I think I understand what one line does, but not how they work together. Can ...
1
vote
2answers
149 views

How to host a minecraft server without portforwarding

I have a VPS that I dont use but it dosn't Have much ram. I setup a minecraft server on my PC but I don't want to port forward. Is there any way I can use a SSH Tunnel to let my server work?
0
votes
1answer
95 views

How to tunnel a port from a server behind a firewall to a remote server that allows connections via ssh?

I have a scenario where I need to open up a port for a server behind an ISP that appears to be blocking traffic. In this case I have a dedicated server remotely that I can ssh into and use whatever ...
1
vote
1answer
110 views

SSH tunnel and firewalls

Can a firewall still block things off a tunnel going trough it ? I am testing my proxy with Dante in China and works flawlessly but I have the same config on a proxy in Ireland that goes trough a ...
2
votes
1answer
336 views

Linux SOCKS5 tunneling not working with udp traffic

I am using the command ssh -N -D 0.0.0.0:1080 localhost which works perfectly fine for my web browser, but when I try and tunnel a UDP traffic application it doesn't work. I thought that socks5 ...
0
votes
0answers
85 views

Reverse tunelling from office machine running Windows 7 for VNC, SOCKS and SSH

My work machine runs Windows 7 and the workplace proxy does not route to my home machine. I would like to access VNC(already setup using tightVNC), SSH(already setup using openssh on Cygwin) and SOCKS ...
1
vote
3answers
1k views

DNS over SSH Tunnel

I want to setup my OSX system such that all network traffic is done through an SSH tunnel. I've written a small script for this purpose, and these are the commands executed by it: // setup tunnel ...
0
votes
0answers
45 views

Chroot SFTP and tunneling

I am attempting to give chroot sftp access to a group, as well as giving limited tunneling capability. I can give one or the other, but haven't figured out how to do both at the same time. The ...