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
0
votes
2 answers

How to connect to a database through a Paramiko Tunnel (or similar package)

I am having serious issues setting up a proper tunnel in paramiko to enable a database connection. I have reviewed the example 'forward.py', but am not understanding how to then link the database connection to it. Any pointers woudl be much…
mvrak
  • 501
  • 3
  • 12
0
votes
1 answer

OVS Bridge Connectivity using GRE Tunneling

Okay so I'm trying to connect two OVS Bridges in separate hosts using GRE Tunneling. A VM is connected to each of the two OVS Bridges. The problem is that I don't want to add eth0 to the bridges and don't want to give an IP Address to the bridges.…
S. Salman
  • 590
  • 1
  • 6
  • 22
0
votes
1 answer

SSH connect to remote on local network

I have 2 computers on linux (ubuntu like), both are on separated local networks (192.168.xxx.xxx). I would like to connect through ssh to Linux2 from Linux1 but it doesn't have any public IP. I have also a public server (srv.domain.com) I suppose…
Pokkke
  • 65
  • 4
0
votes
1 answer

Connecting VMs Using GRE Tunnels - Openvswitch

Hello everyone i'm really new in networking, so i i'm a little bit lost please i hope anyone can help me... I have two physical nodes with the same configuration in the interface: # The primary network interface #auto eth0 #iface eth0 inet…
0
votes
2 answers

How do you programmatically get through a firewall to a SOAP server from a remote client?

I have been looking at posts discussing SSH tunneling which sounds analogous to what I want to accomplish. However, we are programming in Java and have a remote SOAP server behind a firewall. The server is running under Linux but the rest of the…
Bruce
  • 2,230
  • 18
  • 34
0
votes
1 answer

MYSQL ERROR 2003 (HY000) (113) in SSH remote tunneling, but telnet from SSH tunnel works

I have spent all day trying to solve this. The thing I want to do is that: I have a MYSQL server, namely A with CentOS 7, in a private network, cannot be NAT or connected to VPN. Now I want to access this server from a remote machine, namely B with…
John Smith
  • 63
  • 2
  • 8
0
votes
2 answers

Tunneling through HTTP

WRITTEN IN JAVA Im creating a program that connects to a proxy and then tunneling to another server to send TCP packets, this is my code: { Socket skt = new Socket(proxy_address, proxy_port); PrintStream myOutput = new…
Masterban
  • 265
  • 1
  • 2
  • 7
0
votes
0 answers

ssh tunnel to remote dockerized mongo server

I have a mongo docker instance running on a remote server, what is the correct way to access the command line from my local machine? If i login to the remote host, i can access this by: $ docker exec -it mongo-dev mongo ccc-mongo but i am unsure…
khinester
  • 3,398
  • 9
  • 45
  • 88
0
votes
1 answer

mysqltuner recommendation suggestion

Question: whenever i run mysqltuner it always complain about three components even i change their values to high but still showing need more, they are following, I have both table MyISAM and InnoDB and we do join etc also but i heard it is not good…
Satish
  • 16,544
  • 29
  • 93
  • 149
0
votes
1 answer

How to access content from secured website via proxy tunnel without authentication required

I would like to scrape / download contend from site which requires authentication. To do so, I need some tunnel between my CLI / Node.js app and the secured website without any authentication. Please see the schema: Scraper / downloader app -> [no…
Pavel Binar
  • 2,096
  • 5
  • 16
  • 26
0
votes
1 answer

Using tsocks to access external-networks which have only one machine accessible with public-world addressible machine

We have a set of machines in a datacenter. Only one of the machines is accessible from the internet-world. If we need to talk to any other machine in the datacenter we would need to login to this internet-visible machine. We have a monitoring…
0
votes
1 answer

How to use tramp with corkscrew to access remote clusters?

My computer network is closed to ssh to external machines (outside the network) through port 22. I have a round about by tunneling ssh through http by employing cockscrew. I modified my config file in the following fashion Host…
rambalachandran
  • 2,091
  • 2
  • 19
  • 34
0
votes
0 answers

Dropbear SSH Tunnel disconnected if upload a file

i am newbie here. I want to create ssh tunnel application, but i have a problem with my application. If I trying to upload a file (>500kb) trough that SSH Tunnel, my internet connection getting not responding and after that I'm disconnected from…
DNx
  • 26
  • 5
0
votes
1 answer

Is it possible to implement the CONNECT HTTP method with the Snap framework?

I'm looking into possibilities how to implement the CONNECT HTTP method that allows tunneling data over HTTP. However, I couldn't find a way how to implement bi-directional processing within one Snap request. The closest thing I found was…
Petr
  • 62,528
  • 13
  • 153
  • 317
0
votes
0 answers

FTP client connection to HTTP server

I have implemented APACHE Mina server to connect to my local FTP client i.e. Command prompt, which is working fine. Now I want to send this FTP request i.e. FTP commands to an http proxy server (Apache http server) as an http request which will…