'SSHTunnel' App + WiFi Tethering + iPad - Android Apps and Games

Hey up,
I have a QNAP-TS410 NAS at home on its own domain, via DynDNS
and (for the most part) I've got my head around SSH Tunnels and realised just how good they are.
Having the SSH tunnel up allows me to route all port traffic through SSH, including AFP, SMB, HTTP, HTTPS etc and close those equivalent ports on my router.
For example, I noticed when I opened an SMB port on my router my NAS would get spammed by break and entry bots. So for me SSH Tunnels are the only way to go now.
Additionally, being able to open an obscure port number for SSH on my router instead of the default 22, makes it very secure and additionally reduces the overheads on the NAS itself.
From my laptop I can establish an SSH Tunnel and mount NAS shares when Im away from home, either via local WiFi or a WiFi tether + 3g connection provided by my HTC Desire HD (rooted, ARHD) I accomplish this via a Mac OS X app called 'SSH Tunnel Manager' or via 'Terminal' with a few command line and simply use the link as a pipe. Great!
I also downloaded an app from Android Market called 'SSHTunnel' for my Desire HD (not sure if anyone is aware of it or not) it seems very feature rich.
I can use it to tunnel any/all web traffic from any app on my phone through the tunnel and out from my NAS at home. Ive had to tweak the SSHD config file on the NAS to allow TCPforwarding etc..
Testing on whatismyip.com, the default browser on my phone correctly reports my home WAN IP. Effectively a SOCKS proxy. Resulting in SUPER SECURE browsing anywhere in the world.
I found out though, there is no built in support on the iPad for a SOCKS proxy, you can only do HTTP Proxies, requiring something like Squid being setup, which would serve the actual web pages itself. I don't need or want this functionality, I simply want to route any/all traffic from the iPad through the tunnel and then out from my home WAN. So I needed a workaround of sorts.
Then it got me thinking...
Can I WiFi tether my iPad to my Phone whilst a SSH Tunnel is active via 'SSHTunnel' app?
If possible, *and I'm right in thinking* this should then create a global SOCKS proxy to allow all iOS apps to communicate through the tunnel?
However, I'm not entirely sure of the actual addresses I would be configuring in each app.
Anybody had experience of this?

I know this is quite old but if you're still looking for one you can get Web Tunnel. It's much better than other tunneling tools.
https://play.google.com/store/apps/details?id=com.in.webtunnel

Related

[Q] BubbleUPnP through VPN

Since I can't reply in the BubbleUPnP dev thread because I'm a noob, I'll hopefully get an answer in this thread.
bubbleguuum, are you out there?
I LOVE BubbleUPnP, fantastic app. Everything works great except for accessing my media server through VPN with my Acer A500 (Honeycomb 3.1). I know my VPN is setup correctly because I can access my server remotely using a file explorer app. The DLNA server just doesn't show up in the BubbleUPnP server list, where as it does just fine when I'm at home on my local WiFi network.
I suppose it's possible that my DLNA server software (Serviio) is the problem, but it seems more likely an issue with BubbleUPnP.
I did a little research and it looks like there's an issue with VPN and "discovery through multicast". It looks like the only easy way around is to manually enter in server IP. Maybe this feature could be added to BubbleUPnP?
TheAscension said:
I did a little research and it looks like there's an issue with VPN and "discovery through multicast". It looks like the only easy way around is to manually enter in server IP. Maybe this feature could be added to BubbleUPnP?
Click to expand...
Click to collapse
Same problem here. btw There is an option to manually enter the servers ip. Does not work through VPN here.
I have a doubt...
In one hand, you need to supply the public IP adress for bbubbleupnpserver to work...but in other hand you hide this adress behind VPN...Then how could this work ?

SSH Tunnel...is anyone using this app?

