Koozali.org: home of the SME Server

Internet access to server in LAN

Offline cyrulution

  • **
  • 58
  • +0/-0
    • http://cyrulution.eu
Internet access to server in LAN
« on: September 08, 2007, 10:52:46 PM »
I have a server running in the SME LAN and want to access this server from internet.
At 192.168.78.244 runs ZoneMinder CCTV apache-server at an Ubuntu machine.
SME is configured as servergateway. I access webmail and a website at SME via DynDNS from Internet at http://{myserver}.homeip.net.
It's no problem to use the ZoneMinder-Server from anywhere in the LAN, but I want to access it from Internet as well and don't know how to configure it. Create port forwarding? Or whatever?

Help!
Cyrus
« Last Edit: September 08, 2007, 11:18:55 PM by cyrulution »

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Internet access to server in LAN
« Reply #1 on: September 08, 2007, 11:30:44 PM »
Couple of different ways that I know of, both involve VPN into LAN and;

1) Most secure would be to see VIP-IRE contrib "OPEN-VPN". I use this and I am a dolt re computers and linux. This is the best way for security and flexibility. There is a how to if you search.
2) Enable VPN access on your sme box and log in to your SME box. I have done this also and it is pretty straight forward.

There may be some other better way, but again refer to the dolt comment.

Let me know how you make out.

Offline smeusr

  • ***
  • 74
  • +0/-0
Re: Internet access to server in LAN
« Reply #2 on: September 09, 2007, 05:26:18 PM »

You can use either PPTP, which comes with SME or use OpenVPN following swerts knudsen OpenVPN howto and contrib.  I find OpenVPN response time faster.  It has end to end lockdown using Certs.  Open the VPN port on your router and port forward it to your server. 


Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #3 on: March 02, 2008, 10:45:44 PM »
Real new to this so: If I download Zoneminder Live iso and burn to CD then put the CD on my SME server I can load it ???

Offline NickCritten

  • *
  • 245
  • +0/-0
Re: Internet access to server in LAN
« Reply #4 on: March 03, 2008, 01:52:43 PM »
Hi,

Need some more info...

Will you always want to access this server from the same location (e.g. your office PC) or from anywhere (e.g. internet cafes, friends houses etc).

If always from the same PC then go for a VPN solution as suggested above, or lock down your SSH access to the SME with certificates, and SSH tunnel your connection to ZoneMinder.

If you need access from anywhere, then you can either SSH tunnel as above (Carry your SSH client & key on a USB stick - this is what I do)
or
portforward / proxypass your connection to Zoneminder.  Note however that this is not generally recommended as anyone could theoretically access your zoneminder system.


...
Nick

"No good deed goes unpunished." :-x...

Offline NickCritten

  • *
  • 245
  • +0/-0
Re: Internet access to server in LAN
« Reply #5 on: March 03, 2008, 01:54:19 PM »
Real new to this so: If I download Zoneminder Live iso and burn to CD then put the CD on my SME server I can load it ???


No, not unless you were running VMWare on the SME.

...
Nick

"No good deed goes unpunished." :-x...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Internet access to server in LAN
« Reply #6 on: March 03, 2008, 03:29:26 PM »
I have a server running in the SME LAN and want to access this server from internet.
At 192.168.78.244 runs ZoneMinder CCTV apache-server at an Ubuntu machine.
SME is configured as servergateway. I access webmail and a website at SME via DynDNS from Internet at http://{myserver}.homeip.net.
It's no problem to use the ZoneMinder-Server from anywhere in the LAN, but I want to access it from Internet as well and don't know how to configure it. Create port forwarding? Or whatever?

Help!
Cyrus
You might also want to consider ProxyPass: http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #7 on: March 03, 2008, 07:32:14 PM »
So Zoneminder will run on a Ubuntu machine? I just have four cameras around the house here on the outside. They run on a what I call a Pico2000 card currently on Active Webcam software on Vista OS. I have a old Dell poweredge currently running SME for a file server and would like to keep that part of it and add the cameras and possibly the dialup connection over to the Dell poweredge 2400. Possible?
 
 

Offline NickCritten

  • *
  • 245
  • +0/-0
Re: Internet access to server in LAN
« Reply #8 on: March 03, 2008, 08:05:44 PM »
It would appear that several people have got zoneminder running on SME 7 - use the forums search function.

...
Nick

"No good deed goes unpunished." :-x...

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Internet access to server in LAN
« Reply #9 on: March 03, 2008, 09:09:33 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline fpausp

  • *
  • 728
  • +0/-0
Viribus unitis

Offline sognenovski

  • **
  • 64
  • +0/-0
Re: Internet access to server in LAN
« Reply #11 on: March 04, 2008, 12:31:22 AM »
or this
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/sognenovski/Howto/zoneminder_setup.txt

SME in server/gateway and Zoneminder, no problem, for me anyway.

after install
- Change the admin php password
- setup/activate 'purge when full' filter. Very important, hard drive could fill up and lock out the server.



Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #12 on: March 04, 2008, 01:10:43 PM »
SME server only here. I downloaded the rpm's and gave command yum localinstall *.rpm now I guess I have more reading to do.
I'm getting there.

Offline sognenovski

  • **
  • 64
  • +0/-0
Re: Internet access to server in LAN
« Reply #13 on: March 04, 2008, 01:51:58 PM »
Quote
They run on a what I call a Pico2000 card currently on Active Webcam software on Vista OS.
you will also need the kernel module bttv for the SME release you are using. Over here
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/sognenovski/RPMS/

Quote
I'm getting there.
Don't give up. Forget Vi$ta, SME and ZM just keeps going, going and going...
 
Lets us know it you get stuck.

Cheers
Steve


Offline tviles

  • ****
  • 197
  • +0/-0
Re: Internet access to server in LAN
« Reply #14 on: March 04, 2008, 06:48:17 PM »
If I click on that link I already got the files under RPM do I also get the files under srpm? Using SME 7.3