Questions tagged [tunnel]
The tunnel tag has no usage guidance.
144
questions
0
votes
0
answers
20
views
forward l2tp client to expressvpn
i have ubuntu server and connected to ExpressVpn
can i forward l2tp to ExpressVpn?
User => l2tp connection => ExpressVpn
thanks
0
votes
0
answers
124
views
Openfortivpn ERROR: connect: Connection timed out
Always get error like this after accidentally unplug power source laptop (and no battery) while openfortivpn was running.
┌──(user@laptop)-[~]
└─$ sudo openfortivpn
[sudo] password for ...
0
votes
1
answer
170
views
Trouble setting up persistent SSH tunnel via Systemd
I'm trying to get a persistent SSH tunnel running on Ubuntu 22.04.
My command works fine from the command line, but fails when run via a systemctl service?
Here is my (redacted) rtunnel.service...
[...
0
votes
1
answer
236
views
How can I connect two ubuntu server with L2TP v3?
My scenario is I want to run a VPN server on the Ubuntu server. but, because my ISP blocks the outbound connection to outside the country I have to first connect to a server in the data center, and ...
0
votes
0
answers
106
views
ipip6 tunnel drops incoming traffic
Tunnel defined as follows:
ip -6 addr add 2001:122::100/64 dev ens224
ip -6 tunnel add myTunnel mode ipip6 remote 2001:26::250:f1ff:fe20:da4f local 2001:122::100 dev ens224
ip link set dev myTunnel ...
0
votes
0
answers
135
views
How to route all network traffic back and forth to an external computer on the internet?
Due to our restricted internet in Iran, I need to establish an internet connection through an OpenVPN server-which is located in Iran- and then route all network packets from the VPN clients to ...
0
votes
0
answers
191
views
How to install stunnel5 on ubuntu?
I have recently stunnel4 from my Ubuntu server. I installed it using:
apt-get install stunnel4
Now as I read online it seems that a later version has already been released. It is stunnel 5. How do I ...
0
votes
1
answer
859
views
GRE tunnel between two ubuntu servers does not work
I'am trying to set up a gre tunnel between the two of my Ubuntu vps's. Both servers have been used from fresh installations of Ubuntu 20.04. And have no firewall active.
I performed based on this ...
-1
votes
1
answer
51
views
Connect 2 server
Hi guys i need tunnel my server to another server
My country block to much website.
example
I have server from iran
And have from Germany
I need tunnel my iran server to Germany
Please i need help ❤️
...
0
votes
1
answer
420
views
How can I set up my Ubuntu sever as ipv6 tunnel?
I have an Ubuntu server one bare metal that has both ipv6 and ipv4 dedicated, but my home ISP ONLY PROVIDES ME WITH ipv4, is there any sane way of setting up my dedicated server as an IPV6 tunnel ...
0
votes
0
answers
374
views
SSH tunneling (jump host) combined with X11 forwarding in Remmina
I recently installed Remmina and want to use SSH tunneling ("jump host") combined with X11 forwarding. I'm not entirely sure if my wording is right.
I'll explain how I do it manually in the ...
1
vote
1
answer
301
views
Forwarded connection refused by server: Connect failed [Connection timed out]
I have an Ubuntu 20.4 LTS that running Squid as a proxy server.
I have a scenario that I'm forwarding traffic from another server to the Linux server using plink with the following command:
plink.exe -...
2
votes
2
answers
2k
views
Creating a persistent reverse SSH connection from remote server to home client
I have a home client I would like to connect to over SSH from my remote Ubuntu server. currently I create a cron job that persistently calls out from my home client to my remote server.
So far I have ...
0
votes
1
answer
793
views
VNC via SSH tunnel working or not, unkown causes
I have Ubuntu 20.04.3, in two computers PC1 and PC2.
I can connect via VNC (remmina) between the two with no problem.
Now I try to use VNC via SSH tunnel.
Set the tunnel
[PC1]$ ssh -L 5900:localhost:...
0
votes
1
answer
5k
views
cloudflared: command not found in Ubuntu
I have been trying to create a Cloudflare Tunnel with cloudflared on Ubuntu (WSL). I followed the link redirected from here and these are what I did:
echo 'deb http://pkg.cloudflare.com/ focal main' |
...
1
vote
2
answers
2k
views
DBeaver tunnel connection says ssh-keygen permission denied
I tried connecting to my remote DB on DBeaver through a tunnel configuration.
I added the required details and tried connecting with my ssh private key, but it is throwing an error saying permission ...
1
vote
2
answers
800
views
Netplan and Ipsec - tell netplan to leave interface alone?
I'm trying to use Strongswan to create an Ipsec tunnel on a server with Netplan. Netplan has currently no configuration for the tunnel1 and tunnel2 interfaces that Ipsec brings up when the tunnels are ...
0
votes
0
answers
59
views
SSH Tunnel Port Forwarding using multiple ethernet device
on Linux Ubuntu, I want each modem to do the ssh tunnel event using its own internet (not according to the selected network on the computer), is something like this possible?
Example Diagram Image
0
votes
1
answer
45
views
Can not create tunnel via staging server
I am trying to create a tunnel directly with ssh command.
My scenario works well when I do following configuration
host: A
pass:**
Tunnel Section in Putty : 6001:HostXX:22
Open this session now
login ...
0
votes
2
answers
842
views
ssh tunnel for 443
I need get a file by a link (443), which is only possible from server B.
I have 3 servers, (A B C).
It is possible to access server B and download this file by wget from server C.
wget https://NAME:...
0
votes
1
answer
898
views
SSH via jump server and then use a command
I have a jump server that I need as a bridge when running commands on another server.
I set up the jump server in my ssh config to be hopping and on the jump server, I set the final destination as lb3....
1
vote
2
answers
17k
views
Error in network definition at netcfg.yaml file: unknown key tunnels
I'm using Ubuntu 18.04 bionic.
when I try to configure GRE Tunnel in the netcfg.yaml file I encounter an error:
Error in network definition //etc/netplan/01-netcfg.yaml line x column x: unknown key ...
0
votes
1
answer
6k
views
ssh tunnel - bind: Address already in use
I am running on my VPS Ubuntu 20.04.1 LTS and locally Ubuntu 18.04.3 LTS and I want to create a ssh-tunnel to connect to my database to run SELECT's for reporting in my laravel 6 application.
My ...
0
votes
1
answer
287
views
SSH tunneling IP filtering
I have created this tunnel on server 10.1.1.1:
ssh -f -N -o -L 8789:10.2.2.2:22 [email protected]
This allows me to connect from local server to the remote server, through port 8789, like so : ssh -p 8789 ...
1
vote
0
answers
2k
views
How to configure IPIP tunnel via Netplan, including routes
I am trying to set up a IPIP tunnel in Ubuntu 18.04 LTS via Netplan config.
I managed to set up the tunnel with routes from server A to server B with those ip commands:
85.ll.ll.ll is server A
85.rr....
1
vote
0
answers
1k
views
Can't run ipv6 tunnel - add tunnel "sit0" failed: No buffer space available
I stack with the error "add tunnel "sit0" failed: No buffer space available".
/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
iface eth0 ...
1
vote
1
answer
68
views
How to serve my directory over internet [closed]
I use python -m http.server 8080 to serve my directory over LAN.
But how will I serve my directory over Internet.
I use pageKite and ngrok to access my machine from Internet.
Thanking you for ...
0
votes
1
answer
1k
views
sftp ssh tunneling and Nautilus (Ubuntu 20.04)
I have a problem with sftp connection via ssh tunnel and use of Nautilus to watch the file inside. If I launch by terminal the command
ssh -t -X BASTIONHOST sftp SERVER
he ask me the password of ...
1
vote
0
answers
786
views
How do I tunnel audio over SSH?
I am capturing sound on my MacBook and I have SSH access to a Linux Server. I want to be able to forward the audio through SSH to the Linux Server and do some processing on it, remotely.
2
votes
1
answer
2k
views
ip tuntap add gives "open: No such file or directory"
I'm inside a dockerized ubuntu 20 and trying to run the command below, but I get this error:
sudo ip tuntap add dev tun0 mode tun user `id -un`
open: No such file or directory
tried this: https://...
1
vote
2
answers
3k
views
How can I tunnel whole system through HTTP proxy?
I currently use Ubuntu 20.04. I need to use proxy to connect to internet. I have configure every program is use proxy because most software don't respect the http_proxy environment variable. I have ...
0
votes
1
answer
459
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
0
answers
185
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
1
answer
250
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
0
answers
218
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
0
answers
53
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
0
answers
170
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
1
answer
989
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
1
answer
1k
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 ...
1
vote
0
answers
96
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 (...
5
votes
1
answer
6k
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 ...
4
votes
1
answer
21k
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
0
answers
255
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
1
answer
3k
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
1
answer
3k
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 ...
1
vote
0
answers
381
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 [email protected]
On local machine I ran:
ssh -vvv -...
0
votes
1
answer
4k
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
0
answers
750
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
1
answer
139
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
0
answers
731
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 ...