Questions tagged [tunneling]

Tunneling is a technique that enables remote access users to connect to a variety of network resources through a public data network.

Tunneling is a technique that enables remote access users to connect to a variety of network resources (Corporate Home Gateways or an Internet Service Provider) through a public data network.

By using Tunneling one can (for example) carry a payload over an incompatible delivery-network, or provide a secure path through an untrusted network.

Users can also use tunneling to "sneak through" a firewall, using a protocol that the firewall would normally block, but "wrapped" inside a protocol that the firewall does not block, such as HTTP. If the firewall policy does not specifically exclude this kind of "wrapping", this trick can function to get around the intended firewall policy.

Major tunneling protocols (ie: Layer 2 Tunneling Protocol (L2TP), Point to Point Tunneling Protocol (PPTP), and Layer 2 Forwarding (L2F)) encapsulate Layer 2 traffic from the remote user and send it across the public network to the far end of the tunnel where it is de-encapsulated and sent to its destination. The most significant benefit of Tunneling is that it allows for the creation of VPNs over public data networks to provide cost savings for both end users, who do not have to create dedicated networks, and for Service Providers, who can leverage their network investments across many VPN customers.

289 questions
2
votes
1 answer

How to implement HTTP Tunneling

I've written a Flash (Flex) client connecting to a back-end server to exchange data. I've also written my server from scratch, and it serves two purposes: (1) Web (HTTP) Server- By default listens on port 80 (2) Socket/Application- Server - By…
user145274
1
vote
1 answer

HTTPS Web(only)Proxy

I just read over node-tls-proxy (http://code.google.com/p/node-tls-proxy/), a https proxy. I like the idea of it, but I'm not getting why this proxy needs a local http server (see the local-proxy.js script). So I was wondering if this is…
sebslomski
  • 41
  • 1
  • 2
1
vote
0 answers

how to do ssh port forwarding and connect database in Rust language

I'm trying to set up SSH port forwarding with a Rust app I'm writing, I need it because all database access needs to use the VM as jumphost (*security reasons). The basic idea is that this rust app will open port forwarding and then i can connect…
giri
  • 33
  • 7
1
vote
1 answer

Unable to access Samba server using Cloudflare Tunnel

I have a ubuntu server running locally with some services running along with samba server. I have already set-up cloudflare(s) tunnel using docker and can even access those using the tunnel. The problem arises when I try tunneling my samba service…
1
vote
1 answer

How to create a tunnel to a remote AWS database after being connected in ssh to the Bastion host, all using in PHP

I am trying to create a tunnel using ssh2_tunnel() to a remote AWS database, after being connected in ssh to the bastion host, via php, that has access to this remote MySql db. Here is my actual code :
Quandun
  • 11
  • 1
1
vote
1 answer

Tunneling from kubernetes to dev machine via Headless Service and Endpoint

I'm trying to use a headless service with an endpoint to forward traffic from within my cluster to my local development machine. I want to listen on port 80 on the service and call port 5002 on the endpoint. I have it setup as so: Headless Service…
LukeP
  • 1,505
  • 1
  • 16
  • 25
1
vote
1 answer

PHP - Tunneling the API

I don't know what this method called : Reverse Proxy , Tunneling, Bypassing ? Imagine, we have 3 website : http://exampleapi.com - API or Service provider http://example1.com - I bought the API for this Website from example.com http://example2.com -…
Jason
  • 15
  • 6
1
vote
1 answer

**TypeError: 'NoneType' object is not iterable**

I wanted to use an ssh tunnel to access a Mysql database. Unfortunately the architecture of this code doesn't seem to support the format of my query, as the function doesn't seem to be compatible with the format of my…
1
vote
2 answers

Custom local hostname for a SSH tunnel

Usually when a tunnel is created it begins at some port on localhost. So the local applications may use it by opening this local port. Is it possible to use a custom name instead of the "localhost"? It should be a virtual host without any underlying…
Andrej
  • 1,679
  • 1
  • 26
  • 40
1
vote
0 answers

Connecting MySQL server with Apache Superset using SSH Tunneling

I am pretty new to Apache Superset and have to connect Superset with our database which is on another server. The superset Instance has been set and installed on an ec2 instance and the MySQL DB is at a different host. I have been advises to connect…
1
vote
2 answers

Windows Azure VPN and IP restriction

We integrate with a third-party service where we can run queries which is right now secured using HTTPS encryption and username/password. We send our queries from a service running on the Windows Azure cloud. The third-party provider wants to…
georgiosd
  • 3,038
  • 3
  • 39
  • 51
1
vote
1 answer

How SOCKS5 infers the destination port within SSH dynamic forwarding?

When using local forwarding we are free to pick destination port: ssh -L 8000:10.10.1.11:80 user@192.168.56.102 - 80 is destination port - we explicitly specify which port to forward to. Take a look at diagram in this article. If I understand…
Max
  • 1,741
  • 3
  • 23
  • 40
1
vote
0 answers

Is there a way to relay veth in docker to remote host by tunnel?

I do not want the docker to access my host LAN or internet directly by NAT. Is it possible to provide a tcp or udp tunnel to relay the veth in docker to the remote proxy? So that the docker can not access my local network resource and can use the…
progquester
  • 1,228
  • 14
  • 23
1
vote
0 answers

Setting CLion remote toolchains through SSH tunnel

Currently, I am developing a C application on a server for developing with vim. In order to connect the server, first I have to connect a gateway server with Yubikey authentication and then I can connect to the server for developing with Kerberos…
1
vote
0 answers

Iodine is extremely slow

Finally got iodine working for DNS tunneling but the transfer speed is only 2-3KiB/s. I testing this on multiple networks and iodine is the bottleneck. I was expecting something closer to 200-300kbps so is the first figure more accurate or has…
404
  • 23
  • 4