ewiger / jsmodem

JSModem for JSLinux
MIT License
122 stars 22 forks source link

Multi connection support #3

Open lephix opened 7 years ago

lephix commented 7 years ago

Hi Ewiger, From the testing, I found only one connection is supported. If I closed jsLinux in browser, the socat will be disconnected and quit. Is there any way for supporting multi connection.

ewiger commented 7 years ago

Thnx for taking a look into it. Indeed the setup is more of a proof of concept rather than production ready system. Maybe a quick hack on better managing the server side can help. Something of ISP like script for ppp daemon that accepts connections instead of the socat.

Can you explain what kind of problem you are trying to solve? I am very curious.

lephix commented 7 years ago

I want to providing a web ssh for company internal usage. I could only NAT the internal network device to the jsLinux, so the user can only visit internal resources. And jsLinux is very resource efficient, so I wanna give it a try.

ewiger commented 7 years ago

I am not sure it will work on the client side. You end with the internet connection inside the VM which is what jslinux is. But maybe I miss the full picture.

On Fri, Oct 21, 2016, 08:21 Lephix notifications@github.com wrote:

I want to providing a web ssh for company internal usage. I could only NAT the internal network device to the jsLinux, so the user can only visit internal resources. And jsLinux is very resource efficient, so I wanna give it a try.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/ewiger/jsmodem/issues/3#issuecomment-255303415, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYG9qGU5jqoszTKpQnIJMYjW77Yzye9ks5q2Fn_gaJpZM4Kbq5F .