[Q] Setup an Encrypted VPN on my home Ubuntu server for my Android - Android Q&A, Help & Troubleshooting

The title basically says it all. I already have an ubuntu server at home that I can ping. From outside my home network.
Basically I need too know what program I need to setup on my machine so I can securely tunnel all my network traffic through my server.
I would like to use the native android vpn settings, however I have SSHTunnel on my rooted gingerbread phone so I can use that as well.
Lastly, I am aware that I can purchase a VPN service. I just want to do this for the learning experience.

Configure Open VPN on your Operating system then download the open vpn client on your phone from Android market. The traffic will be routed then through your desired server. I think this is he way through which you can diversify the traffic from your server to android phone.

That really hit the spot! Thanks for the help!
Also, for everyone else who doesn't want to setup their own server there is also the app by the Tor Project.
Sent from my M865 using xda premium

Hi
Any detailed tutorial available on this topic? I tried to search in the forum, but could find it so far. Will search once again in detail, if somebody knows about it please provide me the link to the related post. Thanks
gopi

Related

[Q]free VPN-server for android

Hello,
i´m looking for a free VPN-server like cyberghost which i can use on android.
Is there a change to use Openvpn on android?
Greets box90
Ive found this thread here http://forum.xda-developers.com/showthread.php?t=603179
i looked for some newer threads or post in other forums but i counldn´t found anything.
Is there a newer method to use Hotspot Shield?
Free Android VPN Service for Non Root Users
Create Free Account at Raptor VPN http://www.raptorvpn.com/api/form.php
Activate the account from your email
Now on to your ANdroid Device:
Settings -> Wireless and Networks
Click VPN Settings
Click Add VPN
Select Add L2TP/IPSec PSK VPN
Enter VPN Name: RaptorVPN
Enter VPN Server: l2tp.spotflux.com
Set IPSec pre-shared key to "raptor"
Save your settings
Now connect to "RaptorVPN" from the VPN menu
Screencaptures available at http://www.abtevrythng.com/2012/01/100-free-working-android-vpn-service.html
heartrobber18 said:
Create Free Account at Raptor VPN http://www.raptorvpn.com/api/form.php
Activate the account from your email
Now on to your ANdroid Device:
Settings -> Wireless and Networks
Click VPN Settings
Click Add VPN
Select Add L2TP/IPSec PSK VPN
Enter VPN Name: RaptorVPN
Enter VPN Server: l2tp.spotflux.com
Set IPSec pre-shared key to "raptor"
Save your settings
Now connect to "RaptorVPN" from the VPN menu
Screencaptures available at http://www.abtevrythng.com/2012/01/100-free-working-android-vpn-service.html
Click to expand...
Click to collapse
I haven't been able to connect.....Has anyone else been able to access?
yes, its working as described
finally i can use pandora
Here's a free VPN for your android http://droidvpn.com/
How about running your own VPN Server on your Android device and connect to it? Check this thread
http://forum.xda-developers.com/showthread.php?t=1829334
VPN Gate List with Open VPN Connect
Check out http://forum.xda-developers.com/showthread.php?t=2685153, its an app that provides all the VPN servers, its a huge list and its free (hosted by volunteers around the world), to use it just open the app and import into OpenVPN.
Market Link: https://play.google.com/store/apps/details?id=net.rejinderi.vpngatelist
DroidVPN said:
Here's a free VPN for your android http://droidvpn.com/
Click to expand...
Click to collapse
Need something more than just a free trial for a paid VPN....
You don't need to root your device to get OpenVPN service; I am using bVPN service with a secure account, encrypted connection and high speed browsing and without any connection problems. I am totally satisfied and I didn't need to root my device. You can check yourself http://www.vpnanswers.com/secure-android-with-openvpn-over-ssh-tunnel-without-root/
@Rejinderi
any updates? i mean where in a 2016.
Hi,
I'm looking for a Android VPN-Server App as well. Ultimate Server is a Paid-Version and for this money i can buy a raspberry pi and put openvpn on it.
Do you know a Freeware VPN-Server app for android? I would like to use it with openvpn.
NobodyNobody said:
Hi,
I'm looking for a Android VPN-Server App as well. Ultimate Server is a Paid-Version and for this money i can buy a raspberry pi and put openvpn on it.
Do you know a Freeware VPN-Server app for android? I would like to use it with openvpn.
Click to expand...
Click to collapse
Bump. A VPN server would be a great way to give functionality to old Android devices, and I agree that $7 for the Servers Ultimate is too much (you can get a Pogoplug Mobile for $9.50 shipped right now, and that has an Ethernet port).
I am sure no free Android VPN can support OpenVPN as it is an open source and most secure VPN protocol, you better try some cheap and affordable Android VPN via Google search
Free VPNs are not as much reliable as paid one. if you have small budget go with one month package and see how it works. I use PureVPN on Android phone and it works without any problem https://www.purevpn.com/vpn-app-for-android.php