I'd love to use this app but feel like I'm in over my head trying to configure it. Can this be walked thru?
Firstly, do you have a hosted server (typically configured with sshd and nginx / squid), which is accessible from the Internet?
promiseofcake said:
Firstly, do you have a hosted server (typically configured with sshd and nginx / squid), which is accessible from the Internet?
Click to expand...
Click to collapse
I DL'd the SSH Tunnel app (top 10 rooted app recommendation on a random site) and was hoping someone could help me with the necessary parameters to set it up. Is that possible? If promiseofcake's question is any indicator, I'll assume SSH isnt for me?
gadgetball said:
I DL'd the SSH Tunnel app (top 10 rooted app recommendation on a random site) and was hoping someone could help me with the necessary parameters to set it up. Is that possible? If promiseofcake's question is any indicator, I'll assume SSH isnt for me?
Click to expand...
Click to collapse
SSH is a protocol which allows one machine to securely connect to another remote machine, and in this situation, use the remote machine's internet connection. The benefit of this is that all of the data transferred to your phone appears to be originating from this remote machine of yours, and not all of the sites and services you are in turn using, Google, Facebook, torrent services, etc. Now if this server was hosted at home, your home internet would be the one which Google, Facebook, and torrent services would see using their services. Imagine that as a baseline.
In order for the above example to work, one will need a remote machine to use as a gateway for this traffic. Therefore, unless you have a computer setup and configured properly with a semblance of a "static" connection, there will be nothing for your phone to SSH tunnel into.
I would look into paid services so you don't have to deal with the hassle of setting something like this up.
Thank you very much for clearing that up!
Sent from my SAMSUNG-SGH-I727 using XDA App
Just another noob that hasnt studied up enough
Sent from my SAMSUNG-SGH-I727 using XDA App
Yeah, I use SSHTunnel everyday, the benefit besides the fact that everything is appearing to come from the remote machine you're running SSH on is that everything is encrypted, so the carrier or wifi lan you're using can't see what you're doing either other then sending encrypted traffic to your remote machine, this can protect against droidsheep attacks and if you're using your providers 3g/4G and you tether the traffic is masked as encrypted and your provider can't really tell what you're doing, SSHTunnel IS a good program if you have an SSH shell to tunnel the traffic through.
I have problems with this app too. It connects successfully to my server but the "Individual Proxy" option does not work. I sent a mail to the author asking if iptables needs any specific options enabled (such as --uid-owner) for this to work but did not get any replies. I don't know how different the iptables on android is compared to that on desktop distributions.
I'm using CM9 and tested this the default kernel and Siyah kernel.

[APP][2.1+] FTP Server Ultimate - FTP, SFTP, FTPS server with multi-user, no-root

