Questions tagged [tunnel]
The tunnel tag has no usage guidance.
143
questions
2
votes
0
answers
248
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 ?
14
votes
5
answers
36k
views
Use Remmina 1.2.0 with SSH tunneling
I'm using SSH tunnel and remmina client to connect to the remote machine.
First I open the tunnel in my terminal:
ssh -L 3309:<server_address>:3389 user@<aws_bastion>
And then I just ...
1
vote
1
answer
1k
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
2
answers
371
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
1
answer
493
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
1
answer
4k
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 ...
4
votes
1
answer
6k
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
0
answers
2k
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 ...
2
votes
1
answer
1k
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: ...
10
votes
3
answers
6k
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
1
answer
1k
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
1
answer
1k
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
1
answer
2k
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
1
answer
1k
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
0
answers
256
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
1
answer
5k
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
0
answers
626
views
Double ssh doesn't work
I usually connect to a remote machine through a firewall with:
ssh -xv [email protected]
And then:
ssh -xv [email protected]
Notice that remote is actually an IP address. I've seen this ...
1
vote
1
answer
249
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
1
answer
3k
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
3
answers
1k
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 ...
2
votes
1
answer
2k
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
1
answer
764
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
3
answers
9k
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
1
answer
3k
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
0
answers
5k
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 ...
1
vote
1
answer
909
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
1
answer
34
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
0
answers
102
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 ...
2
votes
1
answer
1k
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....
5
votes
2
answers
13k
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 [email protected]
...
3
votes
2
answers
3k
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
1
answer
1k
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
...
5
votes
1
answer
8k
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 ...
4
votes
3
answers
29k
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
1
answer
1k
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 ...
3
votes
0
answers
160
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
0
answers
757
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
1
answer
2k
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 ...
4
votes
1
answer
4k
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
1
answer
2k
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 [email protected]
The socks5 ...
3
votes
0
answers
9k
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
2
answers
763
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:<...
9
votes
1
answer
23k
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
2
answers
5k
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
0
answers
573
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 ...
8
votes
2
answers
9k
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
1
answer
1k
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 ...
1
vote
0
answers
808
views
Ubuntu 14.04 GRE tunnnel Open vSwitch 2.01
I installed the 2.0.1 openswitch version included with the Ubuntu 14.04 distribution.
I set up a simple gee tunnel and containers are pinging each other but any data flux is blocked.
This is the ovs-...
6
votes
1
answer
8k
views
Can I use manual socks proxy for only specific sites?
I am using socks proxy with chrome. With dconf editor, I can add ignore-host so that browser connect this hosts without proxy. Now I want to do opposite of this. I mean I want to specify hosts so that ...
0
votes
1
answer
6k
views
VPNC cannot find device "tun0"
I am trying to connect to my work VPN with vpnc, on my chromebook with Ubuntu 12.04.4 (64bit).
I have installed vpnc, and when I run it, after entering my user/password, I get the following errors:
...