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

543 questions
100
votes
20 answers

ngrok command not found

I'm trying to install ngrok (which I've been using for a while on Windows with no issues) on my 1 week old yosemite and these are the steps I've followed so far. Downloaded ngrok from here https://ngrok.com/download. Unziped the file and copied the…
Valina
  • 1,049
  • 2
  • 8
  • 8
62
votes
1 answer

PostgreSQL via SSH Tunnel

I'd like to use RazorSQL to connect to my database which is running on a remote server. I create a SSH tunnel on my localhost with the following command: ssh -L 1111:remote.server.com:5432 myuser@remote.server.com I configure my connection via…
kozooh
  • 1,831
  • 1
  • 18
  • 30
33
votes
5 answers

Import a local SQL File To MySQL on a Remote Server Using SSH Tunnel

I have a connection between my localhost and a remote server using putty SSH tunnel. Thats fine. Now I need a command to get the sql file on my local machine i.e. c:\folder\test.sql and import it into mysql on the remote server I thought…
Jkk
  • 331
  • 1
  • 3
  • 3
31
votes
1 answer

Connecting to Mongo database through SSH tunnel in Java

FIXED (edited code to reflect changes I made) I'm trying to connect to a Mongo database through an SSH tunnel using Java. I'm using the Mongo driver 3.0.2 and jcraft (JSch) to create an SSH tunnel. The idea is that I: connect to the machine hosting…
David V
  • 311
  • 3
  • 4
26
votes
2 answers

python bind socket.error: [Errno 13] Permission denied

I have a python script which gets packets from a remote machine and writes them (os.write(self.tun_fd.fileno(), ''.join(packet))) to a tun interface gr3: Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.0.0.6…
NELOUNI
  • 513
  • 1
  • 6
  • 14
26
votes
13 answers

Tunnel over HTTPS

At my workplace, the traffic blocker/firewall has been getting progressively worse. I can't connect to my home machine on port 22, and lack of ssh access makes me sad. I was previously able to use SSH by moving it to port 5050, but I think some…
ephemient
  • 180,829
  • 34
  • 259
  • 378
24
votes
3 answers

Unable to tunnel through proxy. Proxy returns “HTTP/1.1 407” via https

I am faced with a curious behaviour of java6/8. I try to tunnel through a proxy which needs basic user authentication. Doing this by the standard java Authenticator. If I try to access a https url as the first url, an exception is…
PPr
  • 245
  • 1
  • 2
  • 7
23
votes
6 answers

Something compareable to 'localtunnel' for Windows

I found this here http://github.com/progrium/localtunnel , and it's exactly what I need, but I am working on Windows and localtunnel is Unix... Some backgorund: I am currently developing a Facebook app and the Single-Sign-On won't work on my local…
woezelmann
  • 1,265
  • 2
  • 17
  • 38
23
votes
3 answers

How to interface with the Linux tun driver

I'm having a hard time figuring this problem out - I am trying to write a program that will interact with the Linux tunnel driver. At a very basic level, I simply want to create an application that is able to transfer data over a network tunnel. …
rmrobins
  • 365
  • 2
  • 3
  • 6
19
votes
2 answers

Simple SSH Tunnel in Java

I want to create an SSH Tunnel in Java. I noticed quite a few Java SSH libraries on another post. Before I dig into each option, maybe someone can give me some code snippets of how they did it or at least tell me which client library would work…
User1
  • 35,366
  • 60
  • 170
  • 251
19
votes
1 answer

what's distinction of HTTP proxy, tunnel, gateway?

all, I see the terms from RFC 2616. http://www.w3.org/Protocols/rfc2616/rfc2616-sec1.html#sec1 But I can't understand the distinction of the proxy, tunnel and gateway? Can anyone give me a simple explanation of them? Thanks.
flygoast
  • 2,131
  • 3
  • 12
  • 8
18
votes
3 answers

Tunneling httplib Through a Proxy

I am trying to figure out how to send data to a server through a proxy. I was hoping this would be possible through tor but being as tor uses SOCKS it apparently isn't possible with httplib (correct me if I am wrong) This is what I have right…
Max00355
  • 687
  • 2
  • 9
  • 27
17
votes
4 answers

Best method to secure connection to firebird over internet

I have a client-server application which use a firebird server 2.5 over internet. I have met the problem of given a secure access to FB databases and as a first approch a tried to solve this problem by integrating a tunnel solution in the…
moualek adlene
  • 171
  • 1
  • 3
17
votes
6 answers

ssh tunnelling chain

Here is the scenario I am trying to get scp access to server3, but there is only public ssh access to server 1. To ssh to server3, I have to ssh to server1, ssh to server2, then ssh to server3. My hopeful end result would be that I could WinSCP to…
Marcus
14
votes
0 answers

ngrok speed became slow

Ive been using ngrok to test an app on my phone, with react-native for the past 2 weeks. And so far its been pretty decent and quick. Until today. Now it suddenly takes about 50 seconds for a request to make a roundtrip from my phone, to my…
Kylie
  • 10,000
  • 8
  • 37
  • 69
1
2 3
36 37