Results 1 to 3 of 3

Thread: Ubuntu Vserver as Proxy to connect to home network (avoiding DynDNS)

  1. #1
    Join Date
    Nov 2013
    Beans
    2

    Ubuntu Vserver as Proxy to connect to home network (avoiding DynDNS)

    Hi,

    i've recently setup a NAS with a webserver in my home network and thought it would be nice to have access to it's content from outside of my home network as well. As the public IP of my router changes over time, I first thought of using some kind of DynDNS service to have a static URL pointing to my home network. But on second thought I came up with the idea of using my vserver (which has a static public ip that is already linked with my own domainname) as some kind of proxy which redirects a user to my home network.
    I thought about the following configuration:

    user ---my.domain.com/homenetwork----->Vserver (with webserver) redirect according to current ip of homenetwork-----IP-OF-HOMENETWORK:80/webservice---->Home-Network-Router forwards port--->NAS (with webserver) behind router

    There are two questions I'm asking myself:

    1. Does it even make sense to do this kind of redirection thing
    2. assuming my nas runs on linux, what would be the best way to communicate the current IP to the vserver?

    regards, janis

  2. #2
    Join Date
    Oct 2013
    Beans
    7

    Re: Ubuntu Vserver as Proxy to connect to home network (avoiding DynDNS)

    Try this script that wiil send you an email each time your external IP changes.
    Attached Files Attached Files

  3. #3
    Join Date
    Nov 2013
    Beans
    2

    Re: Ubuntu Vserver as Proxy to connect to home network (avoiding DynDNS)

    Thank you very much for the script. E-mail is indeed a nice solution but are there any alternatives, probably a solution which involves some kind of authentication. I thought of using scp?

    regards, janis

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •