Questions tagged [tunneling]

373 questions
40
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
  • 8,821
  • 28
  • 115
  • 196
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
  • 658
  • 3
  • 8
  • 21
21
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,731
  • 2
  • 11
  • 22
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
  • 482
  • 1
  • 8
  • 19
20
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
  • 303
  • 1
  • 2
  • 5
16
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
  • 261
  • 1
  • 2
  • 4
16
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
  • 552
  • 1
  • 6
  • 13
15
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
  • 444
  • 3
  • 7
  • 16
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
  • 709
  • 3
  • 9
  • 16
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
  • 1
  • 1
  • 5
9
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
  • 193
  • 1
  • 1
  • 5
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,481
  • 4
  • 17
  • 22
9
votes
1 answer

Hurricane Electric Tunnel with Pfsense?

How would I setup a HE net Tunnel to route through PFsense so I can have v6 addresses on my servers? I already have the tunnel setup on their end, but there is no instructions for PFsense.
Jacob
  • 9,114
  • 4
  • 44
  • 56
8
votes
5 answers

SSH Tunnel as a Windows Service

I want to set up an SSH tunnel to run as a Windows service, I need to be able to set it up using only the command line so this counts out any software that doesn't include a command line version. What tools are available for Windows that I could use…
Callum
  • 181
  • 1
  • 1
  • 3
1
2 3
24 25