Questions tagged [tunneling]
388 questions
41
votes
5 answers
What are the exact protocol level differences between SSL and TLS?
This is a technical deep dive after this overview question was asked.
What are the protocol differences between SSL and TLS?
Is there really enough of a difference to warrant a name change? (versus calling it "SSLv4" or SSLv5 for the newer versions…
makerofthings7
- 9,081
22
votes
2 answers
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:
channel 39: open failed: connect failed: Connection…
Arash Mousavi
- 698
22
votes
3 answers
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 on the remote server (a MongoDB status page, a…
brains_at_work
- 323
22
votes
7 answers
How would you send syslog *securely* over the public Internet?
So I've got a few servers which I'd like to log centrally but obviously I don't want to pass the data insecurely over the internet.
I've tried syslog-ng but can't make it work in a secure way, a normal ssh -L PORT:localhost:PORT user@host SSH tunnel…
JamesHannah
- 1,751
20
votes
5 answers
How to set up a VPN Incoming connection with Windows to tunnel Internet traffic?
I want to set up a VPN on a remote server to route all my Internet traffic for privacy reasons. I can set up an incoming connection and connect to it successfully. The problem is, I can just see the remote computer and no other Web sites will open.…
mmx
- 502
17
votes
3 answers
Cannot Delete GRE Tunnel
I am configuring a GRE tunnel in Linux 2.6.26 and I've been facing a very strange problem for which I could not find any solution.
I have created a GRE tunnel called gre0, but no matter what I do, I am simply unable to delete this tunnel. The…
alecov
- 572
16
votes
2 answers
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 Gateway1 from my laptop, then from Gateway1 shell I…
xkcd
- 464
15
votes
2 answers
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 internet and firewalled network).
My current solution…
speciousfool
- 251
13
votes
2 answers
OpenVPN persist-tun option - what's the point?
According the OpenVPN 2 Cookbook:
The persist-tun and persist-key options are used to ensure that the
connection comes back up automatically if the underlying network is
disrupted. These options are necessary when using user nobody and
group…
tenjohn
- 233
11
votes
4 answers
Tunnel an ssh connection through an intermediate machine in a single command
Is there a way, in a single command, to establish a ssh connection from my computer A, through computer B, to computer C, such that I have access to the shell on computer C?
A wrinkle (which seems to rule out simply forwarding the ssh connection…
sanity
- 809
11
votes
4 answers
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 machines.
If the network was reliable, I'd just…
10
votes
2 answers
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 tunnlr.com provides.
I've initiated the ssh tunnel…
chris
- 103
10
votes
4 answers
How to tell if an ssh ControlMaster connection is in use
I'd like to use ssh's ControlMaster feature to share connections for speed increases. I'm trying to script it so that I can start/restart/stop a number of connections to different hosts.
How can I determine whether any of these connections are in…
David Fraser
- 446
9
votes
3 answers
SSH socks proxy tunnel without interactive session?
I use
ssh -D 1080 myhost.org
...to open up an SSH tunnel from my work machine to my home machine, so as to bypass the idiotic content filter on the corporate firewall. However this also creates an interactive SSH session that lives the whole time…
dirtside
- 1,723
9
votes
2 answers
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.
newbie
- 93