Questions tagged [tunnel]

A network tunnel is a virtual bidirectional point-to-point connection between a pair of nodes through an arbitrary number of networks/network-nodes.

A network tunnel is a virtual bidirectional point-to-point connection between a pair of nodes through an arbitrary number of networks/network-nodes.

Types of network tunnels

HTTP tunnel

ICMP tunnel

597 questions
10
votes
0 answers

serveo.net returning 502 when trying to tunnel localhost web api, front-end framework angular

I am having an issue with serveo.net. I am trying to check if some Social media meta tags I introduced in my application will work properly, now I don't wish to finish a PR without being certain of the result. but since these meta tags can only be…
Pieter
  • 359
  • 3
  • 14
10
votes
2 answers

How to automatically start a tunnel when a session is opened in MobaXterm?

I use MobaXterm for remote access to servers running in the cloud. For development and admin purposes, these servers expose admin application on local network interfaces. For example, Tomcat will expose 127.0.0.1/manager. Since I prefer not to have…
Grismar
  • 27,561
  • 4
  • 31
  • 54
10
votes
5 answers

Connecting to gitosis server through an SSH tunnel

I've got an SSH tunnel setup on my macbook, like this... $ ssh -o ServerAliveInterval=3 -N -L 22222:gitosis-server:22 user@firewall.domain.com So I can ssh to localhost:22222 and will end up on the gitosis-server behind the firewall. I've created a…
Matt Mencel
  • 285
  • 3
  • 11
10
votes
2 answers

How to run localtunnel v2 properly

I'm using localtunnel v1. But I found that v2 allows you to customize the subdomain, and I need this feature. I followed the tutorial described in the README from the repository, but it confused me in several parts and, in the end, it did not…
borges
  • 3,627
  • 5
  • 29
  • 44
9
votes
1 answer

TCP tunnel over SSH in Rust

I'm trying to write a small program in Rust to accomplish basically what ssh -L 5000:localhost:8080 does: establish a tunnel between localhost:5000 on my machine and localhost:8080 on a remote machine, so that if an HTTP server is running on port…
dlukes
  • 1,313
  • 16
  • 27
9
votes
1 answer

How to allow protocol-41 (6in4) through the GCE firewall?

As a stop-gap until Google supports native IPv6 on Google Compute Engine, I'd like to configure a 6in4 (IP protocol 41) tunnel. I added a firewall rule to allow protocol 41 on my VM's network: Name Source tag / IP range Allowed protocols /…
Tim Utschig
  • 93
  • 1
  • 4
9
votes
1 answer

I/O with a Tun interface

The intent is to have a program intercept a collection of IP packets and read its raw content and then reinsert it to the network after tinkering with it. My approach is based around setting up a Tuntap interface (Tun, to be specific), and then have…
Jarmund
  • 3,003
  • 4
  • 22
  • 45
8
votes
2 answers

Device not configured after sshfs attempt

After using sshfs on my Mac I am no longer able to see my user directory. When I open a terminal window I see the following: Last login: Mon May 22 10:54:30 on ttys003 mkdir: /Users//.bash_sessions: Device not configured -bash:…
runnerpaul
  • 5,942
  • 8
  • 49
  • 118
8
votes
1 answer

Python HTTPS Proxy Tunnelling

I'm trying to make an HTTP proxy in python. So far I've got everything except HTTPS working, hence the next step is to implement the CONNECT method. I'm slightly confused with the chain of events that need to occur when doing HTTPS tunnelling. From…
thetree
  • 326
  • 1
  • 2
  • 11
8
votes
2 answers

Appfog mysql tunnel error - Encryption not available on this event-machine

We've established a connection to appfog using caldecott and af tunnel command. We try to connect to a mysql service to load and execute a big .sql file to populate the db. We tried it from 3 different machines Ubuntu on VirtualBox, Feora 18 on…
JohnnyM
  • 1,273
  • 1
  • 13
  • 26
7
votes
2 answers

socat: tunnel IP through TTY

Is it possible to get an bidirectional IP-tunnel over ttyS0-like serial (modem) devices with the socat utility? I tried to use TUN option but still can't get the result. Any suggestions are welcome :) Update: PC1: socat…
Ilya Matveychikov
  • 3,936
  • 2
  • 27
  • 42
7
votes
4 answers

need to use git behind firewall: trying ssh tunneling

I am trying to use ssh port forwarding to defeat corporate firewall: ssh git@GIT_SERVER -L9418:GIT_SERVER:9418 and in another terminal I run git clone git://localhost:repositories/project.git But I get the following error: Initialized empty Git…
Jacko
  • 12,665
  • 18
  • 75
  • 126
7
votes
3 answers

Can I do SQL Server 2005 merge replication through an SSH tunnel?

Our usage case is a database responsible for accounts, sessions, licenses, etc. — it needs to be polled upon client startup, so high reliability is crucial. As such, we'd like to replicate across different servers in physically separate networks,…
Sören Kuklau
  • 19,454
  • 7
  • 52
  • 86
7
votes
0 answers

Using multiple local ips (127.0.0.2, 127.0.0.3) with ssh tunnels

I have 3 servers (a, b, c) and each of them need an ssh tunnel to port 4000 of another 2 instances. I used to assign ports like 4001 goes to port 4000 on instance B and 4002 goes to 4000 on instance C, but it seems that using local ips 127.0.0/24…
Fluffy
  • 27,504
  • 41
  • 151
  • 234
7
votes
7 answers

Using oracle db through ssh tunnel. Error "ORA-12541: TNS:no listener"

Hello I've got a problem accessing Oracle DB from our datacenter through a tunnel. We've got a pretty standard datacenter with one machine being accessible from the outside (I put it's IP in the /etc/hosts file as dc) and the Oracle DB inside. The…
Jakub Troszok
  • 99,267
  • 11
  • 41
  • 53
1 2
3
39 40