0
votes
0answers
9 views

Port forwarding does not work [migrated]

I am connecting to office network through VPN. I have two servers A and B. I have ssh/tomcat access to A through VPN but not to B. When I ssh into A, from there I can ssh into B. Also, B is running ...
1
vote
1answer
44 views

Using a reverse tunnel to access a firewall-ed web server serving HTTPS

I have a device ("A) on my network that only serves content via HTTPS, it's not accessible as its behind my router/firewall. I have another machine ("B"), elsewhere on the internet (fake IP of ...
0
votes
0answers
72 views

Establish an SSH Tunnel out from behind a firewall

I have a box sat behind a firewall, and when its powered on (or internet connection resumed), I want it to connect to a server, allowing me to do a reverse SSH connection back to it. I'm currently ...
0
votes
2answers
89 views

ssh tunnel setup via a gateway, possible?

local -> gateway ( only ssh port enabled ) -> remote I can ssh to gateway then to remote, no problem. Can I establish a ssh tunnel between local and remote via gataway? I 'd like to access ...
0
votes
0answers
102 views

Reverse SSH Tunnel closes after first connection

I am using a reverse SSH tunnel to expose a webserver within my network to the internet. The “inside server” is behind a firewall within a network. The “outside server” is an Ubuntu server with a ...
0
votes
1answer
70 views

how ssh knows to proxy the traffic under tunneling?

client <--> local SOCKS proxy <--> remote VPS (SSH) server I wants to know , when the client sends a HTTP request (www.youtube.com) , and the request reached the VPS server through SOCKS proxy ...
0
votes
1answer
463 views

SSH Tunnel can't connect - connection times out, even though regular login works

I am trying to set up an SSH tunnel with a SOCKS proxy in Firefox, so I can surf the internet securely from public wifi. Both client and server are running Ubuntu 12.04 LTS. After setting up port ...
1
vote
2answers
240 views

What is the difference between SSH and SSH Tunneling

As the title says, I don't really understand the difference between them. For example, if I connect to a specific server through SSH without tunneling I get the same shell as I get with tunneling.
2
votes
2answers
2k views

strange output on ssh tunneling: output failed; connect failed: Connection timed out;

I use ssh user@xx.yy.zz.41 -p 1234 -D 9898 command for tunneling, and I set firefox socks5 ip to 127.0.0.1 and its port to 9898. It works successfully ,but in terminal I have error in output: ...
0
votes
1answer
161 views

Route all internet traffic through SSH tunnel

I currently have set up an Amazon EC2 Virtual Private Cloud. Because of IP limitations I can't provide all the instances in the VPC an elastic IP. I have one public facing server and I have a bunch of ...
1
vote
1answer
373 views

Ssh socks server doesn't work [closed]

I want setup socks server on my localhost which forward all http traffic on my remote server for bypass firewall rules at my work net. And so I start it as usually sudo ssh -C2qTnN -D localhost:8080 ...
0
votes
0answers
331 views

Reverse SSH tunnelling for browsing the internet on a distant server without internet connection

I need to connect myself (Mac OSX) through SSH on a distant server (Unix also) which has no internet access. I would like to browse the internet on the server (updates and other stuffes), so I've made ...
3
votes
1answer
1k views

What is the purpose of netcat's “-w timeout” option when ssh tunneling?

I am in the exact same situation as the person who posted another question, I am trying to tunnel ssh connections through a gateway server instead of having to ssh into the gateway and manually ssh ...
1
vote
2answers
570 views

Tunnel an SSH connection transparently (no ProxyCommand)

Here's the scenario: the user runs "ssh -i sshkey user@server1". I want the SSH connection to be tunneled through server1 to server2. Normally, the user could do this himself using: ssh -i sshkey ...
8
votes
1answer
2k views

mosh tunnel via proxy

I'm a growing fan of mosh and am increasingly using it when I have unreliable wifi links. What I am trying to figure out is how to build a tunnel through a server which is in a DMZ (connected to ...
0
votes
3answers
2k views

Keeping an SSH Tunnel open, and running a remote command

A computer behind a firewall (at a remote location) connects to my server to open a tunnel... the intention is that from the server I can connect to the computer over SSH. The computer makes the ...
3
votes
3answers
144 views

SSH port forwarding through Windows machine

is it possible to connect to an SSH server only accessible from inside a network, using a Windows machine without SSH as a gateway?. Let me clarify my question with a sketch: Me (Linux machine)---> ...
2
votes
1answer
481 views

portforward ec2 instance to localhost for rails development

I'm trying to work with facebooks real-time updates but I'm having trouble giving facebook a callback address that they can use. My dev machine is behind a firewall so I want to use an ec2 instance to ...
3
votes
1answer
2k views

SSH VPN tunnel without having to enable root

ive been trying to setup a VPN SSH tunnel and ive had success executing ssh -Nv -w 0:0 root@192.168.2.2 -p 50 however what i am wondering is, can i do the tunneling without having root unlocked ...
3
votes
3answers
3k views

How to assign a hostname to SSH tunnel

I'm using ssh root@my.server.ip -g -L 4321:localhost:28017 to establish a tunnel from my MacBook to my dedicated server at my hosting provider. It works well. Now I want to access several admin sites ...
5
votes
2answers
4k views

SSH tunnel over multi hops using putty

I have a situation where I want to connect to a Linux machine running VNC (lets call it VNCServer) which is behind two consecutive Linux machines i.e., to ssh into the VNCServer, I have to ssh into ...
1
vote
1answer
573 views

Tunneling into vpn using squid and ssh-tunnel

intro: In order to access the administrative console of a certain datacenter I am supposed to use a VPN. However due to company network setup I cannot establish a vpn connection (I was told that they ...
1
vote
2answers
279 views

Tunnel SSH from A->B->C [closed]

I'm looking to setup a tunnel using PuTTY on Windows. Ideally I'd SSH directly from A->C, however, I can't from the network I'm on. I can, however connected from A->B->C. C is running a vncserver, ...
2
votes
0answers
403 views

SSH reverse tunnel for Windows RDP

Microsoft RDP seems to behave strangely when forwarded via ssh reverse (-R) tunnel. Some products can handle it without a problem (i.e. tunnelier) some fail (libssh2, putty). When connected, the ...
2
votes
3answers
2k views

How to avoid stalled scp transfer when tunneling through a gateway over ssh?

I'm try to transfer a large (1GB+) file from one machine to another, but I have to tunnel through a gateway in between. I'm able to transfer small files just fine. However, with the big file, the ...
0
votes
3answers
153 views

running a command after the ssh has opened the tunnel

I want to run some process that requires an opened ssh tunnel. How do you run some command AFTER the ssh tunnel is successfully opened? Timers are not good enough as network speed and remote machine ...
2
votes
1answer
718 views

Making a multi hop SSH tunnel a mysql server (3-4 hops)

I'm trying to get to a mysql server on a remote network, and to get to it I currently have to do several ssh hops, so I can use the mysql command line interface. I'd really like to do a mulit-hop ...
0
votes
0answers
541 views

How to set up SOCKS5 with SSH tunnel via tcpsocks?

I try to set up a Ubuntu System that routes all traffic through a socks5 ssh tunnel to a Debian proxy machine. tcpsocks https://github.com/vi/tcpsocks seems to do this, but I failed to set it up. I ...
-1
votes
1answer
72 views

how to ssh to the machine behind the firewall? [duplicate]

Possible Duplicates: SSH to a computer that will then SSH to another computer how to ssh to the machine behind the firewall? I have 3 Linux machines A, B and C. I can ssh from A to B; B ...
-1
votes
2answers
248 views

how to ssh to the machine behind the firewall? [duplicate]

Possible Duplicate: SSH to a computer that will then SSH to another computer I have 3 Linux machines A, B and C. I can ssh from A to B; B to C but not from A to C directly because C is ...
0
votes
1answer
454 views

Debugging flaky SSH tunnel

We have a dedicated SSH tunnel server, which supports a few dozen remotely located hosts. The hosts each create a reverse tunnel into the server with assigned port numbers, using autossh to keep the ...
1
vote
2answers
2k views

SSH Tunnel slow

I just moved halfway across the globe and am having a strange connection issue. I have a 4 Mbps dsl connection, can successfully ssh into my server, and setup a tunnel. I use PuTTY (on my desktop - ...
0
votes
2answers
611 views

SSH option AllowTcpForwarding is bypassable?

I understand this is used to prevent users from using the server as a proxy. But if the users can use curl/wget, doesn't that mean it's essentially bypassable? The manual page regarding SSH also said ...
0
votes
2answers
102 views

Tunnel SSH “Client -> Firewall -> Server1 -> Server1.2”

I need to make a tunnel from a client box to a server. The problem is that there are 2 boxes between them: CLIENT --- FIREWALL ---{ SERVER1 --- SERVER1.2 } CLIENT ============================= ...
1
vote
1answer
977 views

Forward all traffic through an ssh tunnel

I hope someone can follow this and I'll explain as best I can. I'm trying to forward all traffic from port 6999 on x.x.x.224, through an ssh tunnel, and onto port 7000 on x.x.x.218. Here is some ...
2
votes
1answer
133 views

translate telnet trafic to SSH

I have a closed source windows tool I need to run, which has to connect to a remote machine. Problem is, the tool only has telnet functionality, while the remote host only accepts SSH2. Is there some ...
1
vote
1answer
367 views

Routing telnet/23 connection thru double SSH tunnel (SSH proxy server)

I have a contractor is using a Windows PC that is outside the corporate network. However, we allow connections via the firewall to certain hosts/ports. Telnet/23 from the contractor's PC to a ...
2
votes
1answer
868 views

tunnel using autossh behaving differently than the exact same command using ssh

I am trying to set up a double-ssh tunnel between two hosts, so I can proxy traffic through it. Using the normal SSH command, I have gotten the following to work: ssh -t -L2000:localhost:2000 ...
3
votes
1answer
241 views

Accessing X with xauth and ssh -X to my VPS?

I have an application I wish to run on my VPS (a web browser actually, iceweasle or similar) and do not really want to install a full blown X server on there for practical reasons. I have read I only ...
3
votes
2answers
857 views

Automatically-reconnecting TCP tunnel

I have an unreliable network connection between two machines: sometimes active TCP connections get dropped for reasons beyond my control. I want to establish a reliable TCP connection between the two ...
1
vote
1answer
402 views

Can I limit my SSH Tunneling Speed? [duplicate]

Possible Duplicate: Can I limit my SSH Tunneling Speed? So, I'm kind of making sshusers for ssh tunneling to surf some content which is blocked by my country. But, I don't want somebody to ...
0
votes
2answers
685 views

Can I limit my SSH Tunneling Speed?

So, I'm kind of making sshusers for ssh tunneling to surf some content which is blocked by my country. But, I don't want somebody to slow down others internet speed , therefore I want to limit the ...
0
votes
2answers
2k views

How to configure a tun interface on Linux for SSH port forwarding?

I am trying to forward port 139 from a Windows machine to my Ubuntu SSH server on a tun interface with the ip address 10.0.0.1. This is so that I can access the windows shares on the machine on my ...
0
votes
1answer
521 views

how to setup SSH user with limit permission?

There are some sites provide SSH accounts only for ssh tunnel. I want to know how to make sure these accounts can only have permission to do tunnel, and how to do limit settings. And I also notice ...
1
vote
2answers
355 views

Setting up local IP based filtering with OpenSSH on Ubuntu

Greetings, the server admin for our company suddenly left, and left the rest of us IT folk somewhat clueless about Linux and setting up servers and such. The setup is as follows: Our local server, ...
1
vote
3answers
5k views

How do I SSH tunnel using PuTTY or SecureCRT through gateway/proxy to development server?

We have some unix boxes setup in a way that to get to the development box via ssh, you have to ssh into a 'user@jumpoff' box first. There is no direct connection allowed on 'dev' via ssh from anywhere ...
1
vote
3answers
256 views

Hash function in shell that could be used for an ssh port from (say) hwaddr of eth0

I have a growing number of remote machines that ssh home and setup a connection to allow subsequent access via tunnel so I can get into them for maintenance. Currently, I must manually configure ...
0
votes
1answer
368 views

How to create a virtual ethernet card for SSH tunneling through USB device? [W7]

I have an SSH tunneling that is connected to an USB device that is connected to the Internet. How can I configure a virtual ethernet card that get everything to 127.0.0.1:1080?
1
vote
3answers
1k views

SSH dial home daemon or automatic tunneler?

I know a number of vendors that sell network/server appliances, that have a support button, that once pressed, setup an SSH support tunnel back to the vendors main servers so the support technician ...
5
votes
2answers
3k views

Reverse SSH Tunnel

I am trying to forward web traffic from a remote server to my local machine in order to test out some API integration (tropo, paypal, etc). Basically, I'm trying to setup something similar to what ...