SSH Tunnel...is anyone using this app? - AT&T Samsung Galaxy S II Skyrocket SGH-I727

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.

Related

How to get around wifi host's restrictions?

I'm using my transformer at school and the school is providing wifi to its students. But there are apparently some odd restrictions associated with it. No app of mine is allowed to access the internet with the exception of browsers and also I'm not allowed to download anything (it just says "download unsuccesful" no matter what I download or from where). I've tried to look for a reson for this and I found out that it might be some firewall settings on the computer that is hosting the wifi, I also asked the school's IT guy and he said that it's likely to be the reason. But the thing is that all the people with computers and iPhones can use applications that use the internet with no problems at all. This makes me think that the wifi host regards me as dangerous or suspicious for some reason, and because it does allow computers and iPhones to use apps that access the internet and are allowed to download files, I think that it might be fixable. Perhaps there are some particular settings that make the wifi host's security to regard me as dangerous and doesn't allow my apps to go to the internet. So what do I have to do for my apps to be able to access the internet and to be able to download files? I really want to know this, because many of the useful apps require internet and by not using them I'm not taking the full advantage of the device. I should also mention that my tablet is running 3.2.1.
But have you tried asking them about letting you use your "netbook" on their netbook. What's the worst they can do? say NO TABLETS ALLOWED? Because unless they know your exact MAC address, they probably won't be able to do anything about it. In my old school, I brought up that I would like to connect my windows mobile device to their network (when I was using it as an mp3 player) and they said sure (they had terrible firewalls which blocked most every site that was fun). Sometimes, the best kind of hackery is the social kind.
Dyskmaster said:
But have you tried asking them about letting you use your "netbook" on their netbook.
Click to expand...
Click to collapse
What do you mean by that?
norsul said:
What do you mean by that?
Click to expand...
Click to collapse
I guess his telling you to ask for permission to use your netbook on their network.
Well first of all I'm using a tablet running android 3.2.1. And I'm kind of confused by your use of the word network, because I said that I can use the school's wifi network for students, but only to some extent, meaning that none of my apps with the exception of the browser are not allowed to access the internet e. g. android market, google translate don't work, they just say that they are unable to connect to the network or something similar. Also downloading any file from anywhere is not allowed, it says download unsuccessful. But iPhone user's apps work perfectly fine. From this I concluded that there must be something about my tablet that makes their security think my apps are dangerous and therefore blocks them, and that because there is no such problem on iOS, I thought that the might be something wrong with my end, and that it it fixable. And my question was what do I need to do to fiz this? I hope that clarifies my point.
statsminister said:
I guess his telling you to ask for permission to use your netbook on their network.
Click to expand...
Click to collapse
yes, thanks, I was kinda in a hurry when I typed that
Ask your school's IT department. Network configurations can be quite complex, and without knowledge of how or what they're blocking- it's hard for us to help. IT would know the issue better, or at least give the explanation as to why it isn't working. For instance, last year at my college nothing but computers were allowed to connect to the wifi. Such control can be done on the network side, and it may not be your tablet's fault.
Have you any friends with an Android device, or better yet android tablet?
I did ask the IT guy and he said that he has no control over the security settings, because it's a network across all of the schools in the city, not just the school in which I am.
Hey, I've tried using dropbox at school and then it says "cache access denied", maybe that can somehow clarify my problem.
settings
Have you set your settings/applications to allow unknown sources (ie is it ticked).
Colin
colint3 said:
Have you set your settings/applications to allow unknown sources (ie is it ticked).
Colin
Click to expand...
Click to collapse
That's only to allow installing apps not from the Market (sideloading). It has nothing to do with an app working or not.
Haven't you ever heard of proxy and content filtering?
Schools often set up proxies to restrict certain sites and content from working on their networks. They do it for a variety of reason, including bandwidth conservation, content filtering, network security, etc.
More than likely, they have blocked anything that they deem unnecessary. That means that probably only port 80 is allowed (the http port), possibly a few others for https, pop3 and imap for email, etc.
However, if you're a more advanced user, you can probably bypass right past all of this stuff by setting up your own proxy, or using encapsulation (like nstx or icmptx) to bypass their proxy by encapsulating other services inside DNS or ICMP traffic which are usually allowed to bypass the proxy at school. Like I said though, these are advanced techniques and require you to research and set it up yourself.
a.mcdear said:
Haven't you ever heard of proxy and content filtering?
Schools often set up proxies to restrict certain sites and content from working on their networks. They do it for a variety of reason, including bandwidth conservation, content filtering, network security, etc.
More than likely, they have blocked anything that they deem unnecessary. That means that probably only port 80 is allowed (the http port), possibly a few others for https, pop3 and imap for email, etc.
However, if you're a more advanced user, you can probably bypass right past all of this stuff by setting up your own proxy, or using encapsulation (like nstx or icmptx) to bypass their proxy by encapsulating other services inside DNS or ICMP traffic which are usually allowed to bypass the proxy at school. Like I said though, these are advanced techniques and require you to research and set it up yourself.
Click to expand...
Click to collapse
No, I do not no anything about proxy or content filtering, but I remember when I was connecting to the wifi network of the school I was asked to configure the proxy settings by putting some ip address ( I presume that it is an ip adress because it looked like one) and writing 8080 in the port field. If I didn't configure it like that, the internet would simply not work. Could you please tell me where I could educate myself about bypassing proxies or is i a matter that would require a very long time to learn and a lot of prerequisite knowledge?
And by the way, are you sure that this could be done on a tablet? All of that fiddling around seems to require a considerable degree of control which android may lack, or would rooting give me that control?
norsul said:
No, I do not no anything about proxy or content filtering, but I remember when I was connecting to the wifi network of the school I was asked to configure the proxy settings by putting some ip address ( I presume that it is an ip adress because it looked like one) and writing 8080 in the port field. If I didn't configure it like that, the internet would simply not work. Could you please tell me where I could educate myself about bypassing proxies or is i a matter that would require a very long time to learn and a lot of prerequisite knowledge?
And by the way, are you sure that this could be done on a tablet? All of that fiddling around seems to require a considerable degree of control which android may lack, or would rooting give me that control?
Click to expand...
Click to collapse
OK yeah you are going through a proxy then. The good news is, that because you have to configure it manually, they probably aren't using transparent proxy which can make it easier to bypass.
Getting nstx or icmptx working natively on Android should be possible in theory as both are lightweight and designed to work in Linux... perhaps it can be made into a module that can be activated/deactivated with a shell script, or added to a custom kernel.. obviously this would require a rooted tablet to accomplish.
The other required part of the equation is a computer accessible from the internet, which you can set up install a DNS server and nstx on.
If you manage to get it all working correctly, set your home IP address as your proxy instead of your schools proxy, and you should be able to get through. It should also work to let you access the web for free at places like Starbucks or at hotels where the web is normally routed to a site where you have to pay for web access.
Good luck!
a.mcdear said:
OK yeah you are going through a proxy then. The good news is, that because you have to configure it manually, they probably aren't using transparent proxy which can make it easier to bypass.
Getting nstx or icmptx working natively on Android should be possible in theory as both are lightweight and designed to work in Linux... perhaps it can be made into a module that can be activated/deactivated with a shell script, or added to a custom kernel.. obviously this would require a rooted tablet to accomplish.
The other required part of the equation is a computer accessible from the internet, which you can set up install a DNS server and nstx on.
If you manage to get it all working correctly, set your home IP address as your proxy instead of your schools proxy, and you should be able to get through. It should also work to let you access the web for free at places like Starbucks or at hotels where the web is normally routed to a site where you have to pay for web access.
Good luck!
Click to expand...
Click to collapse
That sounds awesome maybe you could make the app id buy it
I found two apps on the android market : proxydroid and ssh tunnel, do you think they would help me to bypass the school's proxy?
And by the way, how legal is this business? I mean I doubt that the school would send be to jail for using google translate but I'm still curious.
Legal issues are a potential problem, but its doubtful it would ever be a problem at school. Setting this up on your tablet certainly isn't illegal in itself, but if you're stealing wifi that you would otherwise have to pay for, you CAN get yourself in quite a bit of trouble if you get caught.
a.mcdear said:
Legal issues are a potential problem, but its doubtful it would ever be a problem at school. Setting this up on your tablet certainly isn't illegal in itself, but if you're stealing wifi that you would otherwise have to pay for, you CAN get yourself in quite a bit of trouble if you get caught.
Click to expand...
Click to collapse
Ok thanks, wifi network in the school is free for all students so I should be ok. But what about those apps I mentioned before?
And how would I protect myself from geting caught and what is the likelyhood of me getting caught? Can they immediately notice it if someone's trying to bypass their firewall or not? I should point out that the it manager in our school knows quite little about the sexurity system or ao he told me when I asked him whether my problem is somehow connected to their security settings, but the network is not pwned by the school, it's owned by the city and it is present in many schools beside mine, so I think that they might take their security seriously. So basically what I am trying to say is that if I investigate this matter, come there and bypass the proxy so that the youtube app works, is it likely that I am going to get caught, and if yes then what are the ways of minimising the risk (please bear in mind that I have not experience in this)? I'm asking this because I think it's not a very good idea to just walk in and hack the network without any experience and expect that there is no possibility of getting caught.
No neither of those apps are really the solution to your problem. There isn't currently an app for Android that will set up encapsulation like I'm talking about.
And yes, your IT manager at school "might" be able to catch you, but only if he's specifically looking for it. What this basically does is encapsulate your regular IP traffic inside DNS packets (or pings for the icmptx method), which are generally allowed to pass through firewalls and content filters. Basically, it is detectable if your network administrator is looking in the right place and knows his stuff. There would either look like a constant stream of DNS requests from a particular IP on the school network, or a constrant stream of ICMP traffic (pings) being sent out. However both ICMP and DNS are normal for any network, so its also equally possible that the administrator never notices that anything is wrong at all...
Some more sophisticated networks may employ transparent DNS or transparent proxy, which would make these efforts much harder. Transparent proxy is able to intercept any traffic and force it through the proxy at school, while transparent DNS is able to intercept DNS traffic and force it to use a specific DNS server regardless of settings on your tablet.
Like I said in the beginning though, these are really advanced networking tricks that certainly aren't easy to set up, even when all the components are readily available.. its possible they haven't even been attempted yet on an Android device. That said, it shouldn't be difficult to port either icmptx or nstx over to Android for somebody with the requisite programming skills.

'SSHTunnel' App + WiFi Tethering + iPad

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

[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