The tag has no usage guidance.

learn more… | top users | synonyms

18
votes
4answers
22k views

How do I SSH to machine A via B in one command?

I want to access a computer, say machine A which is based in my university's network. However, this computer is only accessible via the internal network of the university, so I can not use SSH to this ...
0
votes
0answers
17 views

Adding SSH to new user: Jailed (chrooted) SFTP user can authenticate, but is immediately exited

I'm having trouble creating a new user with some key permissions. I want this new user to do the following with "everything else" locked down: SSH tunnel to port 5432 (postgres) SFTP jailed to the ...
17
votes
3answers
43k views

How can I make VirtualBox guests share the host's VPN connection?

Question When I start my VPN on my ubuntu desktop computer which acts as a router, the attached subnet loses internet connectivity, but is still accessible (LAN). Ideally, I would like to know how to ...
0
votes
0answers
37 views

How to check ssh tunnel status and create alert

Can anyone please help me to write a shell script checking ssh tunnels status and create alert in case a tunnel dies? Also some log must be created in var/syslog once a tunnel is created or dies. ...
3
votes
1answer
15k views

How to set up ssh connection (acessible over internet, not LAN) using MTS MBLaze modem?

I have a MTS MBlaze USB dongle, with which I can connect to the internet. The question is, how do I set up a ssh connection accessible over the internet so that any one can connect to my PC through ...
1
vote
2answers
707 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 ...
0
votes
2answers
122 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 ...
0
votes
0answers
5 views

no-ctl when gre tunnel interface brought down

When I bring the GRE Tunnel down I get the following error of no-ctl when I bring it up it doesn't give me any error. Can anyone advise how one will be able to solve this error. Thanks
0
votes
0answers
47 views

ICMP VPN in Ubuntu Like Droidvpn of Android?

Is there a way to use icmp tunnel in ubuntu ? like android app droidvpn. I searched a lot but couldn't find any suitable options.
0
votes
2answers
211 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
138 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 ...
4
votes
1answer
4k 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 ...
1
vote
2answers
1k 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 ...
0
votes
0answers
33 views

Get access to host in OpenVPN network from global network

I need help with next situation. I have OpenVPN server set up on virtual machine in Azure cloud. This server have 104.208.34.118 IP adress. There are client, connected to this server, behind the NAT ...
0
votes
0answers
112 views

apt-get fails behind squid proxy

I use proxy server to connect to internet. The server is a squid proxy, which blocked certain requests. Things not working: ping apt-get traceroute6 Things working: curl wget When I do ...
2
votes
1answer
111 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
1answer
2k views

Reverse SSH Tunnel Issue

I'm working on setting up an unattended Ubuntu PC with Ubuntu Server 12.04 Minimal, and since this PC will be placed in a remote location with no keyboard or screen (unattended), I need to have a ...
-1
votes
1answer
337 views

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

I want to clarify a bit before proceeding further. I am new to Ubuntu and am using a remote server - with Ubuntu 14.04 installed on it (headless). I use putty (Windows laptop) to connect to it - ssh ...
2
votes
0answers
70 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
126 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 ...
1
vote
1answer
491 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
200 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 ...
3
votes
1answer
6k views

Proxy tunneling failed: Proxy Authentication RequiredUnable to establish SSL connection

$ wget https://raw.github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/master/KeystoneScripts/keystone_basic.sh --2014-03-05 12:55:27-- ...
0
votes
1answer
1k 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: ...
0
votes
1answer
572 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 ...
1
vote
0answers
3k 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 ...
5
votes
1answer
1k 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 ...
0
votes
1answer
432 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 ...
2
votes
0answers
248 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 ...
29
votes
1answer
27k views

Reverse port tunnelling

I need to show somebody a website running on my local machine tomorrow. Normally I'd accomplish this by port forwarding on my local router but thanks to the miricle that is failing hardware and its ...
2
votes
1answer
360 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
0answers
439 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 ...
17
votes
3answers
27k views

How do I route my internet through a SSH tunnel?

Old Q How do I setup an OpenVPN server without root privileges? Is there a way to setup an OpenVPN server without root privileges? E.g. with configuration files in my home directory? If yes, how do I ...
2
votes
0answers
154 views

How to do port forwarding over a public network?

