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

Unable to connect to a GCP VM through IAP from a Bitbucket pipeline

I need to open a tunnel to our Google virtual private cloud to be able to query a service that is not exposed to the internet. Google allows to create a tunnel with: gcloud compute start-iap-tunnel vm-name target-port This usually prints something…
Anton Daneyko
  • 6,528
  • 5
  • 31
  • 59
0
votes
2 answers

Curl hangs during SSH Reverse Tunnel connection

I need to have my server use my workstation as a proxy for a single request. I've succeeded in creating a tunnel connection, But the curl command hangs indefinitely. I've created a Reverse proxy from my workstation (macOS) (to the server) with the…
0
votes
1 answer

Connect to Mongo DB on a remote server behind LDAP using perl

So I intend to connect to mongoDB which is on a remote server behind LDAP. The mongoDB by itself has no username/password setup, but the server on which mongoDB is running is behind LDAP. My question is how do I setup the server tunneling…
Amey
  • 8,470
  • 9
  • 44
  • 63
0
votes
0 answers

Construct DNS Response for the DNS Query of type [HTTPS (HTTPS Specific Service Endpoints) (65)]

We are building a VPN type of application to split tunnel the traffic generated based on routes. The tunnel is implemented using the Packet Tunnel Provider. The client application is responsible for tunneling the traffic based on host names.…
Aravindh Kumar
  • 1,213
  • 11
  • 22
0
votes
0 answers

Cloudflare, One Tunnel for Multiple Servers with Different Services

I've registered and configured my domain's name servers to use cloudflare. I've configured a bunch of web apps on "Server A" to run through a cloudflare tunnel. Everything works beautifully, and I can access my apps on subdomain.domain.whatever…
Waleed Al Harthi
  • 705
  • 9
  • 25
0
votes
0 answers

Specific ansible jump host configuration

Hadn't found a way to create inventory in ansible with a connection over 2 jump hosts. Normally I do create two jumps: ssh -L 1261:localhost:1261 user1@jump.host.ip -p 22 then ssh -L 1262:target_host.addr user2@jump.host2.ip -p 1261 then I connect…
0
votes
2 answers

JAVA Http Tunneling: example needed

I'm programming a chat but i have troubles on finding informations and/or examples regarding the HTTP tunneling. The chat, when initialized, starts his own server thread that manages the incoming messages. That said i need to send strings of data to…
erroan42
  • 11
  • 1
0
votes
0 answers

Can pwnat be used for connection when client and server are behind NAT?

I'm trying pwnat from this link, but I have a couple issues. https://samy.pl/pwnat/ Can this be used to establish a connection when both client and server are behind NAT? If yes, then what syntax would I use to establish a SSH connection?…
Rucent88
  • 810
  • 1
  • 6
  • 12
0
votes
0 answers

Cannot access apache server from foreign ip address

I have a site running on my computer using Apache 2.4 which I can easily access by using my local ipv4 address and respective port 80. The port 80 is bound to port 22*** using portmap.io and is configured with OpenVpn/tcp on my computer.I have…
0
votes
0 answers

What are the networking requirements for reverse proxy tunneling on a self hosted vscode-server instance?

I recently moved over from coder/code-server to microsoft's implementation of a code server. Included in this is the ability to set up tunnels to the remote host, however i can't seem to get it to work. I'm using nginx to forward to the code-server…
PixNyb
  • 1
  • 1
0
votes
2 answers

Execute remote Jupyter Notebooks on local visual studio code

I have a remote Jupyter server on the port 9292 on the ip 192.168.10.92. I can tunnel this port no my http://localhost:9292/ through ssh: ssh -L localhost:9292:localhost:9292 my.user@192.168.10.92 This enable me to connect to the remote Jupyter…
0
votes
2 answers

Error: Error: Failed to deploy web package to App Service. Error: tunneling socket could not be established, statusCode=503

We are getting below error on Azure devops pipeline via Self hosted agent release when Azure web app is on Private network. No Error seen when the web app on azure is on Public. Error: Error: Failed to deploy web package to App Service. Error:…
0
votes
0 answers

How to connect a bridge to a tunnel with netplan?

Well, before I asked this question, I searched a lot and couldn't find a proper answer (or the question was wrongly asked). I want to connect a bridge to a GRE tunnel on netplan. I can successfully do the connection, but the routing table doesn't…
Webix
  • 17
  • 5
0
votes
1 answer

Reverse SSH tunneling with not localhost

I have local computer and remote server. Remote server is isolated and is only accessible with this computer. I want to connect to site from server, let it be https://example.com/site I tried to make a tunnel via ssh -R 6761:example.com:80…
Gleb
  • 59
  • 7
0
votes
0 answers

tunnel from localhost to public: best solution

I'm currently using localtunnel to expose my localhost to the internet. But localtunnel is sometimes down and it fails when sending large(r) files. I used ngrok before but this is too expensive for what I need it for. I need one fixed (sub)domain,…
Sam Leurs
  • 1,592
  • 1
  • 19
  • 48