News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

OpenVPN

Started by dlewis, May 08, 2009, 03:06:29 PM

Previous topic - Next topic

alx2k

I find this idea very attractive! Maybe not for media sharing (I run ADSL, and maybe upload speed is not fast enough for video streaming) but for remote house control.

With the VPN running, a vpn enabled router and a hardware ip to X10 (or any other protocol) controller, It might be possible to remote control your holiday apartment lighting, heating or window blinds, or even have IP cameras connected to your main LMCE setup in that apartment that would trigger an alarm in your daylife home. Would this be possible?

Anyways, for those willing to have a remote MD on the other side of the tunnel, it might be necessary a HD based media director, Installing or starting a diskless MD through a VPN would take a lot of time to start.

cirion

Quote from: alx2k on May 09, 2009, 11:04:57 AM
I find this idea very attractive! Maybe not for media sharing (I run ADSL, and maybe upload speed is not fast enough for video streaming) but for remote house control.

Anyways, for those willing to have a remote MD on the other side of the tunnel, it might be necessary a HD based media director, Installing or starting a diskless MD through a VPN would take a lot of time to start.
Think bigger...

A VPN between 2 Cores could open up the possibility to sync data between them. This could be done while you are not using the system or your internet connection has low usage. That way you could not only control your hollyday appartment, but you can still se your favorite TV shows or DVD collection when you are there.

alx2k

That didn't came into my mind, and it's great...
If this is included in LMCE, well... Take that WMC
LOL

Marie.O

Quote from: cirion on May 09, 2009, 12:36:51 PM
Quote from: alx2k on May 09, 2009, 11:04:57 AM
I find this idea very attractive! Maybe not for media sharing (I run ADSL, and maybe upload speed is not fast enough for video streaming) but for remote house control.

Anyways, for those willing to have a remote MD on the other side of the tunnel, it might be necessary a HD based media director, Installing or starting a diskless MD through a VPN would take a lot of time to start.
Think bigger...

A VPN between 2 Cores could open up the possibility to sync data between them. This could be done while you are not using the system or your internet connection has low usage. That way you could not only control your hollyday appartment, but you can still se your favorite TV shows or DVD collection when you are there.

In theory this sounds good, and I agree, it should be implemented (any volunteers?). However, right now, the pipes are just not big enough atm. But in general, having linked LinuxMCE system, is something worth while.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

dlewis

Quote from: posde on May 09, 2009, 02:20:05 PM
Quote from: cirion on May 09, 2009, 12:36:51 PM
Quote from: alx2k on May 09, 2009, 11:04:57 AM
I find this idea very attractive! Maybe not for media sharing (I run ADSL, and maybe upload speed is not fast enough for video streaming) but for remote house control.

Anyways, for those willing to have a remote MD on the other side of the tunnel, it might be necessary a HD based media director, Installing or starting a diskless MD through a VPN would take a lot of time to start.
Think bigger...

A VPN between 2 Cores could open up the possibility to sync data between them. This could be done while you are not using the system or your internet connection has low usage. That way you could not only control your hollyday appartment, but you can still se your favorite TV shows or DVD collection when you are there.

In theory this sounds good, and I agree, it should be implemented (any volunteers?). However, right now, the pipes are just not big enough atm. But in general, having linked LinuxMCE system, is something worth while.

The pipes would definitely need to be big enough to shuttle data between two cores in completely different locations (especially if they may be across a large country or even in two separate countries).

As for implementing this into LinuxMCE, posde mentioned to me earlier that it would be best to make the script a new screen to the initial setup wizard where people can select what users to add and it would also allow for the other information to be entered in the initial set up (the same should be done for the Postfix install)... Any volunteers to implement this for OpenVPN and Postfix?

donpaul

I agree that using vpn to link cores and share information is a great idea. Linking cores would be great for syncing user information, lights, climate, security, automation, etc. I would want to monitor and control a remote location, and receive alerts from the remote location. Also, the vpn pipe doesn't need to be active all the time. openvpn makes the connection within a couple seconds and the core should initiate the connection only when needed. A constant vpn pipe could impact your wan bandwidth, and piss off your ISP.

I am willing to help in any way I can.

dlewis

#21
Quote from: donpaul on May 09, 2009, 03:33:19 PM
I am willing to help in any way I can.

Thanks for the work you've done so far donpaul and for assisting to work on this further. Thom and I will have a planning session to discuss how we should proceed with bring this idea to fruition. The first thought is to work on getting OpenVPN implemented into LinuxMCE. A wizard screen in the web admin should be created for that. Do you think you would be able to work on that?

Also, don't forget that we have an IRC channel that makes things easier to converse about these kinds of things. I don't want to move the conversation to IRC, but just wanted to let yall know about it... IRC chat room found information found here: #linuxmce-devel

donpaul

Yes, I will help as best I can. I'll need to find out how to get to and edit the code.

zug

I'll help if I can. I have loads of experience of Openvpn.
Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at [url="//www.hightechpad.com"]www.hightechpad.com[/url].

tschak909

The code can be retrieved with subversion, here:

http://svn.linuxmce.org/svn/branches/LinuxMCE-0810

you should put this in a place such as /home/src

The web admin bits are in the web/ folder. While source for various scripts are usually in src/BootScripts and a few other places.

-Thom

dlewis

donpaul and zug, do you guys have all you need to get working on this?

dlewis

donpaul,

zug is working on some of this now... Please reach out to him to assist.

PlatypusPedersen

LMCE with OpenVPN on a bootable USB stick? Just a thought. :)

dlewis

Lets work on getting it integrated first...

PlatypusPedersen

Of course, I was just thinking out loud.