PlexConnect and Unblock-US

Hi guys and thank you for this amazing work you're doing. PlexConnect works great!

 

In FAQ you wrote this:

I use services such as Unblock-US to access regionally restricted content, will PlexConnect still work?: Yes, just set your DNS server in PlexConnect to your unblock service rather than your ISP's DNS server.

 

I've been trying myself, but can't find where to add or replace the DNS with the one from Unblock-US? 

 

Can you guys make a small install tutorial to a novice like me? I'm sure others also would appreciate it too, like you did with THIS.

 

Thanks again for some amazing work!!  :)

Well, in lieu of a tutorial I will repost:

You put the unblockus DNS in place of the google DNS in the plexconnect settings.py and then everything works.

I have also update the FAQ page on the wiki to make this clearer:

https://github.com/iBaa/PlexConnect/wiki/FAQ#anything-dns

If you have the unblock us DNS in your router, you can also have PlexConnect return the IP address of your router instead of google.  That's working fine for me, and unblock-us continues to work with netflix.

Hi guys and thank you for your answers, but I can't make it work with Unblock-US.

I change the DNS as you say, but it doesn't work. PlexConnect isn't showing in Apple Trailers.  :(

green boxes: leave them alone, PlexGDM should give the correct addresses.

Hi guys and thank you for your answers, but I can't make it work with Unblock-US.

I took a pictures of my settings. The red box is where I write the Unblock-US IP, right? What about the green boxes? Do I change them or just leave them as they are?

LINK to picture.

Hope you can help...

IGNORE

I finally made it work. Thank you for your help. 

I'm actually having the same problem, and none of the solutions suggested above have helped... I have no idea how to get this to work.  :wacko:

What is the unlock IP you use?

What is the contents of your settings.py file?

I finally made it work. Thank you for your help.

Good to hear! It would be nice though if the people who manage to solve it would share their solutions to help us who's still trying different solutions and aren't very proficient in these kind of things. So a more detailed description would also be very helpful!

As f00b4r asks: a look into the contents of peoples settings.py file would be super useful.

Thanks!

What is the unlock IP you use?

What is the contents of your settings.py file?

The Unlock IPs are 208.122.23.22 and 208.122.23.23. The contents of my settings.py file are currently:

#!/usr/bin/python

 
"""
Global Settings...
"""
 
#
# Plex Media Server
def getPlexGDM():
    return True  # True: use PlexGDM (GoodDayMate) to auto discover PMS
 
def getIP_PMS():  # default IP, if GDM fails... todo: do we need this fall back?
    return '192.168.178.2'
def getPort_PMS():
    return 32400
 
#
# DNS/WebServer
def getIP_DNSmaster():  # Router, ISP's DNS, ...
    return '208.122.23.22'  # google public DNS
 
def getHostToIntercept():
    return 'trailers.apple.com'

I've tried several variations on this, with no luck. In fact, when I changed the DNS on my AppleTV, I was unable to watch the blacked-out NHL game the other day and had to switch the DNS back to automatic.

The Unlock IPs are 208.122.23.22 and 208.122.23.23. The contents of my settings.py file are currently:
 

 
I've tried several variations on this, with no luck. In fact, when I changed the DNS on my AppleTV, I was unable to watch the blacked-out NHL game the other day and had to switch the DNS back to automatic.


What is the IP of your PMS?
What is the IP of your device with PlexConnect on?
What is the IP of the DNS server on your ATV?

What is the IP of your PMS?
What is the IP of your device with PlexConnect on?
What is the IP of the DNS server on your ATV?

The first two are the same: 173.34.76.10 (according to System Preferences) but 173.34.76.25 according to Google.

The AppleTVs IP address is "DHCP 172.16.1.21" with a DNS address of 172.16.1.1

The first two are the same: 173.34.76.10 (according to System Preferences) but 173.34.76.25 according to Google.

The AppleTVs IP address is "DHCP 172.16.1.21" with a DNS address of 172.16.1.1

Well for starters the ATV's DNS it is pointed at needs to be the IP of the device with PlexConnect on (it looks like you have it pointed at your gateway).

Also we only deal with local private addresses for PMS and PlexConnect, if you are using public ones then you are using an unsupported configuration, although others have it working (i am not sure why you have 2 IP's though unless you have 2 network interfaces running simultaneously.

Obviously I can't read or something, but I followed the instructions for VPNs like Unblock-us and made the change in the Settings.py file, but no dice.

When I run the plexconnect file, this following line suggests I'm still pointed at Google.

DNSServer: forward other to higher level DNS: 8.8.8.8

Here is the relevant bit from Settings.py.

    'enable_dnsserver':('True', 'False'), \
    'ip_dnsmaster'    :('208.122.23.23',), \
    \

Any suggestions?

Obviously I can't read or something, but I followed the instructions for VPNs like Unblock-us and made the change in the Settings.py file, but no dice.
 
When I run the plexconnect file, this following line suggests I'm still pointed at Google.
 
DNSServer: forward other to higher level DNS: 8.8.8.8
 
Here is the relevant bit from Settings.py.
 
    'enable_dnsserver':('True', 'False'), \
    'ip_dnsmaster'    :('208.122.23.23',), \
    \
Any suggestions?


Settings.py should no longer be edited.
Make the changes to settings.cfg (generated on first run).

Hi again,

I downloaded the latest version of PlexConnect, followed f00b4r's instruction and I'm still having problems getting it to work. I'm running ATV3 version 5.2.1 with the following as my unblock-us DNS'. I've tried both in the cfg file and neither seem to work.

Primary DNS 208.122.23.22
Secondary DNS 208.122.23.23


Here is the contents of the cfg file:

[PlexConnect]
port_pms = 32400
enable_plexgdm = True
ip_dnsmaster = 208.122.23.23
ip_webserver = 0.0.0.0
loglevel = Normal
enable_dnsserver = True
ip_pms = 192.168.178.10
port_webserver = 80

And from my terminal program:

15:55:56 PlexConnect: started: 15:55:56
15:55:56 PlexConnect: ***
15:55:56 PlexConnect: PlexConnect
15:55:56 PlexConnect: Press ENTER to shut down.
15:55:56 PlexConnect: ***
15:55:56 PlexConnect: IP_self: 192.168.0.108
15:55:56 PlexConnect: started: 15:55:56
15:55:56 PlexGDM: ***
15:55:56 PlexGDM: looking up Plex Media Server
15:55:56 PlexGDM: ***
15:55:57 PlexGDM: servers discovered: 1
15:55:57 PlexConnect: PMS: 192.168.0.108:32400
15:55:57 DNSServer: started: 15:55:57
15:55:57 DNSServer: ***
15:55:57 DNSServer: Starting up.
15:55:57 DNSServer: intercept trailers.apple.com: 192.168.0.108
15:55:57 DNSServer: forward other to higher level DNS: 208.122.23.23
15:55:57 DNSServer: ***
15:55:57 WebServer: started: 15:55:57
15:55:57 WebServer: ***
15:55:57 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
15:55:57 WebServer: ***

And readings from my ATV3:
DNS: 208.122.23.23
IP: 192.168.0.109

Note: Netflix is working fine.

Do I need to compile anything? I've been re-starting ATV after each edit, could this be causing a problem?

You need to have your ATV's DNS server to be the IP of the device running PlexConnect ;)

EDIT: It shows how giving us the full requested info results in a very quick resolution of the problem :)

Thank you! It works now. The first time I changed my ATV DNS to match the IP of the device running PlexConnect, I lost access to Hulu due to geolocation. This time it seems everything is working perfectly. Thank you again.

(You are right, it helps to provide all the details!)