Questions tagged [tunneling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
5 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
11 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 ...
-1
votes
0answers
31 views

Are there any alternatives to TUN/TAP devices?

TUN/TAP devices (Tun/Tap interface tutorial, Universal TUN/TAP device driver) provide a unique networking functionality to user space programs. They allow the creation of virtual fake network ...
0
votes
0answers
17 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
16 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
43 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
47 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
41 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
22 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
18 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
36 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
66 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
18 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
34 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
58 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
0answers
16 views

configuring sshttp - confused by port choices, iptables configuration

I'm trying to use sshttp to intelligently multiplex incoming traffic on a local port, following the instructions here: https://blog.stalkr.net/2012/02/sshhttps-multiplexing-with-sshttp.html but I am ...
0
votes
2answers
61 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
0answers
21 views

iptables with tunnel in 2 interfaces

natserver eth1 = nat/gateway (10.0.0.254) licenseserver eth0 = 10.0.0.251 ( get from nat server ) machine1 eno0s3 = 200.0.0.184 = valid eno0s8 = 10.0.0.252 ( get from nat server ) any machine ...
0
votes
1answer
73 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
221 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
27 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
41 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
224 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 ...
2
votes
0answers
428 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
725 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
66 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
699 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
1k 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
133 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
519 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 ...
2
votes
1answer
3k 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
365 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
88 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
56 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
90 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
714 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 ...
2
votes
1answer
8k 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
223 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
391 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
934 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 # ...
2
votes
1answer
721 views

How to proxy App over a reverse SSH-Tunnel (multiple hops)

a question to SSH-tunneling. I am trying to proxy Firefox over a Pi, that is in a network behind a NAT. This Pi builds a reverse SSH tunnel to one of my servers, which works pretty well. When proxying,...
1
vote
1answer
515 views

How to rsync between two server via their common windows host

We are migrating 100s of gigs of data from in house server to external server. We tried a lot but still those two servers can't talk to each other, probably due to corporate security. The current ...
2
votes
1answer
3k views

Cannot open TUN/TAP, openVPN issues

I have openVPN, and the vm runs fine otherwise. It can connect to the internet, and run localhosts, and all sorts of things. I need access to a vpn through it though. I have my ovpn file, and my ...
1
vote
0answers
268 views

ip tunnel from subnet to local host

I'm very new to Linux networking. I need to set up an IP tunnel so that all udp traffic coming to the 12.x.x.x subnet gets tunneled to a specific ip and port on the same box so that my application ...
2
votes
1answer
737 views

SSH Configuration Help / Can't tunnel

I have a stock install of Ubuntu 16.04.2 with key based authentication setup and working fine. I've also installed an unmodified mysql-server 5.7.17. I cannot seem to connect to the mysql server via ...
2
votes
1answer
756 views

Networking Tunnel a home server through a dedicated failover IP

I'm setting up a homemade server that will be hosted at a friend's home that have fiber connection (let's call it Home Dedicated Server: HDS), but, I don't want to use his IP connection directly, I ...
10
votes
3answers
2k views

Is it possible to expose TCP tunnel in Linux as special character device?

Recently I found in QNX documentation that it allows to set up message based IPC between processes on separate physical machines by using serial device (dev/serX) and it made me wonder: Is it ...
0
votes
2answers
2k views

SSH Tunneling to VNCServer

I have a dedicated server. There's a VNC Server and I can connect to VNC Server with a VNC Client with port 5901 so it takes me to display :1 when I connect there with a VNC Client. I've read pretty ...
1
vote
2answers
1k views

Add default route without gateway nmcli

I'm trying to configure NetworkManager to perform the following action for an interface ip route add ::/0 dev he-ipv6 he-ipv6 is a point-to-point ipv4 sit mode tunnel and running the above command ...