Unlike other FTP Server apps we have released an FTP Server with almost all the features you can think of. Some features FTP Server Ultimate has and most other apps don't have:
- Add multiple users: and give every user their own root, allow write access and force stay in given root directory
- Run FTP server over SSL (FTPS Implicit) to have a secure connection
- Or run FTP server over SSH (SFTP) to be even more secure! With even support for Secure Copy (SCP) and public key authentication.
- Run multiple servers at the same time!
- Extensive logging!
- No root needed!
And more features:
- Start/Stop a FTP server automatically when connected/disconnected from a specified WIFI network, or on boot
- Optionally only allow specified IP addresses to access a FTP Server
- Add a Dynamic DNS Updater using the local or public IP of your device
- UTF-8 support
- Optional anonymous access
- The FTP Server can be accessed from the web (for example through your 3G connection) if supported by your mobile network
- No more need for an USB cable
- Share files with other devices
You can download it for free from Google Play (see the link below). I would appreciate it if you could leave a message stating what you think of the app, whether it works ok and whether you are missing anything. Quite some time has been put into it.
FTP Server Ultimate on Google Play
Video review by JIMMYMCGEE:
XDA TV
FAQ
How come I can't run a server on a port below 1024?
That is a limitation of Android. However, you can try out our app Port Forwarder Ultimate which allows you to access the server on a port below 1024! So you can for example run it on port 21.
All feedback is welcome!
No feedback yet? I would really appreciate it if someone could try it out and let me know what you think of it. I really have put some time into it
Thanks
Did anyone try the app yet?
I tried it just now!
I dig it!
A suggestion if I may:
Add a little more dummy-proofing like tell them their connect string is "ftp://192.168.0.7:41839/" or whatever... and for both public and local URLs. Instead of just letting them know their current port number and IP addresses, etc. People familiar with FTP and FTPS will get it but n00bs will get lost.
In all I dig it tho! I'll use it!
Thanks man!
---------- Post added at 10:10 AM ---------- Previous post was at 09:35 AM ----------
Vibrate on Connect (with my Galaxy Note SC-05D) isn't working.
And a status window with connected users (IP and/or login_name) and current operation (sending, receiving, CD folder name, etc) would be really nice - and in the basic version - it's kind of a safety thing IMO. Then press-holding on a user name should bring up an option panel menu: Kick, Kick-ban IP, Kick-Ban UserName, (and in the pay version: Send message).
Here's a little treat for ya... Opened into PhotoShop directly from my SC-05D phone:
http://tesselator.gpmod.com/Images/Temporary/FTP_Grab.png
Now all I need is a gopher server and I'll be in retro-la-la-land! (j/k of course)
Bifurcator said:
I tried it just now!
I dig it!
A suggestion if I may:
Add a little more dummy-proofing like tell them their connect string is "ftp://192.168.0.7:41839/" or whatever... and for both public and local URLs. Instead of just letting them know their current port number and IP addresses, etc. People familiar with FTP and FTPS will get it but n00bs will get lost.
In all I dig it tho! I'll use it!
Thanks man!
---------- Post added at 10:10 AM ---------- Previous post was at 09:35 AM ----------
Vibrate on Connect (with my Galaxy Note SC-05D) isn't working.
And a status window with connected users (IP and/or login_name) and current operation (sending, receiving, CD folder name, etc) would be really nice - and in the basic version - it's kind of a safety thing IMO. Then press-holding on a user name should bring up an option panel menu: Kick, Kick-ban IP, Kick-Ban UserName, (and in the pay version: Send message).
Here's a little treat for ya... Opened into PhotoShop directly from my SC-05D phone:
http://tesselator.gpmod.com/Images/Temporary/FTP_Grab.png
Now all I need is a gopher server and I'll be in retro-la-la-land! (j/k of course)
Click to expand...
Click to collapse
Great to hear it's all working ok! Did you also try the sftp or ftps server? Thanks for the feedback!
Would you also be able to leave a review on Play? I would really appreciate that!
Did anyone else try the app??
Themuzz said:
Great to hear it's all working ok! Did you also try the sftp or ftps server? Thanks for the feedback!
Would you also be able to leave a review on Play? I would really appreciate that!
Click to expand...
Click to collapse
I did all those things yesterday!
Themuzz said:
Unlike other FTP Server apps we have released an FTP Server with almost all the features you can think of. Some features FTP Server Ultimate has and most other apps don't have:
- Add multiple users: and give every user their own root, allow write access and force stay in given root directory
- Run FTP server over SSL (FTPS Implicit) to have a secure connection
- Or run FTP server over SSH (SFTP) to be even more secure! With even support for Secure Copy (SCP) and public key authentication.
- Run multiple servers at the same time!
- Extensive logging!
- No root needed!
And more features:
- Start/Stop a FTP server automatically when connected/disconnected from a specified WIFI network, or on boot
- Optionally only allow specified IP addresses to access a FTP Server
- Add a Dynamic DNS Updater using the local or public IP of your device
- UTF-8 support
- Optional anonymous access
- The FTP Server can be accessed from the web (for example through your 3G connection) if supported by your mobile network
- No more need for an USB cable
- Share files with other devices
You can download it for free from Google Play (see the link below). I would appreciate it if you could leave a message stating what you think of the app, whether it works ok and whether you are missing anything. Quite some time has been put into it.
FTP Server Ultimate on Google Play
FAQ
How come I can't run a server on a port below 1024?
That is a limitation of Android. However, you can try out our app Port Forwarder Ultimate which allows you to access the server on a port below 1024! So you can for example run it on port 21.
All feedback is welcome!
Click to expand...
Click to collapse
How to access from the web?
I'm using it and it works great!
Are all of the same features present in your "servers ultimate " app?
Sent from my M886 using Tapatalk 2
Great APP! Thanks!
This got featured on the XDA portal!
Downloading and reviewing just for the sake of the hard work you put.
I'm having problems (Can't connect) using this with my Samsung GT-7100 Galaxy Note II.
I think is not an App problem but from the device. Every time i try to connect I'm getting this message : "ECONNREFUSED - Connection refused by server"
Using other FTP Server and same result.
Never had this issue with my other device Galaxy S III.
Any ideas how to solve this problem?
Thanks
rickyx said:
How to access from the web?
I'm using it and it works great!
Click to expand...
Click to collapse
Good to hear it works. About accessing from the web, you will need to use the public IP (visible under the info button on the start screen of the app). However, depending on your internet provider it might not work (some internet providers block it). If you use it through wifi you would need to enable port forwarding.
jbrt said:
Are all of the same features present in your "servers ultimate " app?
Click to expand...
Click to collapse
Yes, however, this app will be updated faster and is way less intensive to run on your device, since it's focused on FTP.
rind said:
Great APP! Thanks!
Click to expand...
Click to collapse
You're welcome
theDroidfanatic said:
This got featured on the XDA portal!
Downloading and reviewing just for the sake of the hard work you put.
Click to expand...
Click to collapse
I just read it on XDA, great article! And thanks for the reviewing, really appreciate it.
M3xital said:
I'm having problems (Can't connect) using this with my Samsung GT-7100 Galaxy Note II.
I think is not an App problem but from the device. Every time i try to connect I'm getting this message : "ECONNREFUSED - Connection refused by server"
Using other FTP Server and same result.
Never had this issue with my other device Galaxy S III.
Any ideas how to solve this problem?
Thanks
Click to expand...
Click to collapse
That sounds like a port forwarding problem. Do you try to access it through WIFI and are you with the client on the same WIFI network? Could you elaborate a bit?
It would be great if everyone who tries it let's me know whether it works ok and whether you are missing anything. Also, reviews on Android Play are of course welcome
Thanks!
Themuzz said:
Good to hear it works. About accessing from the web, you will need to use the public IP (visible under the info button on the start screen of the app). However, depending on your internet provider it might not work (some internet providers block it). If you use it through wifi you would need to enable port forwarding.
Yes, however, this app will be updated faster and is way less intensive to run on your device, since it's focused on FTP.
You're welcome
I just read it on XDA, great article! And thanks for the reviewing, really appreciate it.
That sounds like a port forwarding problem. Do you try to access it through WIFI and are you with the client on the same WIFI network? Could you elaborate a bit?
It would be great if everyone who tries it let's me know whether it works ok and whether you are missing anything. Also, reviews on Android Play are of course welcome
Thanks!
Click to expand...
Click to collapse
Hello I'm a bit of a noob at the whole FTP thing. I downloaded the app, set up the server, and enabled port forwarding on my router. How do I gain access to the server? When I type my public ip into the url bar it just goes to my router login. I'm confused...
Thanks for any help!
Edit: I tried switching to 3G. I got a different public IP but I still got a "could not connect" error in the browser.
Sidenote-When I slide up the log menu it shows the different servers underneath, like there's no background in the log menu.
Themuzz said:
That sounds like a port forwarding problem. Do you try to access it through WIFI and are you with the client on the same WIFI network? Could you elaborate a bit?
Click to expand...
Click to collapse
I'm trying to access through WiFi and yes client is on the same WiFi.
Server SSID Behaviour
Hi and thanks for putting this out. I've added, run and connected to a SFTP server with no problems But here's my problem - I'd like the same server to run on multiple SSIDs (e.g. my home and work ones).
When I tick the "start server when connected to selected wifi network" box I can only enter a single SSID and have the server start automatically when a connection comes up. I took a long shot and tried entering my two SSIDs with common delimiters (comma, semi-colon, backslash etc.) but no dice - the server wouldn't start automatically when connecting to either SSID (which wasn't unexpected as it's worded in the app to indicate whatever is entered is meant to be a single SSID). In the log I could see the server stop when wifi went down, log when wifi was connected to any SSID and when a server started and stopped.
I then tried creating an exact copy of the first server but with a different SSID set. Upon trying to save the second new server the app warned about two servers using duplicate ports and wouldn't let me save it. Fair enough but, with the particular settings, neither server should be running at the same time i.e. they are both set to only run when connected to different SSIDs. Picky picky I know
I also tried leaving the SSID field blank.The thinking here was that, when left blank, it would try and start the server when any SSID was connected.
To summarise... the ability to start a server on: any wifi connection, multiple named SSIDs or a single SSID would be great.
not conecting
hi:
I set up the sftp server without problem, but when i tried to access i got an error.
I tried to connect with:
ssh -p serverport [email protected]
sftp [email protected]
sftp serverip
But i get,
for ssh:
ssh: connect to host serverip port sererport: Connection refused
for sftp:
Connecting to serverip
ssh: connect to host serverip port 22: Connection refused
Connection closed
However, i connected with winscp without problem.
So, do you have any idea of why i can't connect with ssh and sftp?
And if i could solve the problem, can i use scp?
BR
Really cool, worked good, f*** MTP
deaver_92 said:
Hello I'm a bit of a noob at the whole FTP thing. I downloaded the app, set up the server, and enabled port forwarding on my router. How do I gain access to the server? When I type my public ip into the url bar it just goes to my router login. I'm confused...
Thanks for any help!
Edit: I tried switching to 3G. I got a different public IP but I still got a "could not connect" error in the browser.
Sidenote-When I slide up the log menu it shows the different servers underneath, like there's no background in the log menu.
Click to expand...
Click to collapse
Ah, it sounds like you forget using the port number. For example, you have an FTP server running on port 2121 with internal IP 192.168.1.54 and enabled port forwarding on your router to forward outside port 2121 to inside IP 192.168.1.54 and port 2121. Now you can access the FTP server using your public IP, for example 123.123.123.123
However, you need to specify the port number when using the IP. If you use a browser, type: ftp://123.123.123.123:2121/ That should work.
Let me know!
M3xital said:
I'm trying to access through WiFi and yes client is on the same WiFi.
Click to expand...
Click to collapse
Ok, so client and server are on the same wifi. The server is, for example, running on 192.168.1.54 and port 2121, now on the client (probably a computer) use the browser and type in ftp://192.168.1.54:2121/
Let me know whether it worked!
Northernmost said:
Hi and thanks for putting this out. I've added, run and connected to a SFTP server with no problems But here's my problem - I'd like the same server to run on multiple SSIDs (e.g. my home and work ones).
When I tick the "start server when connected to selected wifi network" box I can only enter a single SSID and have the server start automatically when a connection comes up. I took a long shot and tried entering my two SSIDs with common delimiters (comma, semi-colon, backslash etc.) but no dice - the server wouldn't start automatically when connecting to either SSID (which wasn't unexpected as it's worded in the app to indicate whatever is entered is meant to be a single SSID). In the log I could see the server stop when wifi went down, log when wifi was connected to any SSID and when a server started and stopped.
I then tried creating an exact copy of the first server but with a different SSID set. Upon trying to save the second new server the app warned about two servers using duplicate ports and wouldn't let me save it. Fair enough but, with the particular settings, neither server should be running at the same time i.e. they are both set to only run when connected to different SSIDs. Picky picky I know
I also tried leaving the SSID field blank.The thinking here was that, when left blank, it would try and start the server when any SSID was connected.
To summarise... the ability to start a server on: any wifi connection, multiple named SSIDs or a single SSID would be great.
Click to expand...
Click to collapse
Good idea! Great to hear you tried all those options but unfortunately at this moment only one SSID can be specified. However, as soon as we thought of 2-3 more servers to add for the update we will also include the ability to select multiple SSID's
kurokirasama said:
hi:
I set up the sftp server without problem, but when i tried to access i got an error.
I tried to connect with:
ssh -p serverport [email protected]
sftp [email protected]
sftp serverip
But i get,
for ssh:
ssh: connect to host serverip port sererport: Connection refused
for sftp:
Connecting to serverip
ssh: connect to host serverip port 22: Connection refused
Connection closed
However, i connected with winscp without problem.
So, do you have any idea of why i can't connect with ssh and sftp?
And if i could solve the problem, can i use scp?
BR
Click to expand...
Click to collapse
Good point, the SFTP server only supports SFTP commands and will work great with all SFTP clients, however, SSH commands are not all supported. You can try the linux sftp command.
However, we also released an SSH Server (on Play) which also supports SFTP and SCP. So if you try that app you can connect through SSH commands from the command line.
Let me know whether it worked.
Mach3.2 said:
Really cool, worked good, f*** MTP
Click to expand...
Click to collapse
You're right, way easier and can be used wireless!
I would appreciate if if everyone could leave a review on Play. Thanks for the feedback, more comments are of course welcome!
Hi:
I tried your ssh server and with winscp i had no problems. I could also connect without problem trough ssh command. But when I tried scp, the server disconnect the command and some times the app closed itself.
I don't know why this happens, I hope you can help me. I could let it like this because with ssh command it is enough for me but it bothers me xd.
kurokirasama said:
Hi:
I tried your ssh server and with winscp i had no problems. I could also connect without problem trough ssh command. But when I tried scp, the server disconnect the command and some times the app closed itself.
I don't know why this happens, I hope you can help me. I could let it like this because with ssh command it is enough for me but it bothers me xd.
Click to expand...
Click to collapse
Could you send me the steps you took? So what client are you using and what command did you send that produced an error?

