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
3
votes
4 answers

How can I set up SSH tunneling to access a webserver behind a firewall?

How would I access a webserver behind a firewall? I'm developing an application for this webserver which is not yet open to the public. Someone walked me through this before, so I know it can be done. However, it has been about four months and I…
Christopher Bottoms
  • 11,218
  • 8
  • 50
  • 99
3
votes
1 answer

ssh ProxyCommand not working like regular command

I am trying to ssh from Computer-A to Computer-C by tunnelling through Computer-B with the key on Computer-B. I have already shared keys from Computer-A to Computer-B and from Computer-B to Computer-C This works on computerA to connect to computerC…
jbrass
  • 941
  • 7
  • 26
3
votes
1 answer

How to use java.net.URL/URLConnection with a proxy-chain

I try to load websites over a chain of proxies(more then one) with java. Every Request should be able to use another chain. Here my first quick and dirty try: // My proxies and there ports marked with pIP1 pPort1, pIP2 pPort2... Socket socket = new…
Sebastian
  • 41
  • 5
3
votes
2 answers

How can I send UDP packets over SOCKS proxy

I am looking at traffic generated by my computer when socks server is defined. I read over the internet and see that its possible to route udp also trough the proxy server. when i try using different apps that uses UDP and allows socks settings, it…
buddy123
  • 5,679
  • 10
  • 47
  • 73
3
votes
2 answers

RoutedCommands that use tunneling instead of bubbling

I have a custom control (MyControl) that exposes a custom command. I want the parent Window to be able to invoke this command, and all MyControls should react to it. I have added the command to MyControl's CommandBindings collection, which also…
GazTheDestroyer
  • 20,722
  • 9
  • 70
  • 103
3
votes
1 answer

WPF button tunneling OnClick event

I am looking for a tunneling Button.Click event. The ButtonBase.Click event is bubbling and therefore the root can handle the event only after the action that was registered for that button already occurred (too late for what I need). I need the…
Elad
  • 19,079
  • 18
  • 62
  • 71
2
votes
2 answers

tunneling using SSH

I'm tunneling all of my internet traffic through a remote computer hosting Debian using sshd. But my internet connection becomes so slow (something around 5 to 10 kbps!). Can be anything wrong with the default configuration to cause this…
Saba Jamalian
  • 750
  • 2
  • 10
  • 24
2
votes
1 answer

Writing desktop client that can listen to http requests

I would like to write a desktop client that listens to http requests on some port. How can it be done even though the user that hosts the files is behind a firewall? Is there a way to somehow tunnel the connection from one client to another without…
2
votes
0 answers

Secure tunneling from only users space python?

I want to create a micro-VPN like environment where users can run and manage HPC applications from strictly python. The servers running the commands on the HPC systems should only ever talk to the user's host python script, and should be firewalled…
2
votes
3 answers

Ngrok with Cloudflare domain

I have purchased ngrok pro plan to use whitelabeled domains through cloudflare. But having trouble configuring end to end SSL encryption. React app is running on localhost (http://localhost:3000). created a domain (app.example.com) in ngrok. added…
Venkata Dorisala
  • 4,783
  • 7
  • 49
  • 90
2
votes
2 answers

How to make Teredo hosts within a subnet talk to each other

While I can successfully ping a global address from my teredo-enabled end-host, I'm unable to connect two end-host within the same ipv4 subnet. We are running windows XP. Any thoughts?
Jack BeNimble
  • 35,733
  • 41
  • 130
  • 213
2
votes
2 answers

SSH over SSH (or How to 'proxify' SSH through SSH)

I'm looking for a methodology to SSH over SSH (as in the title). So, I know I can do : ssh -t user1@proxyServer ssh user2@farAwayServer Or I can use the ProxyCommand with nc, but I don't want to use one connection to the proxyServer by connection…
Flyounet
  • 105
  • 1
  • 6
2
votes
3 answers

UDP reverse tunneling

I have a problem that I am having a serious hard time figuring out, and I would be very grateful if anyone could provide some help. I have a VPN server inside a local network behind a firewall that allows only outbound connections. My goal it to do…
2
votes
2 answers

Expose Ngrok Web interface in same LAN

I have some issue to configurate Ngrok. I have installed the Ngrok on linux CentOS server dedicated (IP 192.168.1.124), it works correctly the tunneling is ok. My question is: how i can reach the web page on 127.0.0.1:4040 in order to check the…
Luca
  • 21
  • 1
2
votes
0 answers

JSoup - unable to tunnel through authenticated proxy

I'm in trouble with similar issue described at Unable to tunnel through proxy - Jsoup. Trying to connect with test page I'm getting such a exeption: Exception in thread "main" java.io.IOException: Unable to tunnel through proxy. Proxy returns…
lo0p3r
  • 39
  • 6