I am stuck in one complicated task , i am having following structure, _____________________________ | [PC1]--(in same net)--[PC2] |----(Over internet or public ...
3
votes
0answers
463 views

How to create a tunneling connection for remote screen sharing

I have the following setup: My Computer --> ISP Router --> Internet --> Company ISP Router --> Company Router --> Switch --> Company Server. Using Teamviewer I can share the Company Server with My ...
1
vote
0answers
269 views

How to ssh tunnel to ec2 for running a local python script

I can create a tunnel for FF using the below on Ubuntu. Machine is 12.04 in a VBox on a mac host. -i ~/.ec2/aws_development_oregon.pem -C2qTnN -D 8080 ubuntu@test.com But..what I need is for my ...
0
votes
3answers
2k views

OpenVPN vs. IPSec - which one is faster for tunneling?

Complexity of installation of IPSec is not an issue. I would like to know which one will provide a faster connection for tunneling.
0
votes
1answer
97 views

tunneling ssh through ssh

I access a Beowulf cluster which only allows local connections when I am at work. To work on the cluster from home, I login to an onsite ssh server then run a simple ssh script, to login to the ...
1
vote
2answers
676 views

Reliable way to create secure tunnels from startup on an ubuntu laptop?

I'm looking for a reliable way to start a secure tunnel at boot on a laptop. This tunnel will not be needed by other parts of the boot process, but could be needed at any subsequent time by a user. ...
0
votes
1answer
466 views

How to setup portforwarding

I have the following setup. Local -- server A -- server B I need to scp, ssh from Local to B. What I do now is I scp/ssh to A and then from A to B.I would like to know how to setup portforwarding, ...
0
votes
1answer
184 views

Is my OpenVPN connection doing its job?

My first question is whether or not my openvpn connection is working as it is supposed to (routing all network traffic via the tun0 interface). When I type netstat -rn I get the following: $ netstat ...
0
votes
2answers
759 views

I'm having trouble running a python script and then continuing with my bash script

I am using tcprelay.py from usbmuxd to forward local port 2222 to remote port 22 so that I can SSH into my iPhone over USB. If I run python ~/Downloads/usbmuxd-1.0.8/python-client/tcprelay.py -t ...
5
votes
3answers
4k views

ssh tunnel and receiving Web pages through the tunnel

I've tried to create a tunnel torward a client passed through a server, using the following command ssh -X -f admin@IP_server -N -L 4444:IP_client:80 but when try to open client:80 by firefox ...
8
votes
4answers
6k views

How can I autostart a SSH -D tunnel at login for a SOCKS proxy?

I know that if I want to start an SSH tunnel ssh -d 9000 user@userserver This is one solution for a dynamic tunnel to be opened on port 9000 for a user named "user" on the host "userserver" ...
2
votes
1answer
2k views

SSH Tunneling Suddenly Not Working

I have a home PC running Ubuntu 12.10. In order to make sure that my data isn't being monitored in public, I had in the past used a subscription VPN service. I decided to research alternatives and I ...
0
votes
1answer
1k views

ssh tunnel in and connect to local machine

Have a server setup and I can ssh in with putty via port forward and open a gui page, and webmin and command line. Once I have logged in, I want to be able to access other ip addresses via web page ...
21
votes
1answer
38k views

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

I run a web app in one of my lab servers, and I have already setup X11 Forwarding on those machines. Other lab members can tunnel through SSH, and browse that web app on their local browser at home. ...
0
votes
1answer
2k views

configure GRE tunnel to start on reboot?

i'm trying to configure GRE tunnel (between 2 VBOX ubuntu server 12.04 LTS on win 7 host) but it keep failed. can anyone help?????? the configuration in /etc/network/interfaces VBOX A ip address ...
2
votes
1answer
200 views

Is it possible to configure openvpn in ubuntu according configuration files relevant to windows?

I am using openvpn in windows and have the configuration files as well. Unfortunately the service provider doesn't have any guide or configuration files for Linux users. Is it possible to use windows ...
0
votes
1answer
583 views

Trying connect by SSH and get “access denied” by localtunnel

Hey I installed localtunnel - http://progrium.com/localtunnel/ and I tried connect from my laptop using putty(I even unckecked attempt gssapi authentication) and I receive login as: hsf ...