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

Setting up an IP tunnel for a .NET WCF project

Has anyone tried to tunnel a WCF request from PC A to PC C via PC B? In my case, PC A doesn't have direct access to PC C but PC A and PC C has access to PC B. I Googled a bit and found that WCF doesn't support SOCKS proxies, otherwise this would…
Dandré
  • 2,053
  • 3
  • 18
  • 38
0
votes
0 answers

What is TCP over file?

I am trying to understand what's TCP over file. I tried searching it on google, but except for a software, I didn't really find an answer.
0
votes
2 answers

How to send data with Python over UDP from remote machine (client) to local machine (server)?

I am trying to send data with Python over UDP from a remote machine in the cloud to my local machine listening. Run from my local machine ... (server) from socket import * serverSocket = socket(AF_INET, SOCK_DGRAM) serverSocket.bind(('0.0.0.0',…
John Fisher
  • 243
  • 3
  • 10
0
votes
0 answers

How do I set the Protocol field in an Ipv4 header to 41 in windows?

Background For my windows project I create RFC7217 ip global unicast addresses. Using Winsock2 and Microsoft's IpHelper functions these addresses get entered into the PC's local tables, then bind'ed to eventually become listening sockets. From…
rtischer8277
  • 496
  • 6
  • 27
0
votes
0 answers

Why is ngrok not loading php in my views?

I have an codeigniter application that I'm trying to expose using ngrok. All the assets, stylesheets, etc seem to be loading correctly. However, the php I've written in my views is commented out when I check chrome developer tools. This causes…
Alatha Ntonga
  • 73
  • 1
  • 11
0
votes
0 answers

How to connect to remote server using linux ssh tunel command

I have an easy-one here, I'm new using linux to connect to other linux server, the issue is that on a remote server which I can reach from my vpn, I have a GUI running on the port x.x.x.x:6500 I did not have any problem using putty/xshell to make a…
Diego PhD
  • 1
  • 1
0
votes
0 answers

Sending email using python through an intermediary host

I am sending emails using smtplib using internal relay. msg['From'] = fromaddr msg['To'] = toaddr msg['Subject'] = server s = smtplib.SMTP('SMTP', port) s.send_message(msg) s.quit() Access is…
qazws
  • 21
  • 4
0
votes
0 answers

side server ssh forwarding configuration

Hello I have the following problem; I have a Server that I am configuring to learn a bit of infrastructure and use it to be able to run other services to be able to study other things (web development, data science, graphic models, etc.), and I…
0
votes
1 answer

localhost.run wordpress ssh tunneling

I need to show a preview of a wordpress project to a client. I want to setup a tunnel to expose the macOS apache server instance. In past I was using ngrok but with wordpress it requires some configuration and I don't want to waste time in plugins…
sisaln
  • 210
  • 4
  • 16
0
votes
1 answer

How would you configure a derivation or overlay for openconnect with vpn-slice with nixpkgs (non-daemon install, macOS Catalina)?

I’ve recently started using the nix package manager as a single user install (non-daemon). I’m wondering how to configure openconnect and preferably with vpn-slice, a vpnc-script replacement for easy and secure split-tunnelling. I can see the…
ldeck
  • 227
  • 1
  • 10
0
votes
2 answers

How to access a Django website from remote server in a local browser?

I've looked and tried things for hours, and nothing seems to work. Here's the info: On my Windows machine, I use PuTTY or MobaXterm to connect to a remote Linux server using SSH (command line only). I started a new project with this command:…
Ness
  • 1,415
  • 1
  • 13
  • 19
0
votes
1 answer

Can I tunnel TLS traffic in bash without multithreading?

I want to tunnel TLS traffic on Linux using bash. Can I do it without multithreading? Is there a predictable order of message exchanges so that I only need to listen to one of the parties at any one time? I'm writing a proxy server for Linux and…
Henrik4
  • 464
  • 3
  • 13
0
votes
1 answer

How to embed and listen data over icmp in order to tunnel connection with using python

i am trying to code one tunnel tool but i could not receive packet from icmp. I uses socket library, is there any one pylibnet or pynet library
Caglar
  • 11
  • 3
0
votes
1 answer

Trying to connect to RDS instance through my ec2 instance from my local machine and coming up with the following error

Tried connecting to the rds instance through the ec2 instance from and my local machine coming up with an error saying "Permission denied (public key)" ssh -L 3306:db_instance_name.cxtitvmupc3w.us-west-2.rds.amazonaws.com:3306…
bahdotsh
  • 459
  • 3
  • 17
0
votes
1 answer

Reverse tunneling in RaspberryPI and cloud server?

I have a Raspberry Pi and and i have done reverse tunneling with an AWS instance. I ran the following command below on my Raspberry Pi. ssh -N -R 1234:localhost:22 username@instance_IP and on my Linux instance i am able to ssh using.. ssh -l…
Hsn
  • 1,168
  • 2
  • 16
  • 39