[Q] Turn old android phone into VPN server

Greetings! For some time, I've been wanting to setup a VPN server at home so I can "dial" in from Wi-Fi hotspots out in town and secure my traffic.
My first thought was to build a VM on my desktop and leave it running 24/7.
A low-powered solution might be turning my old Android phone into a VPN server.
Any thoughts on how to accomplish this? I have a Nexus One that is just laying around....
Matt
schwarznavy said:
Greetings! For some time, I've been wanting to setup a VPN server at home so I can "dial" in from Wi-Fi hotspots out in town and secure my traffic.
My first thought was to build a VM on my desktop and leave it running 24/7.
A low-powered solution might be turning my old Android phone into a VPN server.
Any thoughts on how to accomplish this? I have a Nexus One that is just laying around....
Matt
Click to expand...
Click to collapse
This is exactly what I am looking to do, but in a little different sort of way.
I want to leave my old phone hidden in the rafters connected to a wifi from a haircutting place next to where I work. Then tunnel to the old phone from my various other devices encrypting my data through their .IP. I all ready use their wifi for all my torrenting needs but think that not having to be there navigating on the phone would be nice
did u tryed app droidvpn?
It would be great to setup a vpnd on our Android. I'm looking for the same solution.
DroidVPN is a VPN client, we are looking for a VPN Server on Android.
sodomandgemorrah said:
This is exactly what I am looking to do, but in a little different sort of way.
I want to leave my old phone hidden in the rafters connected to a wifi from a haircutting place next to where I work. Then tunnel to the old phone from my various other devices encrypting my data through their .IP. I all ready use their wifi for all my torrenting needs but think that not having to be there navigating on the phone would be nice
Click to expand...
Click to collapse
Any Luck with the attempt? I've also been thinking of the same thing.
We just released Servers Ultimate which in the latest update allows you to turn your Android device into a VPN Server
So now you can leave an (old) android device at home and connect to it when you're on the road. Have a look here:
http://forum.xda-developers.com/showthread.php?t=1829334
Let me know what you think of it!
Bump... Any other options on this?
Themuzz said:
We just released Servers Ultimate which in the latest update allows you to turn your Android device into a VPN Server
Click to expand...
Click to collapse
It's a bit expensive just for VPN server (and it has too many servers)... I would rather have one app that does only one thing...
i23098 said:
Bump... Any other options on this?
It's a bit expensive just for VPN server (and it has too many servers)... I would rather have one app that does only one thing...
Click to expand...
Click to collapse
Guys, and what about vpn server like on linux? As for me I'm trying to make vpn server available from mobile network, maybe with the help of some messengers (to send new conf file as host ip has been changed). Any ideas? Or, maybe someone tries this?
kupalinka said:
Guys, and what about vpn server like on linux? As for me I'm trying to make vpn server available from mobile network, maybe with the help of some messengers (to send new conf file as host ip has been changed). Any ideas? Or, maybe someone tries this?
Click to expand...
Click to collapse
I installed meefik's LinuxDeploy (found from Google Play) to get Linux running; and I do not have luck with setting up VPN server (OpenVpn setup from Jonah Argon) yet.
schwarznavy said:
Greetings! For some time, I've been wanting to setup a VPN server at home so I can "dial" in from Wi-Fi hotspots out in town and secure my traffic.
My first thought was to build a VM on my desktop and leave it running 24/7.
A low-powered solution might be turning my old Android phone into a VPN server.
Any thoughts on how to accomplish this? I have a Nexus One that is just laying around....
Matt
Click to expand...
Click to collapse
Here is the same. In my second apartment the internet site is not block and it wise to keep my old android phone in my second apartment and install VPN server. and installing VPN client in my home pc, office pc, and even other smartphones. In this way i will able to access all web sites. any idea how i can accomplish this.
One of idea i though would be small notebook that running windows and installing VPN server in it such as Sony Vaio VGN-P11Z/R
I turned a rooted Android phone into a VPN server by using the Linux Deploy app and UNIX tools "busy box app" then running CentOS on Linux Deploy. I installed SoftEther VPN Server on CentOS through SSH on the phone.
I wrote about it in a forum. If you google "Turn a flashed to verizon phone into vpn server" it will come up in Aspkin forum and you can see me work through it.
This way is 100% free and SoftEther will tunnel straight through a firewall using port 443 unlike any paid app so you can leave the phone hidden anywhere connected to WiFi and as long as you use SoftEther Client and the DNS host name to connect to the server. It wont work if you use a openVPN or L2TP/IPsec client without opening ports on the router of the wifi connection, or the server IP address (which would be a local ip if connected to wifi hidden somewhere).

VPN woes

Basically there's two things I'm trying to accomplish. The first thing is to be able to SAFELY access my pc when I'm not at home. The second is to be able to log onto my local network from the outside world and make it look as if the traffic originates from there.
At home on my local wifi I often access my PC using Remote Desktop. I'd like to safely be able to do the same thing from a phone or external PC. I'm under the impression that the best way to do this was with a VPN but the precise what and how eludes me. My best current guess is to setup a VPN Server on my wifi router but does that mean any generic VPN software I install on my phone can get through? I'm really just guessing but possibly this will accomplish both things I'm trying to do.
Additionally I could also setup a VPN Client on the wifi router which would provide VPN protection to any device logged onto my lan without having to install anything on every tablet in my household.
Added to this is that I've used Kaspersky antivirus for over 20 years on my pc's and VPN just became free with the package so I've used the 3 licenses I get on my PC and my and my wife's phones. Hopefully I can use my Kaspersky VPN to access the DDNS that I got free from ASUS to complete the circle.
It should be clear from this discussion that I'm grasping at straws, I've googled a bunch of confusing and potentially conflicting information along with everybody and his brother that wants to sell something VPN related.
I'm also posting this on the Windows 10 Help forum as here and there is where I get most of my technical advice.
Look inside here:
How to Build Your Own VPN (and Why You Might Want to)
Ever thought of creating a VPN from scratch but didn't know where to start? Get answers to all your questions in this comprehensive guide.
vpnoverview.com
As far as I know, there are many models of home router with built-in VPN server capabilities. Check your router's manual at first.
James_Watson said:
As far as I know, there are many models of home router with built-in VPN server capabilities. Check your router's manual at first.
Click to expand...
Click to collapse
I'm goimg forward on the basis that all I need to do what I want is the Router's built-in server, along with an Asus provided DDNS, to allow VPN connection from my outside devices and the Router's built-in VPN Client to give VPN protection to all devices within my local wifi. I bought the router with this capability in mind as well as speed improvements over my old router. It's the Asus RT-AC86U router and it "should" do the above as well as allow externally connected devices to act as if originating from my home system.
It may take me a bit to do this but I'll report back once I have an answer.
jwoegerbauer said:
Look inside here:
How to Build Your Own VPN (and Why You Might Want to)
Ever thought of creating a VPN from scratch but didn't know where to start? Get answers to all your questions in this comprehensive guide.
vpnoverview.com
Click to expand...
Click to collapse
Thanks for the response. I looked at a number of how to guides, the one I'm going forward with is how-to-easily-access-your-home-network-from-anywhere.
I have an issue with setting up the VPN Server Client on my router (Asus RT-AC86U) that I have a service call in with Asus for, so the VPN Client side is on hold for a bit.
I was able to successfully configure the VPN Server (at least the OpenVPN protocol section) and setup a DDNS. From what I read this should be sufficient to allow an external device to login to my home system but I've seen no guide that describes this final step.
Do I simply use Remote Desktop on the external device to logon to my PC through the DDNS while the VPN (in OpenVPN protocol in this case) is enabled?
That would mostly work but what I really would like would be for the external device appear to be on my local wifi and not on the local PC itself. How do I do that?
Can anyone point me in the correct direction?
I did just find another piece of information the may apply here. In one of the guides I read the following:
"save the OpenVPN configuration file which will be used by the remote device to access your router."
There was a client.ovpn file generated during the router's VPN Server setup. The above sentance implies that I need to somehow get the VPN software on the external device to use this file and then I'll be able to logon to my home system. Can anyone shed more light on this?
*** Update ***
I was able to setup the OpenVPN Server on my ASUS RT-AC86U router and it does allow me to safely access my home LAN from anywhere. I can login to my home router's user interface and use Remote Desktop to login to my PC. Also since the VPN changes my IP address to that of my home system everything works as it would if I was actually there.
The one thing I haven't been able to do is access my pc's shared drive.
Anyone have any clue how to fix that?
Finally I also tried to setup the VPN Client on the router to access the VPN Server. ASUS said you should be able to do that but it results in an IP conflict that their tech support hasn't yet solved.
The benefit of using the router's VPN client is that any device on my local wifi is automatically protected by a VPN without installing anything on the device. The point is somewhat moot since all each device needs is a free app and the config file created by the VPN Server.
I did look at setting up a VPN Server on my Win 10 PC, but it looked like too much work and too much chance of messing something up, to attempt.

Categories

Resources