Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tunnel]

The tag has no usage guidance.

0
votes
0answers
14 views

Why does my autossh connection not resume at boot (init script)

I need to re-establish a ssh reverse tunnel to a achine in a restricted network on boot. I wrote an init scripttha looks like: #! /bin/sh ### BEGIN INIT INFO ### END INIT INFO case "$1" in start) ...
0
votes
1answer
70 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 ...
0
votes
1answer
68 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
78 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
67 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 ...
0
votes
0answers
45 views

How to use SSH config for SSH URI links

I SSH to jump-machine to SSH to server, have created SSH config file for that and it works fine. Now challenge is to use same config file to launch SSH client in chrome by creating a SSH:// link on ...
2
votes
1answer
770 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 ...
2
votes
0answers
507 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 ...
0
votes
0answers
38 views

Connect to private git server behind a firewall

I have two computers, one desktop, having access to a Git server, which is behind a firewall. My second computer is a mobile computer, which is used outside the network mostly, but I need to be able ...
2
votes
0answers
318 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
323 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
1k 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
563 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
275 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
211 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
295 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
142 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
1k 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
264 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
107 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 -...
1
vote
1answer
1k 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
369 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
0answers
543 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.
0
votes
1answer
305 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 ...
1
vote
3answers
5k 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 ...
1
vote
1answer
579 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 ...
0
votes
0answers
82 views

Connect my ubuntu machine to window via ssh

I want to connect to my window machine from my ubuntu machine via ssh tunnel how can i achieve this. I have experience on AWS ssh key handling i want some thing like that. EDIT: My window machine ...
0
votes
0answers
2k views

Remote desktop using Remmina and VNC through SSH tunelling. Is my LAN blocking VNC?

I configured a remote desktop yesterday over LAN by setting up Vino to allow direct (no tunneling) connections on the host PC and using Remmina with VNC password based authentication. It worked ...
0
votes
1answer
94 views

How do I tunnel and browse the server webpage on my machine?

The setup is as follow: I'm on a private network 192.168.1.0/24 I need to access a webpage on my browser from a server hystrix to which I don't have a direct connection. Usually, to access that page, ...
0
votes
1answer
19 views

Autocontrolling of many tunnels

During my work I need to set up many tunnels. What is the best practice to manage it? Sometime tunnels can lost connection I want to auto reconnect it, maybe there is good thing to do it automatically
1
vote
0answers
54 views

transparently tunnel a keyboard though usb, to another device

I would like to transparently "tunnel" a usb device (keyboard) through Ubuntu so that we have: [usb keyboard] -> [ubuntu box] -> [target box]. So, [target box] would think it's using [usb ...
3
votes
1answer
748 views

How to connect (FTP) to remote server via my Ubuntu VPS

