The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
1answer
68 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....
1
vote
2answers
71 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 ...
0
votes
0answers
31 views

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

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 ...
0
votes
0answers
50 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. ...
0
votes
0answers
6 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
58 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
247 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
178 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 ...
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
117 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 'apt-...
2
votes
1answer
136 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
2answers
814 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
355 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
74 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
130 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
220 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
533 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
582 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 ...
0
votes
2answers
126 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:<...
0
votes
1answer
525 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
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 http://stackoverflow....
2
votes
0answers
252 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 ...
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 ...
2
votes
1answer
379 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
448 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-...
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 ...
0
votes
1answer
2k 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: ...
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-- https://raw.github.com/mseknibilel/OpenStack-Grizzly-...
2
votes
0answers
155 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 net)---[PC3:...
18
votes
3answers
45k 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 ...
3
votes
0answers
481 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
279 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
1answer
100 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 ...
0
votes
1answer
473 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
187 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
765 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 22:...
21
votes
5answers
24k 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
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 ...
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
205 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 ...
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
vote
1answer
95 views

Providing SSH tunnling, what to think about when configuring Ubuntu Server

Recently I've considered, mostly as a pet project, to set up accounts for a closed group of users via SSH to my box with the purpose of SSH tunnling things like web traffic -- some of it for friends ...
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
6k views

check support of Universal TUN/TAP Device on ubuntu 12.04

I am trying to setup Appgate Ip tunneling driver on my ubuntu 12.04 by following appgate instructions listed below: Installation, Linux Make sure the kernel has support for the Universal TUN/TAP ...
3
votes
0answers
641 views

How to prevent autossh from becoming stuck once in a while?

I am using autossh to build a reverse ssh tunnel but from time to time the tunnel stops working and I need to kill autossh and start it again. /etc/cron.d/autossh @reboot autossh -f -nNT -R 3269:...
0
votes
1answer
586 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 hsf@4i67....
1
vote
1answer
494 views

IPv6 tunnels - any easy way to turn them on and off?

I've set up a tunnelbroker.net (Hurricane Electric) IPv6 tunnel from my laptop running 12.04. Works fine, and allows me to test the dual-stack configuration on my remote webservers etc. until native ...
0
votes
2answers
4k views

How to tunnel traffic to certain destinations over ssh?

I'd like to send traffic destined to certain ip/subnet through one ssh socks5, while routing other traffic through another socks5 tunnel. I'd tried tsocks with following configuration: path { ...
0
votes
1answer
2k views

AutoSSH for a robust tunnel

I'm trying to start an ssh tunnel from A to B and have it run despite things like: period network/wifi drops on A and remote server reboot on B. My ssh tunnel starts using upstart script on A with ...