Create a http proxy for ios? - Raspberry Pi Q&A, Help & Troubleshooting

Hey guys, so I get my raspberry pi today, and one big thing I can't find is a way to use the raspberry pi to make a http proxy compatible with ios to avoid people trying a man in middle on public wifi, and get around firewalls/restrictions. My ipad gives me the option for a server, a port, and authentication on/Off after you go to setting>wifi>network name info>http proxy set to ON. I want to create my own proxy for us on the IPad, but don't want to use a full VPN (another area of settings). The main reason is it is a school ipad with MDM profiles on it where a VPN will get me in trouble, but there is no rule against a http proxy. So if anyone knows a way to do that, that would be awesome. I am going to create a full VPN server for use with my laptop, android phone, and android tablet, but can't use it for the school ipad. Anyone help would be useful. Any chance this would work with openvpn? It seems more simple and compatible than a hamachi setup.

Out of curiosity how do they track you? Can you leave school with it? If they are watching your traffic you can always use say ssh or SSL over VPN to mask the traffic. You should check out the app fiddler for your pc and use it to see what's going on in the background of that iPad as I'm assuming you obviously would be in deep trouble if you jail broke it. ☺
Sent from my SAMSUNG-SGH-I337 using Tapatalk

Nizda1 said:
Out of curiosity how do they track you? Can you leave school with it? If they are watching your traffic you can always use say ssh or SSL over VPN to mask the traffic. You should check out the app fiddler for your pc and use it to see what's going on in the background of that iPad as I'm assuming you obviously would be in deep trouble if you jail broke it. ☺
Sent from my SAMSUNG-SGH-I337 using Tapatalk
Click to expand...
Click to collapse
Yes, I can take it home. I'm sitting in my bed messaging you on it atm. Also I can't jailbreak it because the profiles on it won't allow me to connect to a PC. They have the mobile device management profiles on it so they can track all of my apps, wifi connection, os version, view some settings, secure their wifi password through it (fiber optics hitting up to 50 mb/s), and they have IP address filtering. I can upload it, but I got an email saying to stop playing a game and sent me a picture with my ipad name, the app name, and the IP address it was accessing. I believe with the proxy since it's under settings, and I can set the IP as a static IP to what I want at home for the pi, they won't be able to figure it out and think it a website or weird app connection, and can't tell what it is exactly. They already caught a ton of people downloading the open door app that is basically a web browser and proxy app wrapped together. I just want to use the fast speeds and not have my games and some of my blogs blocked, but not have to leave my phone in my backpack attached to my 22,000 MaH external battery to tether all day and not kill my phone. Especially with my smartwatch and bluetoothheadphones battery life is very precious.

Related

[Q] how to by-pass office restriction to facebook site

I want to know how access the facebook site from our office. the management block it. its really important to me. thanks
The best way would be to use a web browser on a USB stick, like Portable Firefox.
You'd need to run a proxy from some other location, like your home internet connection, and set the proxy options in that browser. With this, the traffic will be going between the two machines, and only going to Facebook after it's out of the office network.
If you're super-paranoid, you might want to use SSH tunneling to port 8080 on your home machine (so it looks like just web traffic), and run remote access through that tunnel to a machine at home, with Facebook pulled up on the web browser there.
DONT USE A PROXY!
they are managed by random people, entering account details, is risky because they can get them any time!
Moved to Off-Topic.
Why don't you just do your work
Close thread
sent from my sensational sensation 4g'z
bord1er said:
Why don't you just do your work
Close thread
Click to expand...
Click to collapse
+1 and also ib4l
Why the fxxk people can't just do the work they are being paid for is beyond me. One of my colleagues spends half his working day on Facebook while I work my bits off for the company - can you guess that it pi$$es me off?
Speak to your management and ask permission to access Facebook.
Thread closed.
Sent from my GT-P7510 using Tapatalk 2

Is there a way to download .zip files from blocked sites?

My school has the Light speed Systems blocking website tool and I would like to know if there is a way to download ROMs or Kernels from media fire or whatever from my School's WiFi ?
Youre going to have to find a proxy site that your school hasnt blocked. Make a list and try some out, cross off any that don't work.
Ahhh I see
Sent from my huge ***** using xda premium
or you could persuade the dev to make a mirror at some unknown site
or dropbox. my school doesn't block dropbox because teachers use it too
google drive isn't blocked at most schools too because at my school, lots of people use google docs
Other question: My school's wifi requires you to connect to a proxy to access the internet after connecting to their network
on my home wifi network, I use an app called Orbot(its free don't worry) . its like Tor for the PC, except its for android.
its basically like another transparent proxy that allows me to access any site and download stuff not available in the US
is there anyway I can use orbot, while connected to my school's proxy. because orbot doesn't seem to work for me
it only works at home when im not connected to any proxy
-DarkKnight- said:
or you could persuade the dev to make a mirror at some unknown site
or dropbox. my school doesn't block dropbox because teachers use it too
google drive isn't blocked at most schools too because at my school, lots of people use google docs
Other question: My school's wifi requires you to connect to a proxy to access the internet after connecting to their network
on my home wifi network, I use an app called Orbot(its free don't worry) . its like Tor for the PC, except its for android.
its basically like another transparent proxy that allows me to access any site and download stuff not available in the US
is there anyway I can use orbot, while connected to my school's proxy. because orbot doesn't seem to work for me
it only works at home when im not connected to any proxy
Click to expand...
Click to collapse
thanks brony i will use orbit at school since the school is allowing us to use our devices well i might if they have surcurity
Sent from my PC36100 using xda premium
lreyes said:
thanks brony i will use orbit at school since the school is allowing us to use our devices well i might if they have surcurity
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Im not sure if my device has anything to do with matters but i can access any website from my phone on any proxy. It dosnt seem right but its true. Or there are some proxy hiding sites that i use all the time at my school.
Sent from the phone of Gamers
Try Torbrowser. Not sure if it works on that kinda systems though.
Sent from my premium potato

Block devices from casting

Any way to block devices from casting? I hate that my litter brother can cast on my chromecast in my room i had to take his tablet away because he thought it was hilarious to keep changing my google music to a stupid youtube video....smh
vwgti18 said:
Any way to block devices from casting? I hate that my litter brother can cast on my chromecast in my room i had to take his tablet away because he thought it was hilarious to keep changing my google music to a stupid youtube video....smh
Click to expand...
Click to collapse
Buy a wireless router. Connect the WAN port on that router to your existing network. Configure your devices for said router. Don't give your little brother your WiFi password.
Alternatively, just punch him in the stomach the next time he does it.
vwgti18 said:
Any way to block devices from casting? I hate that my litter brother can cast on my chromecast in my room i had to take his tablet away because he thought it was hilarious to keep changing my google music to a stupid youtube video....smh
Click to expand...
Click to collapse
Try to uninstall the setup app on his tablet. I think that will get rid of the button.
I would have no idea how to write these rules exactly, but if you have a Linux router you could:
- Assign a static DNS lease to Chromecast's MAC address
- Assign a static DNS lease to his tablet's MAC address
- Set up some iptables commands that discard all traffic directed from the tablet to Chromecast
- Or you could even go further and assign all your devices to a whitelisted range of IP addresses, configure the dynamic DNS range to be outside of that whitelist, and discard all traffic to Chromecast from outside the whitelist.
Alternatively it may be possible to segregate the network into two SSIDs that act as separate LANs.
Lol a block list would be useful
Sent from My S4 in BEASTMODE
sake40 said:
Try to uninstall the setup app on his tablet. I think that will get rid of the button.
Click to expand...
Click to collapse
He never had the setup app installed its just the new youtube update can detect the chromecast.
So what I did since I have ddwrt on my router I made a virtual ssid and connected him to that so hes not on my network no more. And now he cant stream movies from my hdd to his tab now im the one laughing haha.
Sent from my SPH-L900 using Tapatalk 4
cmstlist said:
I would have no idea how to write these rules exactly, but if you have a Linux router you could:
- Assign a static DNS lease to Chromecast's MAC address
- Assign a static DNS lease to his tablet's MAC address
- Set up some iptables commands that discard all traffic directed from the tablet to Chromecast
- Or you could even go further and assign all your devices to a whitelisted range of IP addresses, configure the dynamic DNS range to be outside of that whitelist, and discard all traffic to Chromecast from outside the whitelist.
Alternatively it may be possible to segregate the network into two SSIDs that act as separate LANs.
Click to expand...
Click to collapse
I think you mean static IP...or even static DHCP entry...
But no, that linux configuration would not work. Once devices get each other's mac address, the traffic between the two does not go between the router, it is just switched.
Me and my brother are on different ssid now and the chromecast cast button does not show up on his youtube app.
Sent from my SPH-L900 using Tapatalk 4
jumpmanjay said:
I think you mean static IP...or even static DHCP entry...
But no, that linux configuration would not work. Once devices get each other's mac address, the traffic between the two does not go between the router, it is just switched.
Click to expand...
Click to collapse
Sorry yes, I meant static DHCP. And you may be right - I don't know enough to say.
cmstlist said:
Sorry yes, I meant static DHCP. And you may be right - I don't know enough to say.
Click to expand...
Click to collapse
Trust me.
And if DD-WRT is set up to divide up into two SSIDs, is there any way to whitelist communication between the two networks?
cmstlist said:
And if DD-WRT is set up to divide up into two SSIDs, is there any way to whitelist communication between the two networks?
Click to expand...
Click to collapse
Yup on the second ssid I set up I cant see none of my computers or chromecast
Sent from my SPH-L900 using Tapatalk 4
If your brother's device is rooted: download an app from the Play Store called DisableService. I believe it's free. Open it up, click on the System tab, search for Google Play Services. Once you locate the Google Play services app, tap on it, and you should see a very long list of associated services pop up. Scroll through the list and uncheck pretty much anything starting with the word Cast. Exit out, reboot the device, and voila - the device cannot cast anymore.
This is also very useful if you'd like to prevent accidentally castng porn or something inappropriate on a community/public Chromecast device.
Oh and yeah obviously to re-enable just follow the same steps except recheck all the things, then reboot.

Use your phone's VPN in your computer without root.

I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Please
ssaikia3 said:
I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Click to expand...
Click to collapse
Can you explain me how does vpn work?
I mean when I connected to my home wifi, I connected with my pc( Desktop ) too.
So I mean do I still need vpn to use Internet?
Thanks!!!!
ssaikia3 said:
I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Click to expand...
Click to collapse
More explanations are needed thanks
Ewaret said:
Can you explain me how does vpn work?
I mean when I connected to my home wifi, I connected with my pc( Desktop ) too.
So I mean do I still need vpn to use Internet?
Thanks!!!!
Click to expand...
Click to collapse
I think it'd be better if you go watch a video on YouTube, explaining "what is a vpn" . If I try to explain you here, chances are you're going to get confused even more.
sl13kp said:
More explanations are needed thanks
Click to expand...
Click to collapse
Start VPN in phone
Start proxyserver app in phone
Set the proxy IP and port in your PC browser
It's a 3 step process. If you still need help, you should ask more specifically, a generic "more explanation needed" doesn't pin point where should I start.

Question Use device name/hostname to access the phone when connected to it using hotspot

I have a Sony camera that can FTP photos to my phone while I am shooting. Works perfectly using the IP of the phone in the FTP client when connecting the camera to it using hotspot. AWESOME!
However, the IP of the phone changes every time I enable hotspot. As far as I have been able to find out this is by design. This is an issue, since I need to go into the menu of my camera and change the IP. Not so awesome. No keyboard on camera.
I had the brilliant idea of trying to use the DNS name of the phone instead of IP. Works fine when both devices are on the same wifi, eg at home, but when the phone is the hotspot I find that there is no DNS name for the phone.
Any tips? Is there something I have not thought of?
Noone has any experience with this, please?
Interesting workflow you've got here. I use WebDav via FX File Explorer on a static IP address (within my network) to have a single shortcut on my computers to jump right into the phone without a cable. I know this is different, but I'm just sharing because I know exactly what you're going for. Unfortunately, the WAN IP on a mobile device will always be different when it's enabled.
The only thing I can think of that would manage this would be a dynamic DNS client directly on your phone. I imagine this is possible through a paid service - I run dynamic DNS on my Synology NAS out of my house since I do not have a static WAN IP. Synology provides this for free once you buy their hardware. I believe Asus provides this as well for their routers. There's gotta be a solution for Android, I've just not looked into it and I've gotta run out shortly or I would. You've got me curious so I am going to read into this later. Hope this helps a bit, I will post back.
Edit: a quick google seems to boast a lot of options for this! It should absolutely solve your problem.
Woops. looks like my reply from my phone a few days ago never saved.
I really like that the photos are available on my phone for sharing instantly when I am shooting. There is a Sony app that can perform the same, but it does not do RAW, and it compresses the JPG down to 2 MB. By using FTP I have the option of getting the full size JPG as well as the RAW straight to my phone for editing or sharing instantly.
I am considering FTPing to my home server where I run a FTP server, but then I need to find a way to make the files available on my phone again. Using OneDrive syncing the FTP destination folder or similar should do the trick. However, it requires double the data since I am uploading the photo to the server and then downloading it to my phone using OneDrive.
Is there a "local" DNS app that I can run on my phone, eg one that announces to the local network created by the hotspot? I have used no-ip and dyndns. but that is for announcing a DNS name for my public IP.
I was hoping there was a %gateway% or other variable I could use to resolve to the phone in hotspot mode.

Categories

Resources