SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-18-2016, 02:20 PM
btrcp2000 btrcp2000 is offline
Sage Fanatic
 
Join Date: Aug 2007
Posts: 888
Accessing sage from outside home network

I used to have everything set up to be able to use the web interface from outside my home network, but let it all go when the free dyndns service went away. I'm playing with it now just using my ip address from whatismyip and it is working fine, thought I would just see how it goes for now since i have no idea how often my ISP changes my address.

Specifically, I have the mobile web site and the Android app workming now, but concerned about security, which I'm not too clear on. Should be be using SSL or https, or is my router still doing that job?

EDIT: I should add that my AmpedWireless router only wants TZO or dyndns, and this is not worth investing in a new one at the moment. Unless someone knows how I can jury-rig another free dns service to work with my router.
__________________
[size=1]Current Server:V9 UNRAID Docker, SuperMicro x9dri-LNF4+, 32 GB ECC, 2x Xeon e5-2660v2, storage array 6TB, 2 Dish r5000HD tuners, 1 HDHomerun Quatro, 1 HDHomerun Extend
4 Nvidia Shield TVs with Miniclient
Reply With Quote
  #2  
Old 01-18-2016, 03:07 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
If you leave your Sage Server PC running 24/7, you could use one of the other free DNS services without changing anything in your router. I use one called duckdns.org. You can install a service or run a script on your server PC to keep the address updated.

They have instructions for configuration with many different operating systems and routers:

http://www.duckdns.org/install.jsp
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #3  
Old 01-19-2016, 03:34 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Some of the router makes, Asus is an example, provide a free Dyndns service.

If you want I can post some code that logs your external IP address to a file every day (or every hour even). This lets you see how often your ISP changes your IP. For me it is almost never unless I change my router.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #4  
Old 01-19-2016, 03:45 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wayner View Post
Some of the router makes, Asus is an example, provide a free Dyndns service.

If you want I can post some code that logs your external IP address to a file every day (or every hour even). This lets you see how often your ISP changes your IP. For me it is almost never unless I change my router.
That is cool... I have 2 asus routers and they both support this, but, I never knew it I have a grandfathered dyndns account, so I don't need it, but good to know just the same.
Reply With Quote
  #5  
Old 01-19-2016, 04:00 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by stuckless View Post
That is cool... I have 2 asus routers and they both support this, but, I never knew it I have a grandfathered dyndns account, so I don't need it, but good to know just the same.
Who's your ISP? I have Rogers and you almost don't need this as your DNS rarely changes, unless you change your modem or router.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #6  
Old 01-19-2016, 04:02 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by wayner View Post
Who's your ISP? I have Rogers and you almost don't need this as your DNS rarely changes, unless you change your modem or router.
I have rogers as well... but remembering my IP is harder than just remembering my hostname
Reply With Quote
  #7  
Old 01-19-2016, 04:07 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
True - but then you can hardcode it in a hosts file at computers you use away from home - assuming that you are allowed to edit a hosts file. Or bookmark it once and you are set.

But I agree with you which is why I actually pay $15/yr or whatever for DynDNS service.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #8  
Old 01-19-2016, 04:38 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Is the SageTV locator service still running? Where you just enter the locator ID in placeshifter and it figures that all out for you?
Reply With Quote
  #9  
Old 01-25-2016, 07:30 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Here is a bit of vbs code that logs your external IP to a file called ip.txt - I use a file on my OneDrive account so that it is accessible from anywhere. It scrapes a web page called http://checkip.dyndns.org. I run the script every 30 minutes using Windows' Task Scheduler. Save the code before as something like iplog.vbs and then run that from Task Scheduler on manually.

My IP last changed on Sep 14, 2014 around 10 am. If you wanted it to be a bit smarter you could have it email you every time there was a change so that you were alerted to that fact.

Code:
Const ForReading = 1
Const ForAppending = 8
Dim ipLog, objHTTP, strHTML, varStart
Dim varStop, strIP, strCurrIP, objFSO
Dim txtFile, strLine, objShell

' Log for tracking external IP addresses
ipLog = "C:\Users\wayne\SkyDrive\Ping Test\IP.txt"


' Get current external IP address from web
Set objHTTP = CreateObject("MSXML2.XMLHTTP")
Call objHTTP.Open("GET", "http://checkip.dyndns.org", False)
objHTTP.Send()
strHTML = objHTTP.ResponseText

' Extarct IP from HTML if HTML was recieved
If strHTML <> "" Then
   varStart = InStr(1, strHTML, "Current IP Address:", vbTextCompare) + 19
   If varStart Then varStop = InStr(varStart, strHTML, "</body>", vbTextCompare)
   If varStart And varStop Then strIP = Mid(strHTML, varStart, varStop - varStart)
Else
   strIP = "Unavailable"
End If
' Remove preceeding or trailing spaces
strCurrIP = Trim(strIP)

' Check for log file and last log entry
Set objFSO = CreateObject("Scripting.FileSystemObject")
If Not (objFSO.FileExists(ipLog)) Then 
   ' If log file doesn't exist create it
   Set txtFile = objFSO.CreateTextFile(ipLog, True)
   
End If



   ' If changed log to file and display IP
   Set txtFile = objFSO.OpenTextFile(ipLog, ForAppending)
   txtFile.Write(Date+Time)
   txtFile.Write(" External IP is: "+strCurrIP& vbCrLf)
      txtFile.Close


' Clear variables
Set ipLog = Nothing
Set objHTTP = Nothing
Set strHTML = Nothing
Set varStart = Nothing
Set varStop = Nothing
Set strIP = Nothing
Set strCurrIP = Nothing
Set objFSO = Nothing
Set txtFile = Nothing
Set strLine = Nothing
Set objShell = Nothing
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #10  
Old 01-26-2016, 03:06 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stanger89 View Post
Is the SageTV locator service still running? Where you just enter the locator ID in placeshifter and it figures that all out for you?
Yes it's still working, and works great. The limitation is that it's only really good for placeshifter, and not for the web UI. (to clarify, there are ways to make it work with other web services, but the url is a lot more complicated than just using a $15/year dyndns address.)
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room

Last edited by Fuzzy; 01-26-2016 at 03:10 AM.
Reply With Quote
  #11  
Old 01-26-2016, 08:19 PM
pjpjpjpj pjpjpjpj is offline
Sage Icon
 
Join Date: Feb 2008
Posts: 2,164
Quote:
Originally Posted by Fuzzy View Post
Yes it's still working, and works great. The limitation is that it's only really good for placeshifter, and not for the web UI. (to clarify, there are ways to make it work with other web services, but the url is a lot more complicated than just using a $15/year dyndns address.)
I use the locator ID in my myftp.org account, so when my IP address changes (it occasionally does), I'm still good. Works great
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network
Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such...
Software: SageTV v9x64, stock STV with ADM.
Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic).
Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing videos on network shares d2tw4all SageTV Software 23 07-31-2018 06:14 PM
Setup a SageTV system at home and network it to all the TVs and PCs in your home davehop47 SageTV Media Extender 6 03-18-2010 10:10 AM
My Home Network Setup - Think this will work? geogecko Hardware Support 3 12-06-2007 07:58 PM
Accessing JAR's From Within Sage aperry SageTV Studio 7 03-24-2006 07:33 AM
Viewing PVR remotely on home network KeAuraPete General Discussion 3 03-31-2003 02:32 PM


All times are GMT -6. The time now is 10:59 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.