Questions tagged [tunneling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
8 views

Provide a missing network via tunnel to a gateway having access to that network

I'm very new to tunneling, so I may either misunderstand the concepts, or I made some beginner's mistake: Trying to add new SLES15 hosts to an existing infrastructure I tried to provide a connection ...
1
vote
1answer
22 views

Share Telnet connection as a proxy

i have telnet connection to device behind firewall (there is no SSH) and i want to use this connection as a proxy to give local network access to Firefox for example if is possible using Putty ...
1
vote
1answer
42 views

Setting TCP MSS on a bridge port

I have a VXLAN tunnel between two Linux hosts. This tunnel is carried over an Ethernet link with an MTU of 1500 bytes. At each end, the VXLAN interface is slaved to a bridge, along with another ...
0
votes
0answers
19 views

How to enable fragmentation in ipsec tunnel for Ipv6 over ipv4

I have created a tunnel - IPv6 over IPv4 and things work fine. But if i send a large packets say 2000 bytes, it does not get transmitted. Is there something that i need to configure to allow large ...
2
votes
1answer
34 views

Bridge traffic not reaching some ports

I have a tunnel between two hosts that is carried over L2TPv3. Each end of the tunnel is slaved to a bridge, as are other interfaces. The remote bridge has a DHCP server attached to it while the ...
0
votes
1answer
25 views

Stuck at GTP tunnel Creation

I'm building an application which communicates with a node called SGSN, using GTPv1 tunneling. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ SGSN -----(GTPv1)-----> (my_App) +-+-+-+-+-+-+-...
0
votes
0answers
56 views

How to Setup udp2raw tunnel on ubuntu?

i need help to setup udp2raw tunnel (https://github.com/wangyu-/udp2raw-tunnel) for gaming purpose and i want to use it on ps4 i am using ubuntu 18.04 as router and ps4 connected to ubuntu via ...
0
votes
2answers
159 views

How to relay traffic from tun to internet?

I'm writing a program that sends data through a tun interface. I'm trying to send IP packets to the world. I have all the TCP/IP stack working: It creates a valid TCP/IP packet ready to be sent, I ...
1
vote
0answers
70 views

better nftable config for NAT of IPv4 over IPv6 by MAP-E (RFC 7597)

I am configuring nftable (/usr/sbin/nft) for IPv4 over IPv6 tunneling. There are several standards for tunneling IPv4 packets encapsulated in IPv6 packets. One of popular methods is MAP-E (RFC 7597). ...
0
votes
0answers
293 views

Error using openssl with socat – SSL routines:ssl3_get_record:wrong version number

I'm trying to set up a secure connection between localhost and remote server using socat. First of all, I generated keys and self-signed certificates on remote server (but also tried on localhost): ...
1
vote
0answers
18 views

Tunnelling IP Multicast traffic between two residential networks or machines

The Ableton Link music synchronization service operates by broadcasting and receiving messages via an IPv4 multicast group in the "Ad-Hoc 2" address block. In order to use the protocol to synchronize ...
0
votes
0answers
20 views

http or other tunneling

I have a FreeBSD server in out of my country(Iran). Iran has a Internet Filtering, We use a tunnelung to turn our filtering. I used to use Zebedee http tunneling. But its mobile version differ with ...
0
votes
1answer
14 views

Access NATed remote system through an existing ssh connection

There is a machine RemoteA that is behind a NAT somewhere on the internet. It can connect to an ssh server. There is another machine called RemoteB that also has a connection to the same ssh server. ...
0
votes
0answers
14 views

Authentication for iproute2 tunnel

I'm looking at creating a simple point to point tunnel using iproute, as described here: linux.it But something very basic is bothering me...there is no authentication. Does that mean the IP ...
0
votes
0answers
56 views

Communicating to a device on another LAN port on a different subnet

I'm trying to telnet to a device (DEVICE T) via tcp ip with a Linux device in between. I'm not sure if this is feasible but here is what I'm trying to experiment with. Windows OS with telnet ...
0
votes
0answers
36 views

How would I reroute *all* traffic through my SOCKS5 proxy?

I have a SOCKS5 proxy provided by my VPN, Mullvad. IP 10.8.0.1 and port 1080. I see this question has been posted a few times on this forum, but a lot of the questions I find are either unanswered or ...
0
votes
2answers
88 views

Dyamic tunnel troubleshooting

Goal: Configure Ubuntu and Firefox to SSH into a remote Asus router and access the remote router's configuration GUI via Firefox. top from the remote router returns: PID PPID USER STAT VSZ %...
0
votes
1answer
198 views

Tunnel on remote MS-windows port 443

I need to create a tunnel in a remote MS-windows, so the port 443 in MS-windows is redirected to a remote target on port 443. What I'm trying to do is this, from my remote server: ssh -N -R 443:...
0
votes
1answer
47 views

Clarifications for SSH tunnels over HTTP (or HTTPS)

I noticed that when I create a tunnel locally from my PC to the remote one, for some devices (generally routers), the connection via http or https does not take place. I get a pop-up that says: The '...
1
vote
0answers
30 views

Backward ssh connection via Forward https connection (https-tunnel)

I need a construction that make possible to tunnel backward SSH via forward HTTPS. I tried to draw on a picture what I have to get. The picture shows 4 steps that explain what and how I want to make. ...
0
votes
0answers
22 views

How to establish an ip tunnel to multiple addresses?

I want to establish a tunnel (ip4ip6) to multiple IPv6 addresses. I'm trying to do something like this: ip tunnel add sometunnelname mode ip4ip6 local 2001:db8:abab:fefe::1 remote 2001:db8:abab:fefe::/...
0
votes
0answers
45 views

GRE between two routers

Need help with setting a Generic Routing Encapsulation (GRE) tunnel between two routers. I have three routers (left - Debian 10, middle & right - CentOS 7), which already can ping each other (I ...
1
vote
1answer
158 views

Adding IP6 link local address to gretap interface

I've created a GRETAP interface which is working: $ ip link show t104016114 15: t104016114@NONE: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1242 qdisc fq_codel state UNKNOWN mode DEFAULT group ...
0
votes
0answers
22 views

Make https request with HAProxy without explicitly mentioning certificates?

Why? Some app started making annoying authentication verification that work with the region. Every time I travel, and I login from another country, I have to go through a very annoying process of ...
0
votes
0answers
46 views

Two way non http tunnels between to servers. advantages and disadvantages

I want to run two instances of application on the same machine with only one ip address, but each application must have it's own ip. I want to "give" different ip from other machine to second ...
1
vote
0answers
191 views

ssh set up gre tunnel

I'm trying to create a GRE tunnel between a local Linux Mint 18.3 VM ("ServerA") running in my VirtualBox, and a remote Ubuntu 18.04 server ("ServerB") running in another location. A firewall is in ...
0
votes
2answers
116 views

Getting access to remote machines through remote server behind the NAT

I want to have access to remote machines that connected to remote server behind the nat (actually it's just another computer with linux). Here you can see scheme. I'm using logmein hamachi to create ...
0
votes
1answer
111 views

OpenVPN/SSH tunnel to see client's other interfaces

Using OpenVPN or SSH tunneling (or a combination), how could I connect 2 LAN networks together? Here is a better (more detailed) explaination with OpenVPN as an example: One OpenVPN client (we will ...
2
votes
0answers
334 views

strongSwan lan to lan / PKI RSA self CA - tunnel (0 up, 1 connecting), just the RSA tunnel without using of the self CA works fine

I am trying to create an x.509 based tunnel by using a self-signed CA certificate. I am creating the solution at the AWS, and VPN gateways are Debian Stretch machines version Linux ip-10-0-0-208 4....
0
votes
1answer
29 views

SSH Tunneling, have some problems [closed]

I have a computer and host A, B. Host A has internet connection and host B placed in host's A local network. Host B has Web Interface at port 8080. I need to forward port on host A. And then i want to ...
0
votes
0answers
58 views

Tunneling TCP via ICMP slowness

There is: Server "A" Server "B" I have root permission on both. They can ONLY ping each other. I installed ptunnel on both. On Server "A", I tried to: ptunnel -p SERVER-B-IP -lp 6969 -da SERVER-...
0
votes
1answer
282 views

How do I create a persistent tunnel device in sles15 (with or without wicked xml config)

I'm trying to simplify some of my configs for sles15, pushing out tunnel configs to my machines via ansible. Currently whenever I configure a tunnel, I do it on the fly using ssh from the machine ...
3
votes
0answers
701 views

Multiqueue tun/tap interface

I am trying to understand how Multiqueue tuntap interface works. Following the instructions provided at: https://www.kernel.org/doc/Documentation/networking/tuntap.txt I was able to create multiple ...
0
votes
1answer
925 views

Java KVM Console with an SSH Tunnel Through a Jumphost

I'm trying to use a KVM Console via an SSH tunnel and I'm getting a Connection Refused Java Error. Here is what I'm doing: On my Macbook I am establishing an SSH tunnel to my remote server via a ...
0
votes
1answer
87 views

SSH Tunneling HTTPS traffic through 2 Servers

What I'm trying to determine is how do you tunnel HTTPS traffic through more than 1 host? Normally what I do when I have to jump through 1 host is the following: # URL Access Tunnel: https://127.0.0....
1
vote
2answers
1k views

How can I SSH into my desktop, which is connected via the university's WiFi? [closed]

I'd like to SSH into my desktop, from my laptop. My desktop is connected to the internet via my university's WiFi. So, it's on a network that I have no control over and its IP changes regularly. ...
1
vote
1answer
2k views

Error using openssl with socat - SSL3_CHECK_CERT_AND_ALGORITHM:dh key too small

Short Version of Question Assuming the existence of the relevant files, why does the following sequence of commands not work? socat tcp-listen:10001,fork exec:'/bin/cat' & socat openssl-listen:...
0
votes
1answer
165 views

SSH: instruct backgrounded tunnel to exit on broken pipe?

I frequently start background SSH tunnels using the ... -f -N -L ... options. This works great, until for example I sleep my machine, or my VPN credentials expire, when the tunnels stop working and I ...
2
votes
1answer
717 views

OpenVPN or IPtables for split tunnel control?

I have been plugging away but not luck, but from what I understand what I am trying to split tunnel. I have a VPN in place (and working) where all traffic from my LAN heads out to the internet via ...
4
votes
2answers
5k views

Can't forward traffic from eth to TUN/TAP

I'm trying to forward traffic from a physical interface enp5s0 to a virtual one tun0. The goal is to make tun0 receive essentially all packets from enp5s0. First, I enable forwarding with a command ...
1
vote
0answers
464 views

How to keep reversed SSH tunnel alive and safe

I need to SSH to a computer that is behind a NAT. To this end a reverse SSH tunnel from that computer (with SSH server installed) is established to my publicly visible server (middleman.example.org): ...
0
votes
0answers
96 views

Using two IP connections in parallel for resilient delivery

I have a mobile Linux server with two LTE connections to the internet, via different providers. The mobile server also acts as a router for other devices, currently using masquerading on just a ...
0
votes
1answer
79 views

Two OpenVPN tunnels to different networks configuration setup to work simultaneously for Linux

I have 1 machine that has OpenVPN tunnel setup with 1 external network computer. Now i want to add another external network computer with a new tunnel. Config file for currently operating tunnel ...
2
votes
0answers
108 views

How can I tunnel a ssh command over an http url [closed]

I have to execute bash scripts over an http url. For example I have two serverS in the same network: From server A i want to send this http url: 10.10.10.5/start.sh And in Server B is a the script "...
0
votes
1answer
786 views

ssh reverse tunnel & gateway ports: forwarding users real (public) IP address?

I'm using a reverse tunnel to a public vps so users can connect to my machine at home. However, due to the reason the reverse tunnel works, their IP addresses are shown as local (127.0.0.1) to my ...
3
votes
1answer
9k views

How do I create a tun device for the actual physical network interface?

I am trying to make a C program that will create a tun device interface for my pc physical interface. The entire idea in doing is that when I write any raw packets on my tunnel device, it will put ...
0
votes
1answer
242 views

Security of a SSH tunnel

We have a cluster (currently 10 machines) behind a NAT. There is a NAT gateway/jump-host between the private network and the regular company network. Users can ssh to the jump-host and then get into ...
1
vote
1answer
459 views

SSH Tunnel broker over IPV4 for machines behind CNAT

I am not sure if I should be asking this in Unix & Linux or Network Engineering Here is the physical scenario [Host 1]----[Carrier-grade NAT]---->AWS<----[Carrier-grade NAT]----[Host 2] ...
0
votes
1answer
1k views

Assign public ip to every openvpn client

I've configured OpenVPN server which will assign private IP to the requested OpenVPN client. But I want to assign different public IP from the pool to every client. What changes need to be done for ...
1
vote
0answers
1k views

Replace ip tuntap by /etc/network/interfaces (or how to create a tun interface in /etc/network/interfaces)

I'm using a sh script (pasted below) to create an IPv6 tun interface using iproute with the tun mode. #!/bin/sh # Create a new TUN interface for WPAN interaction. ip -6 tuntap add mode tun tun0 # ...