My problem is quite specific: I need to connect (FTP) to a client's server from my PC (Ubuntu 16.10) but my PC has dynamic IP and the client's server has IP filtering on. I have my own VPS (Ubuntu 16....
2
votes
2answers
5k views

ssh-tunneled SOCKS proxy connection refusals on Firefox 47.0 / Kubuntu 16.04

I am having difficulty making connections to websites using Firefox over a tunneled SOCKS proxy. SOCKS4/SOCKS5 makes no difference. I set up the tunnel with ssh -D 1234 id@remotehost.example.com ...
1
vote
2answers
1k views

Connect to a server through tunnel like WinSCP

I'm migrating me from Windows to Linux. I've installed an Ubuntu (14.04.01) and I usually did this: myPc (tunnel) -> machine A -> machine B With the opcion "tunnel" in advanced options in WInSCP. ...
0
votes
1answer
666 views

Invalid argument error in httptunnel client

I'm trying to use httptunnel for tunnel a connection like this: on Server: sudo hts -F localhost:10000 81 nc -l -p 10000 On Client: sudo htc -F 7777 server_ip_address:81 telnet 127.0.0.1 7777 ...
3
votes
1answer
2k views

How can I visit external website through ssh forwarding through a single port?

I need to ssh into my work computer, and then I need to connect to an external website (hosted entirely at another company) that my work has contracted with using my work machine. This answer says I ...
1
vote
3answers
8k views

How can I bring down this tun interface?

I can neither bring down nor delete this tun interface which is added on startup. Here's the output when I run ifconfig: eth0 Link encap:Ethernet HWaddr 50:b7:c3:92:38:e2 UP ...
-1
votes
1answer
875 views

What is freezing my remote terminal session to my Ubuntu 14.04 server when I enable socks tunneling in my browser?

I am new to Ubuntu and am using a remote server with Ubuntu 14.04 installed on it (headless). I use putty (on a Windows laptop) to connect to it - ssh with private and public keys. I have also set up ...
2
votes
0answers
118 views

I can't create ssh chain tunnel

I have two remote Ubuntu servers - vps1 and vps2. I want to create ssh tunnel for Firefox, that runs on my PC, to connect first to vps1 and then from vps1 to vps2. This doesn't have to be implemented ...
1
vote
0answers
397 views

IPv6 Tunnel behind NAT

I have a Ubuntu VPS with several IPv6 addresses as well as a IPv4 address. I am travelling often, so I want to set up a tunnel to my VPS which can be initiated from a laptop behind a NAT, which will ...
0
votes
1answer
738 views

How to expose my FTP server to the world from behind NAT?

There's vsftpd server in my LAN; there's a hypothetical client machine in another subnet, who can't make direct connections to my FTP server; and there's a router between 2 subnets, actually VPN. I ...
2
votes
1answer
2k views

From WAN, VNC fails to connect through ssh 5900 tunnel if not also proxied locally

On my local network, I can VNC-over-an-ssh-tunnel quite easily. I wish to do the same from abroad. The server is set up to accept WAN-side ssh connections, and this works reliably. The problem is, ...
0
votes
1answer
1k views

channel 34: open failed: connect failed: Connection refused

I'm using a ssh-tunnel to a server (Linux 2.6.32-431.11.2.el6.x86_64 x86_64) with a socks5 proxy. To build up the connection I'm using the following command: ssh -D 62378 user@server.de The socks5 ...
3
votes
0answers
7k views

SSH Tunnel can't connect through existing tunnel — chanel3: open failed: administratively prohibited

I am following this tutorial and I have gotten past the part where I create a tunnel from my local computer (Host B) to a remote computer (Host A) with ssh -L 19922:HostA:22 HostA however, when I ...
0
votes
2answers
375 views

Bind more than 1 port over SSH?

I use SSH for managing linux servers. Sometimes I need to bind ports from the server to my client. I do this this way: sudo ssh <serverUser>@<server> -L <localPort>:localhost:<...
3
votes
1answer
7k views

How may I do a SSH tunneling?

After reading an article about how cool can SSH be, I tried the solution given there about tunneling your connection. This is the very first time I try this. I've opened a terminal and typed: ssh -...
1
vote
2answers
3k views

Bonding TUN interfaces

I am trying to do VPN tunnels bonding as explained by Simon Mott - VPN bonding. But after doing the steps, and when I tried to start the bonding I got the same error message as in https://...
2
votes
0answers
467 views

Understanding ssh - apparent IP address: dynamic vs local port forwarding

I have ddwrt on my router back home and I'm playing with ssh on my laptop from a remote location to better understand ssh. My router has port 5000 listening for incoming ssh which it port forwards to ...
7
votes
2answers
4k views

How to share WiFi/hotspot over SSH tunnel

I have created a SSH tunnel on my laptop connected to LAN. I want to share the internet via WiFi/hotspot, but over the SSH tunnel. I mean any computer using this wireless should connect to the ...
2
votes
1answer
956 views

Host to Host SSH Tunnel

I want to create a full SSH tunnel between two Ubuntu 12.04 servers, (I found out about SSHuttle but because of a bug in the handling of file descriptors it will crash under high load) very much like ...