Questions tagged [tunnel]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
25 views

How to view all current networks around me

I have an Ubuntu Server hosted on a raspberry pi 4. There is no desktop on it, only a terminal. I am trying to figure out how I could view all possible networks around me I could connect to. Then, I’d ...
0
votes
0answers
35 views

Remote CRUD to MariaDB using persistent SSH tunnel

Hoping someone can help me with this problem. My Setup I have a Client and Server setup both running Ubuntu 18.04.4 LTS. They are both located on different networks. I want to be able to work on the ...
0
votes
1answer
26 views

How to connect Ubuntu server to laptop network

I have a headless raspberry pi running Ubuntu Server 18.04.4 LTS. I control it with my laptop through an Ethernet cable. I’d like to remove the Ethernet cable. There is an interface ‘wlan0’ that I ...
1
vote
0answers
12 views

When I set up a user account restricted to port forwarding, `command=“/bin/echo message”` blocks `permitopen`

I'm trying to set up a user account that can only set up a tunnel for port forwarding on a specific port (9229). I've created the user with a minimal home folder (just a .ssh folder and .ssh/...
1
vote
0answers
30 views

Setting up a direct wireless connection

Ubuntu 18.04.4 LS I have a headless raspberry pi that I connect to my laptop and edit through an Ethernet cable. My goal is to get rid of the Ethernet cable. With no access to the internet, is it ...
0
votes
0answers
86 views

Network interface configuration

I understand (kind of) the way this file works in etc/network/interfaces. My question is, is this the right way to think? I want to set up a static IP address, so that whenever I start up my Ubuntu ...
0
votes
0answers
81 views

netplan gre tunnel+quagga

After installing new router with ubuntu 18.04 on it i'm got a problem with working ospf via gre tunnel to my older routers. All configured simular, but from new router i got ospf state Init/DROther. ...
0
votes
1answer
36 views

Adding an ip address on startup

I have a raspberry pi 4 with Ubuntu Server running. I got it to start up. I am running an Ethernet cable directly from my laptop to the raspberry pi. On my laptop, I manually set the Ethernet IP ...
0
votes
0answers
7 views

How to use my Ubuntu Server VPS to redirect traffic to certain port to my Windows PC (which is behind NAT)?

I have an Ubuntu VPS which is accessible and has open ports. Also, I have a local Windows PC which is not accessible to incoming traffic because of NAT (I have a shared public IPv4 alongside multiple ...
1
vote
0answers
14 views

Linux gateway is forwarding traffic to its own gateway when tunnel is down

I have a box (192.168.1.2) that connects to a VPN creating a tunnel. This box has a 192.168.1.1 default gateway which is my router's internal address. The rest of my network has 192.168.1.2 (...
2
votes
1answer
163 views

Permission denied for ssh -R (tunnel)

I am trying to set up a tunnel between port 22 on my work computer (Ubuntu 19.10) to port 44455 on my computer at home (Ubuntu 18.04), so that I can ssh to my work computer from home. (Unfortunately I ...
0
votes
0answers
30 views

IPV6 tunnel stops working randomly until I renew my public IP

I'm using Ubuntu Server 19.10 as a router. Whenever my ipv6 tunnel isn't able to ping ipv6 addresses, I have to do the following: dhclient -r wan dhclient -v wan However, before I renew my public ...
0
votes
0answers
112 views

Ubuntu 18: Hotspot does not use OpenVPN connection from its settings

In Ubuntu 18 when I edit my hotspot with nm-network-manager, I'm ticking the box for Automatically connect to VPN when using this connection. However this setting seems to be defective and always ...
0
votes
0answers
22 views

Forward DHCP traffic from two interfaces

I need to forward the DHCP request from a VXLAN tunnel interface (vxlan_tun1) and ens3 interfaces. Currently, my DHCP server only offers IPs on the ens3 interface but I need it to offer on the other ...
0
votes
0answers
33 views

Make localhost GUI available with IP of host

I have a headless Raspberry Pi running and want to set up the synchronizing service Syncthing. This service provides a browser-based GUI which is accessible via localhost:PORT. Obviously, this only ...
0
votes
0answers
609 views

How can I permanently delete tun interfaces

I am running Ubuntu 19.10 with openvpn 2.4.7, and over time I have accumulated 40 tun devices, which all show up when I log in. ifconfig confirms that they are all there. I have tried: doing sudo ip ...
1
vote
0answers
109 views

Proxy within a proxy using SSH Tunnel

There's a problem with Iranian internet connections in the few past days. Yesterday, one of my friends said I can connect to the global internet (we have access to Iranian websites which hosted inside ...
0
votes
1answer
181 views

OpenVPN tun0 routing on server

I have an OpenVPN tun0 10.8.0.0 255.255.255.0 There is an interface on the server eth1 for 192.168.0.0 255.255.255.0 I would like to route the OpenVPN connections to access the 192.168.0.0 network. ...
1
vote
1answer
507 views

Configure GRE via Netplan (headless/aws)

How to translate the below to a Netplan yaml file with networkd as the renderer? At the command line these commands work and build a GRE tunnel with an MTU of 1476. ip tunnel add gre1 mode gre ...
0
votes
0answers
24 views

How can I troubleshoot when an IPV6 tunnel stops working?

Assuming the configuration hasn't changed, how can I start troubleshooting? I woke up to not being able to ping IPv6 addresses. Things to keep in mind: IP Address didn't change. Public IP Address ...
1
vote
0answers
146 views

Unable to use remote x11vnc on a ssh tunnel

I want to connect to my desktop at work via vnc. Here how I did: On the remote machine I ran: autossh -M 8081 -NR 2222:localhost:22 -p3082 censor@censor.sytes.net On local machine I ran: ssh -vvv -...
0
votes
1answer
790 views

Cannot connect to X display using an ssh tunnel in WSL bash

I have VcXsrv installed on windows and I run ssh -NfXY -t -o ServerAliveInterval=30 -L 2121:PCNAME:21 -L 2020:PCNAME:20 -L 2222:PCNAME:22 USERNAME@SERVER to tunnel through the university server to ...
1
vote
0answers
202 views

Port Forwarding between 2 hosts in VPN

I'm having some problems while trying to set port forwarding rules on a Ubuntu machine. I'll explain my situation.. I have a Raspberry in my local home's network and I have a webserver installed on ...
0
votes
1answer
102 views

How to connect locahost with my outside Database

i to want to connect from my Computer to my outside Database . SSH information from my Web-Host SSH IP: .224.138. SSH Port: 65002 SSH Username: 2907***** SSH Password: *********** I have a ...
1
vote
0answers
379 views

IPSEC configure over GRE tunnel in ubuntu

I have created a GRE tunnel between to clients and they ping together but the problem is that as we know GRE only encapsulates and does not encrypt the packets. I have seen thousands of tutorials on ...
0
votes
1answer
581 views

Keyboard layout of terminal through X11 ssh tunnel is wrong - how to fix?

If I display a terminal over an ssh tunnel (X11 forwarding) to Xming on a Windows 10 PC, the keyboard setting is wrong. On the Ubuntu machine itself, the keyboard setting is correct. What puzzles me: ...
1
vote
0answers
75 views

How can I create GIF tunnel in ubuntu

I am able to create GRE tunnel in ubuntu. But I know that GRE cannot carry layer2 traffic, that's why I want to use GIF tunnels instead. How can I create GIF tunnel in ubuntu ?
1
vote
1answer
6k views

Use Remmina 1.2.0 with SSH tunneling

first of all please apologize me if I'm asking a newbie question. I tried to look for the similar problem but fail to find an answer. I'm using ssh tunnel and remmina client to connect to the remote ...
1
vote
1answer
681 views

How do I config tunnels in netplan

I cant find any docs on how to bring up tunnels with netplan. Can some point me to the correct docs or does netplan not manage tunnels?
2
votes
2answers
192 views

Transparent VPN Server that can connect to Windows

I have a hosted Ubuntu server with a few extra global IP addresses assigned to subinterfaces (eth0:0, eth0:1). They're inside the same block as the primary IP address assigned to eth0 and are all ...
0
votes
1answer
224 views

Why vxlan tunnel disappear after ifdown bond?

I created a vxlan tunnel using the iprouter2 tool. The command was: ip link add vxlan2 type vxlan id 2 group 233.1.1.1 dev bond0 dstport 4789 But when I restart network or "ifdown bond0", vxlan2 ...
1
vote
1answer
3k views

Ubuntu SSH tunnel to server [duplicate]

I used to have my PC on Windows and use Putty to forward internet traffic so it would get through my VPS (located in another country) and give me the opportunity to look like I'm located there ...
3
votes
1answer
2k views

Ubuntu 18 Server GRE tunnel with netplan?

How do I create a GRE tunnel with netplan? Previously in /etc/network/interfaces, I would do.. iface gr0 inet manual pre-up ip tunnel add gr0 mode gre remote 10.10.10.10 local 10.20.10.10 dev ens33 ...
2
votes
0answers
921 views

PPTP Split Tunnelling

I have VPN on Linux with PPTP protocol. What I want to do is some kind of split tunnelling, which means that I need to use my real IP on some specific internet software, and use the VPN on the rest of ...
1
vote
1answer
866 views

What does the @ sign mean after a tunnel interface?

I previously asked a question on setting up a ipv4 to ipv6 tunnel. I answered my own question and this is configuration output from my previous question here https://askubuntu.com/a/992872/13903 4: ...
9
votes
2answers
3k views

ipv6 tunnel in Ubuntu 17.10?

I used to be able to do the configuration below with no issues in /etc/network/interfaces but now it's not picked up anymore. How do I configure a ipv6 tunnel now? I see see the new netplan software ...
1
vote
1answer
841 views

SSH Access via tunneling

I have the following setup, Machine A (Windows 10 & connected to ISP(X)) and Machine B (Windows 10 & connected to ISP(Y)). Both of these machines (A & B) do not have any direct ...
2
votes
1answer
570 views

How can I keep SSH connection alive?

I use Ubuntu 14.04 on my server and I've added these lines into /etc/ssh/ssh_config: (as it's mentioned here) ServerAliveInterval 300 ServerAliveCountMax 2 ClientAliveInterval 300 ClientAliveCountMax ...
0
votes
1answer
714 views

ip tunnel of network 10.0.0.x (machine A) via 152.83 to machine B

I am trying to set up a tunnel 'gre'. THe setup is as follows. On machine A, I have two networks: 10.0.0.x (eth2) and 152.83.x.x (eth1). To machine A, I have connected other machines that share 10.0.0....
1
vote
1answer
702 views

Adding tap device to bridge causes DNS to fail (sometimes)

I am on Ubuntu xenial (16.04 LTS), since I use virtualization, I decided to make a bridged network. I created the bridge in /etc/network/interfaces like so: iface eth0 inet manual auto br0 iface ...
0
votes
0answers
183 views

Could not create tunnel device. Fatal. when running icmptx

I'm trying to follow this tutorial on using ICMP protocol to access the internet to bypass a public WiFi's authentication page. Why do I get Could not create tunnel device. Fatal. when I run icmptx -...
1
vote
1answer
2k views

How to tunnel and browse the web on remote network

I have a Linux router(not used as DHCP/DNS server, simply a linux box on the network) at home that I want to use as my "remote access" device. My initial goal is to use SSH Tunneling to remotely ...
1
vote
0answers
456 views

Double ssh doesn't work

I usually connect to a remote machine through a firewall with: ssh -xv farshidhss@ras.cse.ust.hk And then: ssh -xv luca@10.89.100.72 Notice that remote is actually an IP address. I've seen this ...
1
vote
1answer
158 views

RDP via ssh stopped working

I run a headless VM (an old WinXP) on a Ubuntu server. I haven't used it in a while, and I just started it but it won't connect via ssh tunnel. I start the VM on the server like this: client $ ssh -...
2
votes
1answer
2k views

SSH Into Server Behind VPN

I have two servers, server A and server B. Server B is acting as a VPN for server A. I am trying to figure out a way from a 3rd computer to ssh directly into server A even though it's behind server B'...
0
votes
3answers
600 views

Multiple VPN tunnels between two hosts to increase bandwidth

I set up VPN tunnel between my web server and a proxy server to by pass some restrictions such as the country firewall. The VPN tunnel works well. But when too many requests to my server, all the ...
0
votes
1answer
909 views

How to tunnel Synergy over SSH?

Pretty straight forward. How do i tunnel Synergy over ssh? I need to connect client to server over a ssh tunnel to have a more secure connection.
1
vote
1answer
457 views

forwarded port on localhost still up after closing session

I'm new to ssh port forwarding, so I was checking this out. I did as the "Local Port Forwarding" section said, except I did this: george@george-pc:~$ ssh -L 12345:www.ubuntuforums.org:80 george I ...
2
votes
3answers
7k views

mysql workbench failed to connect to server over ssh tunnel after server upgrade to ubuntu 16.04

I had an active connection in MySQL Workbench to my Ubuntu 14.04 over ssh tunnel for last two years without any problem. But after Ubuntu upgrade to new 16.04 I keep receive following error: 13:41:56 ...
2
votes
1answer
1k views

How to avoid all internet traffic going through VPN connection when established

I am trying to resolve the following problem: I need to be connected to my company's Mikrotik router to reach company's NAS server. It works well. But if I stay connected all the time then all my ...