[APP] VPN Server on Android Device?

I'm looking to run a VPN server on my Android device so that I can set up a virtual network adapter on my PC to connect to the same network as my Android's wifi. I've seen plenty of Android VPN clients, but no server software.
Is there any software out there to run a VPN server on an android device?
I've heard OpenSSH runs an L2/L3 VPN, but I everything I can find on getting OpenSSH running on Android is all about ftp, and they usually wind up running an alternative. Is there a release of OpenSSH I can use on android for the purpose stated?
Thanks for your patience and support,
Serrath
Bumping the thread.
serrath said:
Bumping the thread.
Click to expand...
Click to collapse
I've ssh into my droid phone without a problem using SSHDroid. I'm also looking for how to setup a vpn server(vpnd) on the same droid phone. It might make it simpler for some work I do that requires access to the static ip address I have at home.
I may go with the following solution instead. blog.gidley.co.uk/2009/03/tunnelling-ssh-over-socks-proxy.html
If you're still looking, we just released Servers Ultimate from which the latest update (today) allows you also to run a VPN Server!
Have a look at the thread and let me know what you think of it! You do need a rooted ARM device to get it working (most devices are arm and if you think about a vpn server you're probably also rooted )
http://forum.xda-developers.com/showthread.php?t=1829334
Themuzz said:
If you're still looking, we just released Servers Ultimate from which the latest update (today) allows you also to run a VPN Server!
Have a look at the thread and let me know what you think of it! You do need a rooted ARM device to get it working (most devices are arm and if you think about a vpn server you're probably also rooted )
http://forum.xda-developers.com/showthread.php?t=1829334
Click to expand...
Click to collapse
i want some help in building an adblock app. I need to intercept all requests using vpn to local a vpn server.

[Q] show a captive portal for users that ride on my android portable hotspot

Hello,
I want to direct every user that connects through my portable hotspot I open on my Android to a captive portal - html page or something.
How can it be done? Is there any app for this? Is it possible?
I've searched and didn't find something like that, all I've found about captive portal is to automatically log in to a captive portal through the Android and not make the user that connect through the Android see/press a captive portal.
Also of course, I've found ways to do it on a normal router but not on a smartphone.
Thank you very much,
mikycomputers said:
Hello,
I want to direct every user that connects through my portable hotspot I open on my Android to a captive portal - html page or something.
How can it be done? Is there any app for this? Is it possible?
I've searched and didn't find something like that, all I've found about captive portal is to automatically log in to a captive portal through the Android and not make the user that connect through the Android see/press a captive portal.
Also of course, I've found ways to do it on a normal router but not on a smartphone.
Thank you very much,
Click to expand...
Click to collapse
Hello, Is anybody has answer for this?
Thanks,
Sorry I can't help but I've been searching myself for months. And this almost got my hopes up..
What I want to do is turn my device into a portable web server.
But here's what I envisioned. You are at a large convention. There is no Cellphone tower signal and the location doesn't provide wifi. You want people to get a PDF file on the spot. Blackberry, iOS, Android whatever can access the wifi. So you make a small portable device that can serve up webpages. I could do this all on a laptop. But 6 ounce device that can do all that would be much better.
So just putting it out there for some developer reading this going man why would someone want a captive portal on android.
mikycomputers said:
Hello,
I want to direct every user that connects through my portable hotspot I open on my Android to a captive portal - html page or something.
How can it be done? Is there any app for this? Is it possible?
I've searched and didn't find something like that, all I've found about captive portal is to automatically log in to a captive portal through the Android and not make the user that connect through the Android see/press a captive portal.
Also of course, I've found ways to do it on a normal router but not on a smartphone.
Thank you very much,
Click to expand...
Click to collapse
Having been pointed to this thread from another I was involved in, you may want to have a look at Using an Android as a webserver
Or...
kWS - Android Web Server
PAW Server for Android
+1, I need this as well.
Has anyone found a solution yet?
I've been thinking the same thing and could not get anything. I'm gonna try SimonTS post/reply and see if it works.
There is an app in Google Play with the name Paywall from fattin.com. It implements the captive portal logic but you have to be root in your device.
mikycomputers said:
Hello,
I want to direct every user that connects through my portable hotspot I open on my Android to a captive portal - html page or something.
How can it be done? Is there any app for this? Is it possible?
I've searched and didn't find something like that, all I've found about captive portal is to automatically log in to a captive portal through the Android and not make the user that connect through the Android see/press a captive portal.
Also of course, I've found ways to do it on a normal router but not on a smartphone.
Thank you very much,
Click to expand...
Click to collapse
Did you find any solution ?
Maybe by installing Ubuntu on the phone
Hi,
You can try to install Ubuntu by using multirom, and use a hotspot tutorial for linux. The bad thing is that you cannot use android apps while the hotspot is running, because you are in the Ubuntu OS. You can use Ubuntu apps either. It's a complicated solution, but the only one who is working.
@mikycomputers - any update on this ? I'm also looking for a similar app
Hi, is there any solution now?
Still no solution...
We gonna have to make an app....
Hi
Maybe netcut you can find it on playstore
mikycomputers said:
Hello,
I want to direct every user that connects through my portable hotspot I open on my Android to a captive portal - html page or something.
How can it be done? Is there any app for this? Is it possible?
I've searched and didn't find something like that, all I've found about captive portal is to automatically log in to a captive portal through the Android and not make the user that connect through the Android see/press a captive portal.
Also of course, I've found ways to do it on a normal router but not on a smartphone.
Thank you very much,
Click to expand...
Click to collapse
You can do it,if your device is rooted.
Generally any OS detects captive portal by looking for a specific site. Such as captive.apple.com by IOS and Android 8.0.0
You can simply redirect them to your server.
Edit hosts file in directory /system/etc/hosts
Code:
192.168.43.1 captive.apple.com
192.168.43.1 clients3.google.com
Replace 192.168.43.1 with your server address.
Don't forget to start your web server on port 80
I'll give more details,if still require.
Captive portal server app
I've just found this thread while searching on building a captive portal using WordPress and don't have enough posts to add URLs but here goes...
There is a project for raspi & certain routers that does this...
piratebox.cc
Which has now been ported to android by jochen ruehl who iirc is the guy who made paw server...
piratebox.cc/android
There is also lots more information about piratebox on his blog...
fun2code-blog.blospot.com/search/label/PirateBox
And if your interested in how it works or want to edit it to your own needs, the source code is on github...
github.com/joschi70/AndroidPirateBox
Hope this helps anyone who finds this thread In the future or maybe even the op
Keep rolling the doobies!
captive portal on android.
check this thread by me.
works 100% on rooted device.
Hey guys! I made a simple app for this purpose. I need your help to improve it.
For downloading app and source code check this thread https://forum.xda-developers.com/android/general/guide-setup-fake-captive-portal-android-t4011689

[Search] no root adblock without vpn

my problem is that i have a non rooted phone with vpn always on and im searching for an app to activating ad block on it.
My fix for it would be to use an android wide proxy or a custom dns that overrides vpn dns.
as title said an root app or an app that provides vpn solution wouldnt be what im searching for. I had once an adblock app that routes traffic trough local proxy beside the vpn but cant find it anymore
Update: i found AdHell but its only for Samsung Devices with knox. Any other solutions?
HeathenMan said:
Update: i found AdHell but its only for Samsung Devices with knox. Any other solutions?
Click to expand...
Click to collapse
any news on this one?
I wanna use protonVPN and adblcoker at same time
a bit of elbow grease to protect self from Privacy Raping
Some [open]vpn clients allow vpn side connection to Socks5. Some even allow toggle of LAN access from device. I am not claiming a finish product exists but perhaps this gives you some joy.
Perhaps your socks5 instance runs in Amazon AWS free tier. Maybe it runs locally on your android handset. Perhaps you run Privoxy itself on android. [@mod: privoxy is F/OSS older than this forum]. There are a few privoxy projects for android on github. Perhaps you pick their brain. It was that against which proxomitron competed [also F/OSS. Thank God for Scott Lemmon].
Using things in differing order you might search the article to which I may not link: Privoxy on Android (with EC2 VPN)
I wanted to bring the Amazon EC2-based Privoxy service to it, by way of a VPN.
Click to expand...
Click to collapse
There was no obvious way to contact the author who hasn't posted since 2016.
There is an OpenVPN service you can likely find the name of yourself offering *recently* an adblock toggle and AntiTracker toggle with a hardcode mode to protect you from predators like google and Fbook. It shouldn't be long before others emulate this functionality. It sports the vpn side socks5 option.
Or privoxy tunnel to remote [cloud (openvpn)]. See? Fun with permutations. Maybe from phone with ShadowSocks to cloud to vpn to web. "OpenVPN over shadowsocks". At this point look into sites helping Chinese dissidents.
You definitely then return here with your improvements to share.
The remaining question is how much is your time worth? Not much? Then search the web ad naseum for the 'ideal free' solution. Elsewise pony up some pennies for some cloud time as part of a solution.
Same question here !
And it seems that adhell is now only available for entreprise use
Wasn't AdGuard doing that?
yes you are right. it works with setting a private dns in the system settings with dns.adguard.com - no batterydrain - no more ads - no vpn - no root

General Tethering

Has anyone found a way to tether from the phone without being throttled?
mosh.org
mosh then forward traffic through the tunnel
no privilege elevation needed
Let me go have a look see at it. I'm not looking for the full 5G but God I lived through dial up once already.... and it looks to be open source which is even better!
XeoNoX said:
mosh.org
mosh then forward traffic through the tunnel
no privilege elevation needed
Click to expand...
Click to collapse
I am guessing you recommended this without actually having tried it because according to the mosh readme: "Mosh does not support X forwarding or the non-interactive uses of SSH, including port forwarding."
If mosh can be actually used for tunneling, would you please describe specifically how to do so? My general understanding of this would be to run a server app on the phone and then connect client devices like PC's and Android TV's using mosh in client mode to it to forward their traffic through it. However, I cannot find an SSH server app for Android which will run on Android 11 due to changes made by Google in Android 10 and above. My understanding of the official mosh documentation is that mosh requires an SSH server to establish a connection before it can run its own server mode.
In addition will mosh tunnel both IPv4 and IPv6 traffic? If so, how would this be setup? Would two separate server sessions be required?
Iv tried most of the paid apps in the store (Klink, Pdanet+ and so forth) and Klink while not full speed works the best but after a few days all of the sudden you lose the ability to use sites like Netflix, Amazon Prime Video, or oddly Minecraft services.
i get anywhere from 85-130mbps by using vpn hotspot + adguard. it requires root tho.

Categories

Resources