Sponsored Content
Special Forums IP Networking Proxy Server WebSocket over SSH tunnel - is it possible? Post 302931658 by Vladislav on Wednesday 14th of January 2015 11:42:28 AM
Old 01-14-2015
Quote:
Originally Posted by Corona688
A rose by any other name is still a rose. I'd call it a VPN.
Well, to a certain extent it does indeed behave like a VPN, but it does not use any form of tunneling and does not create a virtual network interface, like other VPN applications do. Also it does not function on the Internet layer of the connection (like IPSec) and only relays specific TCP messages that are part of the TeamViewer API (so it provides no extended network interfacing capabilities whatsoever). You might argue that e.g. OpenVPN tunnels it's traffic over TCP / UDP connections as well, but in that case they are used to multiplex SSL tunnels.

I already began developing a relatively simple server application that will do something similar - instead of situating my WebSocket listener on the streaming server device, I will put it in a 'mid point', where both the streaming server and clients will be able to connect.

The Java code will then handle the messaging and video streaming through a basic set of API commands and hopefully I will get what I want.

This type of architecture also makes a lot more sense with regard to the original purpose of the WebSocket design.
 

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
VTUND(8)						      System Manager's Manual							  VTUND(8)

NAME
vtund - VTun(Virtual Tunnel) daemon. SYNOPSIS
vtund < -s > [ -i ] [ -n ] [ -f file ] [ -P port ] vtund [ -f file ] [ -P port ] [ -p ] [ -m ] [ -t timeout ] [ -n ] < session > < server address > DESCRIPTION
VTun provides the method for creating Virtual Tunnels over TCP/IP networks and allows to shape, compress, encrypt traffic in that tunnels. Supported type of tunnels are: PPP, IP, Ethernet and most of other serial protocols and programs. VTun is easily and highly configurable, it can be used for various network task like VPN, Mobile IP, Shaped Internet access, IP address saving, etc. It is completely user space implementation and does not require modification to any kernel parts. OPTIONS
-f file Read config information from the file (full path required). By default vtund uses /etc/vtund.conf -n Do not become daemon. Server mode: -s Run as the server. -i Run as the inetd server. -P port Listen for connection on the specified port By default vtund listens on TCP port 5000. This options is equivalent to the 'port' option of config file. Client mode: -P port Connect to the server on the specified port By default vtund connects to TCP port 5000. This options is equivalent to the 'port' option of config file. -p Reconnect to the server after connection termination. By default vtund will exit if connection has been terminated. This options is equivalent to the 'persist' option of config file. -m Force memory pages to be locked memory-resident to prevent potential VM deadlock. Useful with NFS traffic. This option has no con- fig file equivalent. -t timeout Connect timeout Default is 30 seconds. This options is equivalent to the 'timeout' option of config file. session Session name from the config file. server Address of the server to connect to. Either IP address or domain name can be specified. FILES
/etc/vtund.conf Main configuration file with sessions and other information. See vtund.conf example provided with distribution and vtund.conf(5) for more information. /var/lock/vtund/ Session lock files. /var/log/vtund/ Connection statistic log files. Format: Date Uncomp_In Uncomp_Out Comp_In Comp_Out SIGNALS
SIGHUP Server mode: Causes vtund to reread the config file. Client mode: Causes vtund to reestablish the connection. SIGUSR1 This signal causes vtund to reset statistic counters. SEE ALSO
vtund.conf(5) NOTES
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/) AUTHORS
Maxim Krasnyansky <max_mk@yahoo.com> VTUND(8)
All times are GMT -4. The time now is 02:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy