Sponsored Content
Special Forums IP Networking Proxy Server WebSocket over SSH tunnel - is it possible? Post 302931639 by Vladislav on Wednesday 14th of January 2015 09:25:56 AM
Old 01-14-2015
Quote:
Originally Posted by Corona688
You asked for forwarding when you knew it wouldn't work, and now want teamviewer?

VNC. Though if you can't arrange port forward forward for that you'll need VPN too.
Unfortunately VNC is not an option as most VNC clients use a similar networking mechanic where the client side will open a random port for the outgoing requests, which basically presents the same issue as I have with my solution...

Also, I want to use this on an Android device and grabbing frames from the FrameBuffer in Android (which VNC does) is painfully slow at 4-5 frames per second. The application that I am developing utilizes one of the newer APIs in Android, that allows streaming of the screen content much more effectively (~30 frames per second).

I investigated what TeamViewer does and it seems that they have a server side application that actively forwards the communication between the streaming server (remote controlled device) and client based on unique user IDs.

This is starting to look like my only viable solution as well, although I was hoping that there would be an easier way to achieve the same functionality...

Also, although it'll be a nice clean way to solve the connectivity problem, VPNs are not allowed in some countries. Smilie Many mobile operators nowadays have policies that force corporate users to purchase licenses for private APNs, in order to be able to use VPN connections.

I don't know what the exact reason for that is, but it has something to do with their security concerns and maybe even some old-fashioned greed. Some operators have pretty strong firewall rules and may even go as far as to block SSH tunnels (or any other type of encrypted traffic for that matter - although far less common). Exceptions are made only for well known applications like Skype, Hangouts, etc.

Last edited by Vladislav; 01-14-2015 at 10:32 AM..
 

10 More Discussions You Might Find Interesting

1. Programming

using a ssh tunnel with nx compression

hi everybody and thank you for this wondefrul forum this is my first thread posted here and i hope that i could find some help from your part (i am even sure) :D here is the situation: i am to develop an application of remote desktop access such as vnc, vpn and especially nx i want to develop... (0 Replies)
Discussion started by: bolboln01
0 Replies

2. UNIX for Advanced & Expert Users

ssh decipher a tunnel

Two question here, but it's only one on the protocol point of view. If two persons use the same key to connect to a SSH server is there a risk they can decipher the other tunnel. In other terms is that less safe than if they have two separate keys. Same question if two persons use the same user... (2 Replies)
Discussion started by: moi
2 Replies

3. UNIX for Advanced & Expert Users

Stopping SSH tunnel

I have initiated a tunnel for vncserver. now i want to stop it. is there any way except sleep option? (2 Replies)
Discussion started by: majid.merkava
2 Replies

4. IP Networking

ssh tunnel with 2 hops and key

I have situation: - localhost L - server A - server B (currently accessible only from B, but it have key of my localhost - added when L have different location and can access directly to B) problem: how set tunnel from L to B and use key from localhost (I don't remember password to B)? I... (0 Replies)
Discussion started by: lessmore
0 Replies

5. Cybersecurity

RDP over SSH Tunnel

Hi all, I'm trying have an alternative way of connecting into a Corporate network. Mostly in case the VPN down as I cannot also change the security policy. I want to expose windows RDP over ssh tunnel. I have 3 hosts in my scenario 1- Host a : Windows 2k8 has no internet access just only an... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

6. UNIX for Dummies Questions & Answers

SSH tunnel working for ssh but not for sshfs

I'm trying to setup a link between my home pc (work-machine) and a server at work (tar-machine) that is behind a gateway (hop-machine) and not directly accessible. my actions: work-machine$ ssh -L 1234:tar-machine:22 hop-machine work-machine$ ssh -p 1234 user@127.0.0.1 - shh access on... (1 Reply)
Discussion started by: Vathau
1 Replies

7. IP Networking

Help with SSH tunnel?

I have a Java web app on machine (X) that needs to talk to an LDAP server (Y) on :636, but the LDAP server is only accessible on a particular network. I can login to a machine (Z) on that network from X, and this machine can talk to the LDAP server on :636. How can I tunnel so that X can... (2 Replies)
Discussion started by: spacegoose
2 Replies

8. UNIX for Advanced & Expert Users

Ssh tunnel question

Hi all I have a suite of scripts that ssh to remote servers within a cluster and run some tests. This is done from a central server so that all of the test results can be captured in one location. Problem is I now have 509 tests and the number is growing. The scripts work by establishing a... (2 Replies)
Discussion started by: steadyonabix
2 Replies

9. Solaris

Tunnel X over ssh for 11.3

Hello Solaris experts: Trying to bring the 11.3 gdm screen over ssh to a Linux Box: I did the following: 1. made chanes to /etc/ssh/sshd_config & bounced ssh daemon: # X11 tunneling options X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes 2. From the remote Linux box: ... (6 Replies)
Discussion started by: delphys
6 Replies

10. UNIX for Advanced & Expert Users

Tunnel using SSH

I am not clear with the part of concept of Tunneling using ssh. ssh -f -N -L 1029 192.168.1.47:25 james@192.168.1.47 I found out that above code works for me . but didn't quite well understood how ti works and need to ask you guys some questions. since we are using tunnel through ssh ... (2 Replies)
Discussion started by: lobsang
2 Replies
x0vncserver(1)						     Virtual Network Computing						    x0vncserver(1)

NAME
x0vncserver - VNC server which continuously polls an X display SYNOPSIS
x0vncserver [parameters] DESCRIPTION
x0vncserver is a VNC server which continuously polls any X display, allowing it to be controlled via VNC. How usable it will be depends a lot on the machine it's running on, and what you're expecting. It won't be as fast as Xvnc or a native X server with VNC support compiled in, but in many cases it is the best option since it is just an ordinary X application requiring no special installation. It has many of the same parameters as Xvnc. Running x0vncserver -h will give a list of parameters with descriptions. Note that you need to explicitly specify an appropriate password file using the PasswordFile parameter. SEE ALSO
Xvnc(1) vncpasswd(1), vncviewer(1), vncserver(1), http://www.realvnc.com AUTHOR
Tristan Richardson, RealVNC Ltd. VNC was originally developed by the RealVNC team while at Olivetti Research Ltd / AT&T Laboratories Cambridge. It is now being maintained by RealVNC Ltd. See http://www.realvnc.com for details. RealVNC Ltd 03 Mar 2005 x0vncserver(1)
All times are GMT -4. The time now is 11:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy