[Q] proxy ssh tunnel - Nexus One Q&A, Help & Troubleshooting

Hi guys,
Have a question for you...
I'm outside of US... I have private hosting on US soil... I've used it like ssh tunnel proxy on my Win7-PC (Socks5+Putty)
No the question. How can I run this proxy on Nexus One of mine. I want it for "App Market" (to see/buy not-free apps)

Much simpler - root your Nexus and use Market Access.

david2tm said:
Hi guys,
Have a question for you...
I'm outside of US... I have private hosting on US soil... I've used it like ssh tunnel proxy on my Win7-PC (Socks5+Putty)
No the question. How can I run this proxy on Nexus One of mine. I want it for "App Market" (to see/buy not-free apps)
Click to expand...
Click to collapse
In case there are other motives, you can still do it, but you need a rooted phone.
I know I have a proxy section in the networks and wireless, but it's possible its just a cyanogenmod app. That's where you'll want it though, you'll need to open an ssh tunnel using ssh -D (never done this, but this is how you do it on traditional linux) and then localport:remotehost:remoteport. After that you log in, and your tunnel is made!
So a command for opening up a local proxy on port 8118 to myproxy.org on port 22 (ssh) would look like
Code:
ssh -D 8118:myproxy.org:22
You then set your local proxy to 127.0.0.1 on port 8118 and all your traffic goes through your established ssh tunnel.

Jack_R1 said:
Much simpler - root your Nexus and use Market Access.
Click to expand...
Click to collapse
Well, I want market to think that I'm in US too. For updated version of Maps app - for example

Acidictadpole said:
In case there are other motives, you can still do it, but you need a rooted phone.
I know I have a proxy section in the networks and wireless, but it's possible its just a cyanogenmod app. That's where you'll want it though, you'll need to open an ssh tunnel using ssh -D (never done this, but this is how you do it on traditional linux) and then localport:remotehost:remoteport. After that you log in, and your tunnel is made!
So a command for opening up a local proxy on port 8118 to myproxy.org on port 22 (ssh) would look like
Code:
ssh -D 8118:myproxy.org:22
You then set your local proxy to 127.0.0.1 on port 8118 and all your traffic goes through your established ssh tunnel.
Click to expand...
Click to collapse
I've rooted stock froyo. And there's no proxy option in my Wireless & Network.
1. How can I get this app (?) w/o cyanogenmod?
2. where do I type ssh commands? [I'm not a Linux guy]
*. I wish my wireless router had the option to share "proxyfied" connection....

david2tm said:
Well, I want market to think that I'm in US too. For updated version of Maps app - for example
Click to expand...
Click to collapse
That's exactly what you get, I guess you never tried. Market recognizes provider's MCC and MNC, and SSH tunneling won't help you even a little bit. On the other hand, Market Enabler / Market Access allow faking MCC and MNC to match any supported provider for paid markets.

Jack_R1 said:
I guess you never tried
Click to expand...
Click to collapse
I'll try it right now

Related

[Q] How to set Proxy on Nexus One Gingerbread 2.3.3?

Hi all,
I need to access my campus internet through wifi. It has a given proxy adress and port. How can I access it using my unrooted nexus one?.....
Thanks,
Android does not natively support a non-transparent proxy.
GldRush98 said:
Android does not natively support a non-transparent proxy.
Click to expand...
Click to collapse
I see. So, I have no choice but to root my phone to use the proxy....
Previously I used the Firefox mobile browser to bypass proxy settings. However, the only application you can use on your phone is the Firefox browser itself.
# Run Firefox, and in address bar type: about:config. This will take you to the advanced configuration panel.
# Now you need to find proxy entries, to simplify that you can filter it out by typing proxy in the field below address bar.
# Modify network.proxy.http and network.proxy.http_port to your proxy server and port.
# Set network.proxy.type value to 1.
I am not sure if this still works but give it a try.
eky said:
I see. So, I have no choice but to root my phone to use the proxy....
Click to expand...
Click to collapse
Yeah... or as madballs (lol) posted, you can try the Firefox beta. But keep in mind, on Firefox will work... no other data services on the phone will.
It is kind of crappy they don't support it, especially when there are other roms out there that have this little function added in.
LOL, I was surprised nobody has taken this name when I registered.
I really cant understand ,, if they could add proxy settings to the browsers without rooting,,
why don't the developers add it in their apps?!?!
Go to the wifi settings there push the menu button and select advanced.
now you have a list within you can set your proxy settings over the current wifi connection.
I have tested it with my DHD at work. works perfect but hope they will connect to the same concept for proxy as by android 3.2.
There you can configure a proxy for each connection.
Cheers
Dave
And sorry for english skills...

[GUIDE] Reverse Tethering Wildfire --> Internet Pass Through

My First Guide. Hope it Helps..
HOW TO REVERSE TETHER YOUR PHONE / INTERNET PASS THROUGH​
Reverse Tethering / Internet Pass through is the method in which you can make your android phone use the internet connection of your computer without a WIFI and by using a usb cable. It is helpful for those people who don’t have a WIFI at their place and for those who don’t have a good internet plan for their mobile.
BASIC REQUIREMENTS​
Rooted Phone With S-OFF
SuperUser [QR Code]
BusyBox [QR Code]
Terminal Emulator [QR Code]
Windows O.S. [I am using Win-7]
USB Cable for your phone
THE PROCESS​
Connect Your Android Phone to your PC. Make sure you are rooted and have terminal emulator installed. Turn on USB Tethering from
SETTINGS -> WIRELESS AND NETWOKRS -> TETHERING AND PORTABLE HOTSPOT -> USB TETHERING.
Screen
Next you will get a new connection in your PC. Open Networking and Sharing Center from
CONTROL PANEL -> NETWORK AND SHARING CENTER
You get a scene in a similar manner.
Screen
Now There will be one connection which will be your Main Net Connection and the Other one will be your Android Phone’s Created Connection for tethering. Click on your main net connection i.e. the one you use for Connecting to net Local Area Connection(in my case).
You will get the following screen.
Screen
Now click on Properties.After this click on sharing and tick on Allow other network users to connect through this computer’s internet connection and click ok for any dialog box shown and click ok to come back to the main networking screen.
Screen
Now click on the new connection made by the android phone Local Area Connection 2 (in my case)
You will get the following screen
Screen
Click on properties. Then go to Internet Protocol version 4(TCP/IPv4) and click on properties.
Screen
Now You need to enter 192.168.2.1 in IP address and enter 255.255.255.0 in Subnet mask and keep remaining things empty.
Screen
PART ON THE PHONE​
NOTE:- ALL CODES HAVE TO BE WRITTEN WITHOUT QUOTES
Open Android Terminal on the Phone and type "su". Provide it superuser permissions.
Screen
Now type “ifconfig usb0 192.168.2.2 netmask 255.255.255.0”
Screen
“busybox route delete default”
Screen
You may get an error here but it does not matter.
Now type “iptables –F –t nat”(* -F in caps is must)
Then type “busybox route add default gw 192.168.2.1”
Screen
“setprop net.dns1 8.8.8.8”
Next (setprop “net.gprs.http-proxy” “” ) [*Note :- here the code is written in bracket to avoid confusion.. The quotes(“”) are required.
Screen
CONGRATS.... YOU ARE DONE!!
RESULTS​
Works on Android Browser.(FOR ME)
Works on Opera & Opera Mini.
Works on XDA Premium App.
DOES NOT Work on Android Market.(Finding a Solution... if anyone gets it working please tell)
You may need to repeat this process each time you connect the phone to PC.
Works even without a SIM inserted.
Nice guide
To enable the market click settings under the sharing tab and add a new service called market with the port number 5228.
how use other app for internet
No resolution
currently m using a wildfire and cannot switch on USB tethering until mobile network is connected followed all the steps but no luck
I am also a wildfire user. I did so many searching for reverse usb tethering, what I searched for were similar to the script of this thread. I follow all the steps but also not success.
I did do some searching, I just GUESS the main problem is the router at my home. My computer access the modem via router, maybe the router cannot give my WF a IP so my WF cannot access the internet? I dunno.
I didn't try access the internet with my computer connecting directly via modem without router since my home wire connection is so so so so complicated, but I believe that it will success. Would somebody try it and share your experience?
I think you can write a batch file for this. Using netsh and adb it would be easily done just from PC
thanks for the guide worked for me.
Problem though is that after i turned off the tethering and disconnected my phone from the pc then reconnect it again just to check if it works the 2nd time, if found that usb tethering is having an error and does not turn on.
question is how to disable this or how i disconnect my phone from pc the right way? well after restarting, tethering is again ok and
I did it on linux!
The configuration on the PC is next:
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
ifconfig usb0 192.168.2.1 netmask 255.255.255.0
iptables -A POSTROUTING -t nat -s 192.168.2.1/24 -o wlan0 -j MASQUERADE
On the phone same az you did, but I had to edit
Code:
setprop net.dns1 8.8.8.8
to match my DNS server i.e.
Code:
setprop net.dns1 87.120.131.2
worked !!!!!!!!!!!!!
After about two months of searching I finally found this guide which makes it work. Thanks a lot! Surfing everything is fine but downloads just don't start (market or browser) I'm using G2x by the way so I guess this should work for most people.
meknb said:
Nice guide
To enable the market click settings under the sharing tab and add a new service called market with the port number 5228.
Click to expand...
Click to collapse
I did this which enabled me to browse the market. It won't download anything. I even forwarded the port on my broadband modem and the downloads don't start. Just keep saying "Starting downloading..."
How to make a script for apps like script manager so we do not have to keep typing the configs everytime we restart our phone?
URLs instead of QR Codes, please.
rahuliyer95 said:
[*]SuperUser [QR Code]
[*]BusyBox [QR Code]
[*]Terminal Emulator [QR Code]
Click to expand...
Click to collapse
Anyone with URLs to the above, please? I don't have a QR code scanner
mnongkhlaw said:
Anyone with URLs to the above, please? I don't have a QR code scanner
Click to expand...
Click to collapse
https://market.android.com/details?...wsMSwxLDEsImNvbS5ub3NodWZvdS5hbmRyb2lkLnN1Il0.
https://market.android.com/details?...t=W251bGwsMSwxLDEsInN0ZXJpY3Nvbi5idXN5Ym94Il0.
https://market.android.com/details?...251bGwsMSwxLDEsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..
Thank you!
rahulparekh said:
https://market.android.com/details?...wsMSwxLDEsImNvbS5ub3NodWZvdS5hbmRyb2lkLnN1Il0.
https://market.android.com/details?...t=W251bGwsMSwxLDEsInN0ZXJpY3Nvbi5idXN5Ym94Il0.
https://market.android.com/details?...251bGwsMSwxLDEsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..
Click to expand...
Click to collapse
Thanks, does it work with Market, email etc? Have you used it with Samsung Galaxy S2?
mnongkhlaw said:
Thanks, does it work with Market, email etc? Have you used it with Samsung Galaxy S2?
Click to expand...
Click to collapse
This method actually stopped working for me after I reflashed CM7 on my phone. (TMobile G2X). It doesn't work with market but I think ASProxy makes it work.
rahulparekh said:
It doesn't work with market but I think ASProxy makes it work.
Click to expand...
Click to collapse
What is ASProxy ?
method worked good all apps working...
i can browse through market also but when select download option downloading and freezes.. what could be problem ??
mnongkhlaw said:
What is ASProxy ?
Click to expand...
Click to collapse
It's a proxy app which supposedly allows all Google apps to work on reverse tethering and such. Search the market for it.
rahulparekh said:
It's a proxy app which supposedly allows all Google apps to work on reverse tethering and such. Search the market for it.
Click to expand...
Click to collapse
Do you mind a tutorial on how to get ASProxy to work?
mudkipstar said:
Do you mind a tutorial on how to get ASProxy to work?
Click to expand...
Click to collapse
I haven't had a chance to use the app as reverse tethering stopped working for me before I got the app.

[Q]SSH Tunnel and changing the proxy?

hi all,
hope you can help me with this question.
how can i set up an SSH tunnel on the kindle and change system proxy to point to localhost:8080 ?
i am outside the US but have a netflix account that would like to access. normally i would just tunnel into my US webhost, set global proxy to localhost:80 for webrequests and netflix would see me with a US IP.
i have tried various things using the app SSH Tunnel but it does not seem to establish a connection.
connectbot runs fine and connects the server in ssh so i am just looking for a way to establish the tunnel. this should probably work via a terminal using ssh -p 22 -L 8080:localhost:3128 -l user hostname.com... or something alike.
that still leaves me with the question on how to change the global proxy?
i cant find anything in the settings and am too new to the whole android infrastructure. i m sure this is located in a file some where, no?
has anyone managed to get this to work some how?
i dont really want to use an app like hotspotshield or the likes because usually they cant cope with the streaming bandwidth or require you to pay for a premium account.
why pay when i am paying for my webhost already, right ?
edit: update
can now open and connect ssh to my server after installing droidssh and copying the ssh command to system/bin
using a terminal emulator i can ssh but the tunnel fails. ssh: failed local port forward (null):8080
not very firm with the commands but i used: ssh -p 22 -L 8080:localhost:3128 -l username hostname
i also realised i can set "global" proxy settings via the wireless connection. this seems to be working fine but i think i m screwing up the ssh command

VPN + Hotspot = AWESOME!

Ok so a while back I discovered that after you gain root access to the BIONIC (probably works with other too. idk...) you can make changes to iptables. For those who don't know what that is: It's a built in firewall that handles packets as they come in and leave your phone. This is pretty much the defacto standard for any Linux machine to date (please enlighten me if I'm wrong). Anyhow, after discovering this I came up with an idea to see if I could pipe my hotspot directly into my openvpn tunnel. Well, after a bit of web research on how iptables works I was able to get it up and running. HOWEVER I'm not an expert at this yet, and my config definitely has a flaw in the fact that I leave the phone completely vulnerable on the "rmnetX" interface, as I completely flush the old tables to add mine, leavign the firewall WIDE OPEN. I'll post a fix as soon as I can come up with one. In the mean time here's the steps to take to get your phone to be a hotspot access point to your openvpn network!
**PHONE MUST HAVE ROOT!!!!***
1) Follow along and setup an OpenVPN server http://openvpn.net/howto.html
2) Install "OpenVPN Installer" and "OpenVPN settings" from Google Play marketplace (both are free)
3) Run OpenVPN Installer and install OpenVPN client to your phone. The defaults should be fine.
4) Create a folder called "openvpn" ont he root of your INTERNAL sdcard. IE "/sdcard/openvpn
5) Copy your client keys that you made during your OpenVPN setup to your phone into the /sdcard/openvpn directory (client.crt, client.key, ca.crt, and ta.key)
6) Copy over the client.conf file as well. You will need to tweek this a bit to call your certs from the /sdcard/openvpn file as well as putting in the public IP to connect to. Keep in mind if you are doing this at home you will need to PAT/NAT this connection accross your firewall on udp port 1194.
7)Ok, at this point you just want to make sure your OpenVPN connection works. So open up OpenVPN settings and try and connect to your VPN, if you can connect and brows to shares inside your network over the 4g connection EXCELENT! MOVE ON! If not refer to the OpenVPN HOW TO!!!
8) After that's done you neet to get the Verizon HotSpot Tether working, There's a hack for it on the web. Google "BIONIC Hotspot SQLite Editor"... in the mean time I'll try and walk you through it.
a) get SQLite Editor from Google Play
b) open it and scroll down to "Settings Storage" (the one with the hammer icon), open "settings.db", then click settings. You should see a long list of database entries. Click the magnifying glass and under "Filter Value" type "check".
c) you should then see 4 results, one being "entitlement_check". Long press on the "1" next to "entitlement_check". Click "Edit Field" and change the "1" to a "0".
d) Reboot and try running the stock "Hotspot" app, it should work now!
9) Run the Hotspot app and confirm it works properly and can connect clients.
10) After you have a working Hotspot and a work OpenVPN you can then start the iptables magic!!!
**This is fairly safe, no need to worry about bricking just reboot if you screw up!***
11) Download and install "Android Terminal Emulator" and run it.
12) at the prompt type in "su" to gain super user access
13) you should now be at a root shell ("#") NOT $
14) at the prompt(#) type this: iptables -S <-This shows you the entire iptables rules, as you can see it's crazy complicated!
15) Run OpenVPN and Hotspot and confirm both are connected and runnign before issuing rule changes in iptables. So run both applications now.
16) Confirm VPN is connected and Hotspot is runnign by issuing the command "busybox ifconfig". If your VPN is up you will have a "tun0" interface and if the Hotspot is up there should be a "wlan1" interface.
17) If both are up then all you need to do in order to give hotspot clients access to your VPN resources is this:
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -A FORWARD -i tun0 -o wlan1 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i wlan1 -o tun0 -m state --state INVALID -j DROP
iptables -A FORWARD -i wlan1 -o tun0 -j ACCEPT
The first 10 commands flush your old iptables, and the last 3 commands masqarade your wlan1 interface to your tun0 interface, funneling your clients down the VPN. Keep in mind that you will have to allow this via your openvpn server.conf file. See HOWTO For OpenVPN.
Enjoy!!!
I am confused and would like to know why we want net on VPN if we have WiFi hack for a router
Could Could we link a com port on bochs emulated windows xp?
With the WiFi hack edit or tether for root user you can use this IP addr add like below to add router capabilities, or change wlan0 to your phone's 4g rmnet or tun0 to add router to any connection, can you tell us what we would use VPN for give an example
su
ip addr add 192.168.1.0/24 dev wlan0
http://www.filedropper.com/comgooglecodeandroidwifitether-1
I use this apk to wifi tether, same as wifi router, will probably need root to use it I am not sure, but you dont need to type: ip addr add 192168.1.0/24 dev wlan0, I do just because it helps make good connections for most wifi devices
This will make your WiFi capable of being used as a router, you still need root WiFi tether or the hotspot hack like you posted but this makes wlan0 a router
I mainly use this to share files that I have on my NAS at home with friends at work. First I create a hot spot, then I connect my VPN, then I masquerade the traffic. On the server side my openvpn configuration is set up so that it trusts a specific subnet coming from behind the openvpn host (IE my phone's hotspot subnet) This provides a nice and easy means of giving friends controlled access via your mobile hotspot without needing to generate RSA keys for each of your friends. Another thing I like to use it for is when I travel I just set it up in the corner and watch movies from home on my laptop over the VPN through the hotspot.
-Ed
DroidisLINUX said:
I am confused and would like to know why we want net on VPN if we have WiFi hack for a router
Could Could we link a com port on bochs emulated windows xp?
With the WiFi hack edit or tether for root user you can use this IP addr add like below to add router capabilities, or change wlan0 to your phone's 4g rmnet or tun0 to add router to any connection, can you tell us what we would use VPN for give an example
su
ip addr add 192.168.1.0/24 dev wlan0
http://www.filedropper.com/comgooglecodeandroidwifitether-1
I use this apk to wifi tether, same as wifi router, will probably need root to use it I am not sure, but you dont need to type: ip addr add 192168.1.0/24 dev wlan0, I do just because it helps make good connections for most wifi devices
This will make your WiFi capable of being used as a router, you still need root WiFi tether or the hotspot hack like you posted but this makes wlan0 a router
Click to expand...
Click to collapse
edw00rd said:
I mainly use this to share files that I have on my NAS at home with friends at work. First I create a hot spot, then I connect my VPN, then I masquerade the traffic. On the server side my openvpn configuration is set up so that it trusts a specific subnet coming from behind the openvpn host (IE my phone's hotspot subnet) This provides a nice and easy means of giving friends controlled access via your mobile hotspot without needing to generate RSA keys for each of your friends. Another thing I like to use it for is when I travel I just set it up in the corner and watch movies from home on my laptop over the VPN through the hotspot.
-Ed
Click to expand...
Click to collapse
Or you could get Qloud Media Server, and be able to assign access to different sets of folders in your home network using username/passwords. And it costs $3.00 or $0.00 if you have a getjar pass.
This is a really cool idea, thanks for sharing.
On a somewhat unrelated note, is the VirtualBox method still the preferred means of rooting a Bionic on 4.1.2 (98.72.22)? Trying to figure out how easily I can root a friend's phone but I can't really find any consolidated source of up-to-date information. =\
TweakerL said:
Or you could get Qloud Media Server, and be able to assign access to different sets of folders in your home network using username/passwords. And it costs $3.00 or $0.00 if you have a getjar pass.
Click to expand...
Click to collapse
I think you might be confusing folder access/authentication with network access/authentication. The VPN would give you access to your network remotely via 4g/3g and yes i suppose you could use the Qloud Media Server to provide access to folders. I'm not really sure what that is, never used it but it sounds like something that provides a service via 3rd party to get access to you remotely. The third party is avoided all together witht he VPN solution. You don't have to give any sort of ingress access to any third party app. You're phone will think it's part of your home network. Also someone asked about having network bridged when you have a wifi hack... it would be purely up to you weather or not you'd want your HTTP traffic to go through the VPN or not... that's different than what I'm providing here. This is strictly for using your phone as a WiFi hotspot router that forwards all of your traffic to your VPN connection (IE your house) so that connected wifi clients would be accessable via your home network and visa versa. You could also just make a VPN hotspot and generate RSA keys for each host connecting to the hotspot.... your choice. Mine works better in a way that I maintain constant view over every device including the phone that is acting as the VPN mifi hotspot.:silly:
how to undo this? i cant connect my hotspot.

[HOWTO] Chromecast/Netflix outside USA without VPN

Using the already available information on the internet and a few threads of this XDA forum, I figured out how to get Netflix working in Switzerland, without having to use a VPN service.
DISCLAIMER: This is not a replacement for a VPN service and its functionality, but an alternative way to use geoblocked websites outside their origin countries. This workaround needs you to have either a DD-WRT router or atleast a router on which you can configure iptables via CLI.
Sign up for the free beta at Unlocator
You will need admin access to your home router. Connect to this router via web interface or command line whichever is applicable.
Follow Setup Guides for Multiple Devices and setup your home router with the Unlocator DNS IPs
Follow How to Setup DD-WRT to Work With Chromecast
I didn't have a DD-WRT router but with admin access I could use the commands in the previous step on the command line of my TP-Link W8960N router.
You can replace the DNS IPs in these commands with any other service that you are using for eg. Unblock-US
Code:
iptables -t nat -A PREROUTING -d 8.8.8.8 -j DNAT --to-destination 185.37.37.37
iptables -t nat -A PREROUTING -d 8.8.4.4 -j DNAT --to-destination 185.37.37.185
Edit: Due to some problems with newer Netflix app versions on the Chromecast build 19084 these iptables rules seem to be a better option. They redirect only DNS requests made to Google servers to the server of your choice
Code:
iptables -t nat -A PREROUTING -i br0 -p tcp --dport 53 -j DNAT --to 185.37.37.37
iptables -t nat -A PREROUTING -i br0 -p udp --dport 53 -j DNAT --to 185.37.37.37
Try playing any Netflix content in the Chrome browser, and use the Netflix player's Chromecast button to cast your content. It will work without any issues as your Chromecast will be able to bypass having to query Google's DNS and query Unlocator's DNS.
You can now try the same from any Android or iOS device using the appropriate Netflix app. (You can find the Netflix apk here)
Happy Netflixing! :highfive:
Here are detailed and confirmed working steps to:
Configure a router running Tomato firmware.
Configure a router running OpenWRT firmware
rufree2talk said:
Using the already available information on the internet and a few threads of this XDA forum, I figured out how to get Netflix working in Switzerland, without having to use a VPN service.
DISCLAIMER: This is not a replacement for a VPN service and its functionality, but an alternative way to use geoblocked websites outside their origin countries. This workaround needs you to have either a DD-WRT router or atleast a router on which you can configure iptables via CLI.
Sign up for the free beta at Unlocator
You will need admin access to your home router. Connect to this router via web interface or command line whichever is applicable.
Follow How to Setup DD-WRT to Work With Chromecast
I didn't have a DD-WRT router but with admin access I could use the commands in the previous step on the command line of my TP-Link W8960N router.
Use a free VPN service like Tunnelbear on your Android/iOS device or PC/Mac to connect to Netflix and setup your account. You can use any Credit Card as long as you provide the correct name and verification code. You can use any random USA based ZIP code.
I went ahead and created another iptables rule to force using Unlocator's DNS for all DNS queries via my router, hence making the need for this VPN step redundant. I can now access netflix.com without any VPN connection.
Try playing any Netflix content in the Chrome browser, and use the Netflix player's Chromecast button to cast your content. It will work without any issues as your Chromecast will be able to bypass having to query Google's DNS and query Unlocator's DNS.
You can now try the same from any Android or iOS device using the appropriate Netflix app. (You can find the Netflix apk here)
Happy Netflixing! :highfive:
Click to expand...
Click to collapse
WOW,
I can confirm that this works from Norway!
Thanks a a lot for the tips about unlocator. Have not heard about them before.
Jo Christian
jochr said:
WOW,
I can confirm that this works from Norway!
Thanks a a lot for the tips about unlocator. Have not heard about them before.
Jo Christian
Click to expand...
Click to collapse
Thanks for confirming this! Glad to know it worked for you. Even I chanced upon Unlocator by a Google search on DNS spoofing. I think they are quite new as the Beta channel was launched just around the end of July this year.
Free vpn through netherlands
Username:free
Password:1492
Sent from my SPH-L720 using xda app-developers app
Works out of the box from Denmark
Chromecast netflix works out of the box from Denmark, subtitles and everything. Is it because you use a US Netflix instead of a local one?
xylifyx said:
Chromecast netflix works out of the box from Denmark, subtitles and everything. Is it because you use a US Netflix instead of a local one?
Click to expand...
Click to collapse
Well that is because Netflix has a Danish website to begin with. I am located in Switzerland, where there is no Netflix or anything even remotely similar.
Even then, if at any time you feel that the content on the Danish Netflix is outdated as compared to the USA Netflix, you could use the information in the first post to access the USA Netflix. I heard Netflix launched in Netherlands today, but it doesn't have a lot of latest content especially for TV shows.
As a matter of fact, if you have an Unlocator account, you can switch to any country's Netflix, by just selecting it from your Channel Settings page
Why not use the orbot method? Works for me, but must be roooted. Just turn on orbot on your phone or tablet and use any geoblocked app you want. Have to set the specific exit nodes for the us, but after the setup everything runs smoothly. I prefer this method that way i choose which apps use orbot and avoid bouncing private info off unknown servers. The only is when using netflix through orbot I get no cast button.
I'm usina netflix Brazil without VPN
Sent from my C6503 using Tapatalk 4
vinaaa said:
I'm usina netflix Brazil without VPN
Click to expand...
Click to collapse
Well congratulations to you! On the other hand being able to access Netflix Brazil while sitting in São Paulo ain't much of a mean feat :silly:
This tutorial is meant for two kinds of people:
users like myself who happen to be in a country where Netflix isn't available
users like you who happen to be in a Netflix supported country, but would like to access the Netflix content of another country
Entende? :highfive:
rufree2talk said:
Well congratulations to you! On the other hand being able to access Netflix Brazil while sitting in São Paulo ain't much of a mean feat :silly:
This tutorial is meant for two kinds of people:
users like myself who happen to be in a country where Netflix isn't available
users like you who happen to be in a Netflix supported country, but would like to access the Netflix content of another country
Entende? :highfive:
Click to expand...
Click to collapse
Don't know why you are having that attitude, but I appreciate his comment. I'm outside the US and Chromecast supposedly only worked with Netlfix US. Glad to know its not the case.
mayhemrules said:
Don't know why you are having that attitude, but I appreciate his comment. I'm outside the US and Chromecast supposedly only worked with Netlfix US. Glad to know its not the case.
Click to expand...
Click to collapse
Not true. I have Netflix Dom Rep (and currently reside in the Dom Rep.) and chromecast works fine. The problem is when I use orbot to access Netflix US. No chromecast button. Must be a conflict between the Orbot Ip and my ISP/modem ip
I can't access signup.Netflix.com and android app doesn't open when using Unlocator DNS servers.
EDIT: Ok, got the Android app working. Had to use VPN to sign up, after that it works. Now need to get my router setup for Chromecast. Thanks for the guide rufree2talk!
poisike said:
I can't access signup.Netflix.com and android app doesn't open when using Unlocator DNS servers.
EDIT: Ok, got the Android app working. Had to use VPN to sign up, after that it works. Now need to get my router setup for Chromecast. Thanks for the guide rufree2talk!
Click to expand...
Click to collapse
You're welcome! As a matter of fact, I have written the guide very poorly. If you would have setup your router to begin with, you wouldn't have needed the VPN step to sign up for Netflix. You would have been able to access Netflix without a VPN, sign up and directly Netflix content!
Thanks, a small query
rufree2talk said:
Using the already available information on the internet and a few threads of this XDA forum, I figured out how to get Netflix working in Switzerland, without having to use a VPN service.
DISCLAIMER: This is not a replacement for a VPN service and its functionality, but an alternative way to use geoblocked websites outside their origin countries. This workaround needs you to have either a DD-WRT router or atleast a router on which you can configure iptables via CLI.
Sign up for the free beta at Unlocator
You will need admin access to your home router. Connect to this router via web interface or command line whichever is applicable.
Follow How to Setup DD-WRT to Work With Chromecast
I didn't have a DD-WRT router but with admin access I could use the commands in the previous step on the command line of my TP-Link W8960N router.
Use a free VPN service like Tunnelbear on your Android/iOS device or PC/Mac to connect to Netflix and setup your account. You can use any Credit Card as long as you provide the correct name and verification code. You can use any random USA based ZIP code.
I went ahead and created another iptables rule to force using Unlocator's DNS for all DNS queries via my router, hence making the need for this VPN step redundant. I can now access netflix.com without any VPN connection.
Code:
iptables -t nat -A PREROUTING -d 192.168.1.1 --dport 53 -j DNAT --to-destination [Unlocator's_DNS_IP]
Try playing any Netflix content in the Chrome browser, and use the Netflix player's Chromecast button to cast your content. It will work without any issues as your Chromecast will be able to bypass having to query Google's DNS and query Unlocator's DNS.
You can now try the same from any Android or iOS device using the appropriate Netflix app. (You can find the Netflix apk here)
Happy Netflixing! :highfive:
Click to expand...
Click to collapse
Hi Thanks so much for this important post.
Can you please help or suggest what DNS codes I should use in India ?
Regards,
Gunjan
gunjandubey said:
Can you please help or suggest what DNS codes I should use in India ?
Click to expand...
Click to collapse
India or wherever, you should be using the DNS IPs of the service that you are using. Did you sign up for the Unlocator beta? If so, then you should be using Unlocator's DNS IPs (primary 50.112.186.233 and secondary 50.112.143.40)
Does "tomato" or "gargoyle" third party firmware on wndr3800 allow you to do this?
Nbsss said:
Does "tomato" or "gargoyle" third party firmware on wndr3800 allow you to do this?
Click to expand...
Click to collapse
Yes I believe it will... this method will work with DD-WRT, Tomato, Gargoyle or any other firmware which gives you proper control of your router... I am not sure what manufacturer/make is the WNDR3800 but if it has a compatible Tomato image you can very well flash it and use this procedure.
Sent from my Galaxy Nexus using Tapatalk 4
rufree2talk said:
Yes I believe it will... this method will work with DD-WRT, Tomato, Gargoyle or any other firmware which gives you proper control of your router... I am not sure what manufacturer/make is the WNDR3800 but if it has a compatible Tomato image you can very well flash it and use this procedure.
Sent from my Galaxy Nexus using Tapatalk 4
Click to expand...
Click to collapse
Cheers, I've flashed countless android phones but never a router. But I'd change the firmware just for this. Hopefully I don't brick it, should arrive in 3-5 days.
I heard good things about gargoyle, might give that one a try.
Anyone have any tips before I give it a go?
rufree2talk said:
Yes I believe it will... this method will work with DD-WRT, Tomato, Gargoyle or any other firmware which gives you proper control of your router... I am not sure what manufacturer/make is the WNDR3800 but if it has a compatible Tomato image you can very well flash it and use this procedure.
Sent from my Galaxy Nexus using Tapatalk 4
Click to expand...
Click to collapse
Big thanks for this, I really appreciate it, but can you please tell me what to look for in Tomato firmware to enable the method you mentioned.
Thanks again,
basboss said:
can you please tell me what to look for in Tomato firmware to enable the method you mentioned
Click to expand...
Click to collapse
I do not have a Tomato router, but the documentation is very easily available on the internet at Tomato Firmware/Menu Reference
Connect to your Tomato router at http://192.168.1.1 as root user:
Go to Basic --> Network --> LAN --> Static DNS and configure Unlocator's DNS IPs (50.112.186.233 and 50.112.143.40) in the first two text boxes
Go to Advanced --> DHCP/DNS --> DNSmasq Custom Configuration and type strict-order in the text box
Go to Administration --> Scripts --> Firewall and add the two lines
Code:
iptables -t nat -A PREROUTING -d 8.8.8.8 -j DNAT --to-destination 50.112.186.233
iptables -t nat -A PREROUTING -d 8.8.4.4 -j DNAT --to-destination 50.112.143.40
Save and reboot your router and test whether you are able to open any Geoblocked website for eg. http://signup.netflix.com

Categories

Resources