[squid-users] Using squid to get netflix access on iPhone (or boxee box)

From: Henning Reich <info_at_qupfer.de>
Date: Mon, 25 Feb 2013 00:24:32 +0100

Hi, I hope its the correct address for my problem.

I'm living in germany and want to get access to the us-netflix.

So, i set up a amazon EC2 instance in the united states and install
openvpn/pptpd and squid3.

Openvpn works fine (of corse only if i habe a client for it), pptpd
works also great and its supported by my devices. *happy, so it works
@home*

But in our campus-network, only outgoing TCP is allowd. For my PC no
problem (thanks openvpn) but with my devices, i got trouble.

So my idee was to use squid as a proxy. On my PC in works also. But
not on my iPhone, I can browse through the movies/tv-shows but if i
want to play a movie, i got error 207, which means something like
"wrong location detected"

Any Ideas how I should configure the squid-proxy to hilde all
"location" informations and it looks like the squid the requesting
client?

Thank You and I'm sorry for my english. But I haven't a good teacher ;)

PS.: my last configuration (tried different ones)

auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/squid_passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users
http_access deny all

http_port 31280
forwarded_for off
VIA off

----------
From: <MAILER-DAEMON_at_squid-cache.org>
Date: 2013/2/25
To: info_at_qupfer.de

Hi. This is the qmail-send program at squid-cache.org.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<squid-users_at_squid-cache.org>:
ezmlm-reject: fatal: Sorry, I don't accept messages of MIME
Content-Type 'multipart/alternative' (#5.2.3)
Sorry, for security reasons this list only accepts plain text email
and no large attachments. Please configure your mail client
accordingly

--- Below this line is a copy of the message.

Return-Path: <info_at_qupfer.de>
Received: (qmail 57281 invoked by uid 26); 24 Feb 2013 23:14:01 -0000
Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com
[209.85.217.181])
        by squid-cache.org (8.14.3/8.14.2) with ESMTP id r1ONDxLb057203
        (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT)
        for <squid-users_at_squid-cache.org>; Sun, 24 Feb 2013 16:14:01 -0700 (MST)
        (envelope-from info_at_qupfer.de)
Received: by mail-lb0-f181.google.com with SMTP id gm6so1838278lbb.12
        for <squid-users_at_squid-cache.org>; Sun, 24 Feb 2013 15:13:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=qupfer.de; s=google;
        h=mime-version:x-received:x-originating-ip:date:message-id:subject
         :from:to:content-type;
        bh=pMxIXAfjkzcofdgJihd67Oi+Q3u95D/XkTwcp2qHVK8=;
        b=kSw+uLQ3PxoRURw3MB/Rsw/W4dSgWQfoLhXulAE2ab3vumEzEgiW93AEmcEF/+D+mB
         Lx8qp0F1e3h5pxSsVmelXiop8YRMuSsvxIzrV1jYczmz72zVUqr5AJvTenw2tG7dsrZX
         M+FohUAulZEImIx7yBdZQ8S0er7Bucho9LMGo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=mime-version:x-received:x-originating-ip:date:message-id:subject
         :from:to:content-type:x-gm-message-state;
        bh=pMxIXAfjkzcofdgJihd67Oi+Q3u95D/XkTwcp2qHVK8=;
        b=Mv5q8nj0OSRGulRC7wH/jzXtsGccqJ/liO6kOEENXJbyCvpkUIWb1KA6RejMnfZ+Qg
         feXNHZFJ/OMKGcs95Jypwla5g7tkyUnBYbJAfjKbekQ4Wyf/jTYH177C3hFdYpEn6zV0
         NAc6ABTV4kI4CfEeMK+FS87YJjx68OTJgf3Qh1Vgib91eLF89NucUqR++D+2DinrQyHh
         G+EV/WRjCiBPuL7Yy4J/DZ/i9p7zNRi0HU7cG+Gcc0hZbuihSD+SRFrU8dnF9X986z6Y
         HLrfiCHVgQJ6cHI9QvXE7UfLRw5Mx3PkOOm3CLWOYFc+3Aq9iIsMLgliMS0HHkb7jSh0
         OF+Q==
MIME-Version: 1.0
X-Received: by 10.152.133.133 with SMTP id pc5mr8074362lab.32.1361747634016;
 Sun, 24 Feb 2013 15:13:54 -0800 (PST)
