Questions tagged [tunneling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
41 votes
5 answers
42k views

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 ...
makerofthings7's user avatar
22 votes
2 answers
39k views

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

I use ssh [email protected] -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: ...
Arash Mousavi's user avatar
21 votes
3 answers
47k views

How to assign a hostname to SSH tunnel

I'm using ssh [email protected] -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 ...
brains_at_work's user avatar
21 votes
7 answers
42k views

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 ...
JamesHannah's user avatar
  • 1,731
20 votes
5 answers
16k views

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 ...
mmx's user avatar
  • 502
17 votes
3 answers
31k views

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 ...
alecov's user avatar
  • 572
16 votes
2 answers
12k 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 ...
speciousfool's user avatar
15 votes
2 answers
56k 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 ...
xkcd's user avatar
  • 454
12 votes
2 answers
25k views

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 ...
tenjohn's user avatar
  • 223
11 votes
4 answers
7k views

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 ...
sanity's user avatar
  • 759
11 votes
4 answers
6k 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 ...
Gilles 'SO- stop being evil''s user avatar
10 votes
2 answers
15k 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 ...
chris's user avatar
  • 103
9 votes
3 answers
10k views

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 ...
dirtside's user avatar
  • 1,611
9 votes
1 answer
6k views

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's user avatar
  • 9,244
8 votes
4 answers
8k views

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 ...
David Fraser's user avatar
8 votes
5 answers
13k views

SSH Tunnel as a Windows Service [closed]

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. ...
Callum's user avatar
  • 181
8 votes
2 answers
15k 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.
newbie's user avatar
  • 83
7 votes
5 answers
8k views

Tunnel over UDP or TCP

Is there a way to create something similar to an IPIP or GRE tunnel only over UDP or TCP? I have a GRE tunnel between two servers and I noticed that sometimes it starts to drop packets. At the same ...
nicudotro's user avatar
  • 1,561
7 votes
2 answers
13k views

SSH VPN tunnel without having to enable root

I've been trying to setup a VPN SSH tunnel and I've had success executing ssh -Nv -w 0:0 [email protected] -p 50 However, what I am wondering is, can I do the tunneling without having root unlocked? ...
mayotic's user avatar
  • 197
6 votes
2 answers
6k views

reverse ssh tunnel listens on wrong interface

I'm working with a server that is behind a firewall. I have established an ssh tunnel to an intermediate server in the internet like this: remoteuser@behind_fw$ ssh -N -f -R 10002:localhost:22 ...
jigfox's user avatar
  • 173
6 votes
2 answers
42k views

How can I use Apache as a reverse proxy for https?

My company uses a CMS system hosted in the cloud. We want to create internal DNS-aliases to make it easier for developers to remember. Reading the documentation for mod_proxy_connect I do think it ...
rhellem's user avatar
  • 305
6 votes
4 answers
2k views

Tunnel with least overhead

I'd like to tunnel a large amount of traffic from my local network to a server located in a datacenter, in a way that I don't have to make many changes to my local applications. The two methods that ...
mikewaters's user avatar
  • 1,215
5 votes
2 answers
19k views

Curl through intermediate server

I need to send PUT/GET/POST request with curl through a custom port from client1 to server2. However, server2 only accepts these requests from server1, and denies client1 if connected directly. What ...
Arman's user avatar
  • 185
5 votes
4 answers
25k views

How do I set up a port forwarding through SSH?

I have a shell account (Debian) and I want all my localhost browser internet traffic to go through that shell account. I know how to configure the internet browser and how to configure Putty for ...
user avatar
5 votes
2 answers
3k views

Differences between SSH's tunnels and OpenVPN

I discovered that recent OpenSSH has support for tun devices. When it comes to tunnels and VPNs, I always thought the main programme was OpenVPN. Are there any advantages to using SSH tunnels? What ...
Amandasaurus's user avatar
  • 32.2k
5 votes
2 answers
9k views

Multicast over SSH

I have two LANs: 10.x.x.x and 192.x.x.x. On each LAN I have a Linux machine (10.x.x.5 and 192.x.x.5) but they are not routers. I can open ssh from 192.x.x.5 to 10.x.x.5. There are multicast udp ...
Boris's user avatar
  • 121
5 votes
2 answers
2k views

How to Configure Secure Connectivity between Multiple Subnets

I have the following setup 2 x linode vps 1 x lab (physical) running 4 vps My goal is to make it so all nodes act as if they are on the same LAN. This will allow me to alter IPTable rules, to allow ...
Mike Purcell's user avatar
  • 1,738
5 votes
2 answers
11k views

Linux Teamviewer functionality, but for ssh only

I need to access some Linux server behind NAT (no ports forwarded), so I need to have something like "phone home" like Teamviewer has. There is no GUI, but somebody can log in through SSH and dictate ...
Icapan's user avatar
  • 484
5 votes
2 answers
3k views

How to link multiple SSH tunnels together in Linux

I have the following situation: A -----|------ B -----|------ Work Work can SSH into B, and A can SSH into B, but apart from that everything is firewalled. What I would like to do is in effect ...
yoda230's user avatar
  • 191
5 votes
2 answers
8k views

Unknown protocol when trying to connect to remote host with stunnel

I'm trying to set up a stunnel for WebDav on Windows. I want to connect 80 port on my local interface to 443 on another machine in my network. I can ping the machine remote machine. However when I use ...
RaYell's user avatar
  • 171
5 votes
2 answers
740 views

ScreenOS ip6in4 tunnel over transport mode ipsec?

I have setup a point to point transport ipsec session between a ScreenOS router (SSG-5) and a Cisco 3925. The ipsec transport itself works great, but as soon as I try to direct the protocol 41 ...
Peter Grace's user avatar
  • 3,476
4 votes
2 answers
5k views

SSH known_hosts with a dynamic IP

I have a machine behind a firewall. I connect to it remotely using a VPN tunneling with a port forward through ssh. To connect to the machine I use the external IP of the VPN and my personal and ...
Ilmanowar's user avatar
4 votes
3 answers
1k views

Make reachable via a fixed address (e.g. IPv6) a server that is actually connected via a variable IPv4 adress?

Need: Internet host at a fixed IP address for full-stack self-hosting People want to perform self-hosting in an area where no ISP provide sufficient service with a fixed IP address. They provide one ...
Stéphane Gourichon's user avatar
4 votes
1 answer
2k views

Renting a IPv4 address block [closed]

I am building a lab network with about 10 virtual routers and 20 host machines (also virtualized) as a part of a school project. The aim is to demonstrate a wide range of IPv6 routing, deployment and ...
user avatar
4 votes
3 answers
4k views

Tunneling all TCP and UDP traffic through a Server?

On a Linux or Windows system, how would it be possible to tunnel all TCP/UDP packets through a thirdparty server? What would one use, does it work with SOCKS5, OpenVPN or SSH?
JohnnyFromBF's user avatar
  • 1,259
4 votes
4 answers
4k views

Kill an SSH tunnel after X minutes even if it's still being used?

I'm setting up some background SSH tunnel for some backup procedures. However I'm worried the ssh process just sitting around. At the end of my script I kill the PID, but what if something happens to ...
Amandasaurus's user avatar
  • 32.2k
4 votes
5 answers
8k views

SSH remote access vpn tunnel

I have two machines both running CentOS linux, one is public facing machine with a real ip address (foo). The other is at a client's site behind a very restrictive firewall and with no real ip and no ...
Jona's user avatar
  • 746
4 votes
4 answers
6k views

P2P VPN: cross between Hamachi and OpenVPN

I recently started using OpenVPN. It is useful because you can securely connect many clients from different networks. However, when two clients communicate, they are not directly connected but they go ...
user avatar
4 votes
1 answer
7k 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 ...
jrdioko's user avatar
  • 577
4 votes
1 answer
16k views

How do I setup a TCP over DNS tunnel on Windows?

I've seen a few guides out there, but I could not get any of them to work. I can point NS records to my domain, so it sounds like I should be able to do this. I tried setting up a DMZ for the server ...
esac's user avatar
  • 261
4 votes
1 answer
4k views

Using ssh and corkscrew/proxychains behing a HTTP proxy

The Ubuntu box I am looking at is behind a proxy which supports CONNECT to 80/443 ports. I have set up an outside ssh server on port 443 and can connect to it with corkscrew / ssh without any problems ...
Art's user avatar
  • 297
4 votes
1 answer
5k views

Routes for two openvpn connections (different hosts) in the same client

Im trying to make multiple tunnels in the same client, and after a successful connection to the openvpn server I've applied some routes for the tunnels created without success. My first tunnel works ...
therealbigpepe's user avatar
4 votes
2 answers
3k views

6to4 tunnel: cannot ping6 to ipv6.google.com?

Follow the Setup of 6to4 tunnel guide, I want to test ipv6 connectivity, but I cannot ping6 to ipv6.google.com. Details below: # traceroute 192.88.99.1 traceroute to 192.88.99.1 (192.88.99.1), 30 hops ...
quanta's user avatar
  • 51.8k
4 votes
2 answers
6k 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 local:...
valpa's user avatar
  • 319
4 votes
1 answer
4k views

Cisco ASA and static IPv6 tunnel endpoint?

I recently installed a Cisco ASA 5505 firewall on the edge of our LAN. The setup is simple: Internet <--> ASA <--> LAN I would like provide the hosts in the LAN with IPv6 connectivity by ...
Martijn Heemels's user avatar
4 votes
1 answer
745 views

Can I use something like a tunnel for SSH in this Linux/Windows Remote Desktop scenario?

I have a Linux server (call it server-L) which i cannot directly ssh to it. In order to ssh it i should connect to a windows server(call it server-W) and then make ssh connection from it to my Linux ...
VSB's user avatar
  • 165
4 votes
4 answers
1k views

What software should I use for IP tunneling

I have two ethernet networks which are connected by a router (think it is cisco). Trafic from the two networks must not be mixed. Except from one virtual server (Win2003 based on HyperV) on one LAN ...
user avatar
3 votes
2 answers
2k 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, ...
Andrew's user avatar
  • 33
3 votes
2 answers
4k views

Keepalived over GRE tunnel for failover on VPS environment

I'm running an application on Linode. Their network does not support multicasting. Many tools used for failover (keepalived, spread/wackamole, hearbeat) require multicast to work (as far as I know). I'...
andrew's user avatar
  • 299
3 votes
3 answers
689 views

Best non-native IPv6 connectivity (in Europe)

What is the best (most stable, fastest, easy to setup) way to get IPv6 connectivity and addressspace in Europe? And, why? I'm running a small hosting outfit from a rented server in Germany and would ...
David Schmitt's user avatar

1
2 3 4 5
8