Received: by 10.112.126.164 with HTTP; Sun, 24 Feb 2013 15:13:53 -0800 (PST)
X-Originating-IP: [2a01:198:572:0:b442:e4f5:2e4f:ec28]
Date: Mon, 25 Feb 2013 00:13:53 +0100
Message-ID: <CAHdhe5TUg-Kr5oxhKXJDOHHbQaG+aofgOriGjdGavzOkgwXT8w_at_mail.gmail.com>
Subject: Using squid to get netflix access on iPhone (or boxee box)
From: Henning Reich <info_at_qupfer.de>
To: squid-users_at_squid-cache.org
Content-Type: multipart/alternative; boundary=f46d042ef753ffefc904d680939c
X-Gm-Message-State:
ALoCoQl0OkRh3kxTqRKJi9w0pBguTq91uS9tgk6DznccrHPy03x8vAjSX6oLtkL31ecSba+8FQsT

--f46d042ef753ffefc904d680939c
Content-Type: text/plain; charset=ISO-8859-1
--f46d042ef753ffefc904d680939c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi, I hope its the correct address for my problem.<div><br=
></div><div style>I&#39;m living in germany and want to get access to the u=
s-netflix.</div><div style><br></div><div style>So, i set up a amazon EC2 i=
nstance in the united states and install openvpn/pptpd and squid3.=A0</div>
<div style><br></div><div style>Openvpn works fine (of corse only if i habe=
 a client for it), pptpd works also great and its supported by my devices. =
*happy, so it works @home*</div><div style><br></div><div style>But in our =
campus-network, only outgoing TCP is allowd. For my PC no problem (thanks o=
penvpn) but with my devices, i got trouble.</div>
<div style><br></div><div style>So my idee was to use squid as a proxy. On =
my PC in works also. But not on my iPhone, I can browse through the movies/=
tv-shows but if i want to play a movie, i got error 207, which means someth=
ing like &quot;wrong location detected&quot;</div>
<div style><br></div><div style>Any Ideas how I should configure the squid-=
proxy to hilde all &quot;location&quot; informations and it looks like the =
squid the requesting client?</div><div style><br></div><div style>Thank You=
 and I&#39;m sorry for my english. But I haven&#39;t a good teacher ;)</div=
>
<div style><br></div><div style><br></div><div style><br></div><div style>P=
S.: my last configuration (tried different ones)</div><div style><br></div>=
<div style><div>auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squ=
id3/squid_passwd</div>
<div>auth_param basic children 5</div><div>auth_param basic realm Squid pro=
xy-caching web server</div><div>auth_param basic credentialsttl 2 hours</di=
v><div>auth_param basic casesensitive off</div><div><br></div><div>acl ncsa=
_users =A0proxy_auth REQUIRED</div>
<div>http_access allow ncsa_users</div><div>http_access deny all</div><div>=
<br></div><div style>http_port 31280</div><div style>forwarded_for off<br><=
/div><div style>VIA off</div></div></div>

--f46d042ef753ffefc904d680939c--

----------
From: Henning Reich <info_at_qupfer.de>
Date: 2013/2/25
To: squid-users_at_squid-cache.org

Hi, I hope this is the correct address for my problem.

I'm living in germany and want to get access to the us-netflix.

So, i set up a amazon EC2 instance in the united states and install
openvpn/pptpd and squid3.

Openvpn works fine (of corse only if i habe a client for it), pptpd
works also great and its supported by my devices. *happy, so it works
@home*
But in our campus-network, only outgoing TCP is allowed. For my PC no
problem (thanks openvpn) but with my devices, i got trouble because
pptp doesn't work.

So my idee was to use squid as a proxy. On my PC in works. But not on
my iPhone, I can browse through the movies/tv-shows but if i want to
play a movie, i got error 207, which means something like "wrong
location detected"

Any Ideas how I should configure the squid-proxy to hilde all
"location" informations and it looks like the squid the requesting
client?

Thank You and I'm sorry for my english. But I haven't a good teacher ;)

PS.: my last configuration (tried different ones)

auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/squid_passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users
http_access deny all

http_port 31280
forwarded_for off
VIA off

(all other settings are set to default)
Received on Sun Feb 24 2013 - 23:24:40 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 26 2013 - 12:00:04 MST