VPN on Android - HTC Droid DNA

Just been wondering, cause I've tried it before but with no success, is it possible to create a virtual private network between your home computer/wlan to your android phone?
The main reason I would be interested in doing this is to possibly access my media collection on my home laptop via the HTC media player's ability to stream from a shared computer on the same wireless network, or to use splashtop2 vnc to access my actual computer from a remote location.
Has anyone tried this? With something like Hamachi ?
Sent from my HTC6435LVW using xda premium

x70xchallengerx said:
Just been wondering, cause I've tried it before but with no success, is it possible to create a virtual private network between your home computer/wlan to your android phone?
The main reason I would be interested in doing this is to possibly access my media collection on my home laptop via the HTC media player's ability to stream from a shared computer on the same wireless network, or to use splashtop2 vnc to access my actual computer from a remote location.
Has anyone tried this? With something like Hamachi ?
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
The Answer is YES...
I've had openVPN running on all of my android devices with no problem, I can access anything from my Network via VPN. If you need some help I can point you in the right direction.

I'd love some. Been trying to figure it out but been to busy to find the right research. Thx
Sent from my HTC6435LVW using Tapatalk 2

mcampos7 said:
The Answer is YES...
I've had openVPN running on all of my android devices with no problem, I can access anything from my Network via VPN. If you need some help I can point you in the right direction.
Click to expand...
Click to collapse
Wow thanks, I didn't think I was gonna get a reply to this thread haha!
I will set it up after classes and see how this works, I have no idea why I didn't just search the play store for vpn apps >.<
Sent from my HTC6435LVW using xda premium

mcampos7 said:
The Answer is YES...
I've had openVPN running on all of my android devices with no problem, I can access anything from my Network via VPN. If you need some help I can point you in the right direction.
Click to expand...
Click to collapse
How would I go about using OpenVPN with Hamachi? I could use "Private Tunnel" but it only allows 100mb with a free account :/

Add me, please, to the list of those who'd love your experience. My prior employer used a Cisco VPN client which I could never get working properly. Now, my needs are exactly those of the OPer. I have Win7 at home, on a PC running all the time, and I'd love to link my DNA.
So, any insight based on your experience would be great. Thanks!

OpenVPN Windows 7 Android Config
I've been coding for eight hours today, so I'll try to explain as much as possible tonight and will continue tomorrow if need be...
1. So obviously you need a static IP, if you don't have one yet set one up with no-ip or change-ip or whatever you prefer
2. Download and install this straight to C:\ directory.... trust me it is just easier this way:http://swupdate.openvpn.org/community/releases/openvpn-2.2.2-install.exe <--- This is an older version but I've found it to be most stable
3.Create a simple text file in the config folder of the OpenVPN server eg. C:\OpenVPN\config
and paste this into it:
## server.ovpn ##
port 1194 # This is the standard openVPN port, you may change it just make sure open it up in you firewall and forward the port
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.20.1.0 255.255.255.0 #If you use this IP, your host machine will take the virtual IP of 10.20.1.1
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 10.20.0.1" #change these to match your setup
push "dhcp-option WINS 10.20.0.1" #this too
keepalive 10 120
comp-lzo
max-clients 3 # The maximum number of concurrently connected clients we want to allow.
persist-key
persist-tun
status openvpn-status.log
verb 3
4.save that text file with an .opvn extension
Sorry guys I'm done for the night... I'll try to help you out some more tomorrow.

openvpn
require root

Related

[Q] Internet Access to Windows Media Player

Hi - Is anyone aware of an Android app that will allow you to access your Windows Media Player library over the internet?
I can access it in the house using 2player.. but what would be really cool would be able to access my media over the internet from a friends house, or even at work..
Or do I need to install a third party app on my PC at home too? (I'd rather not do that unless it's the only option... and if it is the only option.. which one is the best one to choose?)
Thanks.
you can use any app that supports DLNA can connect to Media Player
All the ones I've tried only work locally.. Ie. Within range of my home wifi network... I want one that will work from anywhere...?
Sent from my X10 using XDA and Swype.
Anyone??? surely I'm not the only one who wants this??
im_iceman said:
Anyone??? surely I'm not the only one who wants this??
Click to expand...
Click to collapse
I want that feature too, have you figured it out?
im_iceman said:
Hi - Is anyone aware of an Android app that will allow you to access your Windows Media Player library over the internet?
I can access it in the house using 2player.. but what would be really cool would be able to access my media over the internet from a friends house, or even at work..
Or do I need to install a third party app on my PC at home too? (I'd rather not do that unless it's the only option... and if it is the only option.. which one is the best one to choose?)
Thanks.
Click to expand...
Click to collapse
Yes, it is possible using a VPN (Virtual Private Network)
A VPN binds your home network and your XPERIA X10i into one single LAN (192.168.1.0/24)
This means any services available to you on your home LAN is available to you on your XPERIA X10i anywhere in the world as long as your phone has an Internet connection.
You could look at setting up a PPTP server in your home network as a first step, but it is the least secure.
An OpenVPN server would be better and more secure.
HOWEVER, it can become VERY complex if you've never done this before and things don't fall into place the first time.
A visit to SmallNetBuilder or a Windows PC forum could provide additional information.
And if you do embark on setting up PPTP, one piece of advise, don't forget Generic Routing Encapsulation (GRE) tunneling protocol
The following config setup just pulled randomly from the web may provide a basic starter to get PPTP server up and running on a Windows 7 PC.
How to Set Up PPTP VPN Server in Windows 7
However I'd suggest for best practice you should use a dedicated VPN Server/router to provide a VPN PPTP server, as it's always up and provides added benefits for security, given PPTP is not the best VPN solution.
PPTP client is built into the Android OS and can be found in the VPN settings.
A better solution is to use OpenVPN and OpenVPN on a rooted XPERIA X10i.
You need a tun.ko module in the ROM/build when using OpenVPN client on Android.

Openvpn

Hey guys I've got a problem with my open vpn connection. when I'm connected with the open vpn network I can browse the internet but the problem is, that my apps like what's app, Email client etc. won't connect. I van neither browse secured webpages..
I hope that somebody knows what the solution for the problem is.
thanks very much in advance !
Sent from my GT-I9100 using Tapatalk
Pratz852 said:
Hey guys I've got a problem with my open vpn connection. when I'm connected with the open vpn network I can browse the internet but the problem is, that my apps like what's app, Email client etc. won't connect. I van neither browse secured webpages..
I hope that somebody knows what the solution for the problem is.
thanks very much in advance !
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
I can only suggest as I am not able to test an OpenVPN connection:
Have you tried OpenVPN Installer and OpenVPN Settings apps (both from Friedrich Schäuffelhut) from the Market?
Maybe that apps can help you to install and configure your OpenVPN connection correctly.
Good luck and report back !
Hi,
thanks for the advice, but those are the programs I am currently using. I installed it with the openvpn installer. And to connect I have to use the settings app.
After I am connected I can browse the internet. But still can't use any apps like mentioned above..
Not getting an idea what the problem could be. Those apps somehow don't get the permission to use the internet or something..
Sent from my GT-I9100 using Tapatalk
Try using CatLog from the market. After installation run your E-Mail client and check for new mail (that does not work as you said). Look at the saved log file from CatLog to get some more information about what's wrong.
Although you say browsing works it might be a problem with the default route or a DNS problem. If you are not used to the console you can install LanDroid from the market. It will allow you to ping and trace route any host. This again might give you (and us ) more information about what is going wrong.
fxrb said:
Try using CatLog from the market. After installation run your E-Mail client and check for new mail (that does not work as you said). Look at the saved log file from CatLog to get some more information about what's wrong.
Although you say browsing works it might be a problem with the default route or a DNS problem. If you are not used to the console you can install LanDroid from the market. It will allow you to ping and trace route any host. This again might give you (and us ) more information about what is going wrong.
Click to expand...
Click to collapse
hey there thanks for this very informative post! I tried to download catlog, but the market says it is incompatible with my device... I downloaded a similar app. Didn't have much time to test it, but what I could read out of it in brief amount of time was, that while connecting to facebook there is a kind of xmpp error or something and mostly timeouts. There must be a kind of blockage somewhere... I'll try it again tomorrow and give your further information. I'll try out the other app, which you recommended too and let you know!
thank you loads for the support!
Sent from my GT-I9100 using Tapatalk

How can I get my ACE to access my NAS device?

Hello
I have just bought a Samsung Ace connected to the British 'Virgin Media' network.
At home I have a small network of two computers (Windows 7 Home premium) and an Iomega NAS device. One computer and the NAS device are wired to the router while one computer is wireless (Laptop).
I can also connect to my NAS via friends computers over the internet. Nothing exciting there as both Windows and Iomega make it quite idiot proof for me to achieve this.
My question is, can I connect my Samsung Ace to my network and share files with my Window's 7 computers and my NAS device?
Cheers
You can try to use some app for samba sharing, like this one https://market.android.com/details?id=lysesoft.andsmb and connect to your local NAS.
I used to have a NAS server based on FreeNAS and this app worked for me.
Also, try an FTP client if you prefer. I'm hoping to get my QNAP turbo NAS soon!
Sent from my GT-S5830 using Tapatalk
Try totalcommander for android.
From http://ghisler.com its a free app but not on the market atm.
Sent from my GT-S5830 using XDA App
FMAranda said:
You can try to use some app for samba sharing, like this one and connect to your local NAS.
I used to have a NAS server based on FreeNAS and this app worked for me.
Click to expand...
Click to collapse
Sorry to be a nusence, but I'm a bit of a thickie. I've used Samba before when connecting a Linux operating system to my Windows computer with some success because everything was done for me.
I would like to mention that my version of Galaxy Ace comes with an app called AllShare which gives me limited access to shared folders on both my NAS box and my other two computers. I do not input any information yet I can gain limited access to my data.
At the moment when I install and run Ambsmb I am presented with a lot of questions and I do not know where to find the information. To an experienced network administrator these questions are a no brainer but to me, I'm confused.
What makes it all the more harder is that my NAS runs its own version of Linux, which I have never so far been able to connect with when using a Linux distro such as Mint or Ubuntu.
The questions that I am asked are:
Host name
user name
password
domain
Port
WINS srv
Bdcast address
LMHosts
Any help or advice would be very much appreciated.
Cheers
What makes it all the more harder is that my NAS runs its own version of Linux, which I have never so far been able to connect with when using a Linux distro such as Mint or Ubuntu.
Click to expand...
Click to collapse
I'm using ubuntu, you need to know the NAS IP address (or router IP) then use it to connect to server (you must choose the windows shares option) ubuntu then asks for username and password automatically, and its about the same with AndSMB, fill in the IP address, username and password, that's all.
Dont forget smb kernel module on your ace. Afaik stock rom kernel doesnt contain smb module.
diditdr said:
Dont forget smb kernel module on your ace. Afaik stock rom kernel doesnt contain smb module.
Click to expand...
Click to collapse
smb or windows shares are working fine here on my ACE with stock 2.3.6 rom.

[Q] VPN

I'm trying to find a Vpn client or app so I can watch UK tv abroad. Anyone got any experience or advice on this sort of thing?
Cheers vinny
Vinny1967 said:
I'm trying to find a Vpn client or app so I can watch UK tv abroad. Anyone got any experience or advice on this sort of thing?
Cheers vinny
Click to expand...
Click to collapse
I do not know if you can purchase their service in your country, but take a look at Goldenfrog's VyprVPN for Android.
Cat McGowan said:
I do not know if you can purchase their service in your country, but take a look at Goldenfrog's VyprVPN for Android.
Click to expand...
Click to collapse
Thanks for the reply Cat. That's only for windows. I was actually looking for something for my tablet
Vinny1967 said:
Thanks for the reply Cat. That's only for windows. I was actually looking for something for my tablet
Click to expand...
Click to collapse
VyprVPN for Android is for tablets (and telephones) that are running the Android operating system.
By the way, Android 4.0.3 has a VPN client built-in. You set it up through Settings > Wireless & Networks > More... > VPN.
If you need help setting it up, just ask. I used to use a PPTP connection. Now I use a more secure L2TP/IPSec RSA certificate-based connection, which is required on Sony's tablet because it doesn't use L2TP/IPSec PSK (Pre-Shared Key) correctly.
I use BlackVPN provider, they have various servers for different applications in different countries.They also have a guide to setting it up on different devices, I then use the following apps to make it all work, you will need root as OpenVPN isn't officially supported by Android. It is the most secure and one of the fastest VPN protocols available also.
You need TUN.ko to install the TUN module.
Then you need the Open VPN Installer to install the app.
Then you need OpenVPN Settings to control which VPN server you want to use.
BTW OpenVPN kicks ass over PPTP and L2TP/IPSec. Here

[Q] DLNA sever help

Hi All,
Apologies in advance if this is the wrong place to post this question and/or it's already been asked.
I have an old phone (Nexus 1). I want to use it as a DLNA server so that I can store music and videos on this device and then view/play this content on other devices (For this example, the Archos 101 G9 512MB).
To setup the DLNA server on the Nexus 1 I installed the 'Servers Ultimate' app and setup a simple DLNA server. I have a SD card connected to the Nexus 1 which has a couple of videos on it. I start the DLNA server on the Nexus 1 and it runs without any problems.
On the Archos 101 G9 I open the stock 'Files' app, select 'Network', select 'Media server (UPnP)', refresh the list but no server are found.
I've tried searching for solutions on Google but have yet to find anything useful.
The plan is, once setup to run within my personal network, I will setup port forwarding on my router so that I can access this content when outside of my internal network (E.g. through 3G). Not so sure if this is possible as DLNA looks more like an automatic internal system rather than having options to specify the address of my DLNA server.
Any advice would be great.
Thanks,
Dan
Good evening.
These cases are always complex, as there are multiple variables.
Let's start with the easiest ones: are the devices connected to the same access point? If not, are they in the same lan? If they are, you can test and ran fing to see if the archos is able to "see" the nexus 1. Please post here after testing with fing.
Sent from my GT-I9100 using XDA Premium 4 mobile app
julle131 said:
Good evening.
These cases are always complex, as there are multiple variables.
Let's start with the easiest ones: are the devices connected to the same access point? If not, are they in the same lan? If they are, you can test and ran fing to see if the archos is able to "see" the nexus 1. Please post here after testing with fing.
Sent from my GT-I9100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for the quick response.
Both devices are connected to the same access point. My home network is just a single Wifi router. From the Archos I can see the Nexus 1 in Fing.
Also, Just installed the 'BubbleUPnP UPnP/DLNA' app on my Galaxy SIII to see if that can connect to the DLNA server hosted on the Nexus 1. In the 'setup network wizard' when I enter my server address as http://192.168.1.4:8086 the following is returned: The remote server could be joined but returned HTTP error code 404 (Not Found). Obviously this is indicating that there is something wrong with the configuration at the Nexus end rather than the SII or Archos. Any ideas?
Having doubts about Bubble app now...possibly this app only works when bubble is installed at both ends (On the player and on the server?) If you know that this is the case, do you know an alternative which will let me test a connection to the DLNA server from the SIII?
Finally, not sure if it works this way but if I go to the address (http://192.168.1.4:8086) in a browser on my laptop I get the following message: FORBIDDEN: No directory listing.
(Sorry - keep editing as trying to provide as much info as possible)
e9508686 said:
Thanks for the quick response.
Both devices are connected to the same access point. My home network is just a single Wifi router. From the Archos I can see the Nexus 1 in Fing.
Also, Just installed the 'BubbleUPnP UPnP/DLNA' app on my Galaxy SIII to see if that can connect to the DLNA server hosted on the Nexus 1. In the 'setup network wizard' when I enter my server address as http://192.168.1.4:8086 the following is returned: The remote server could be joined but returned HTTP error code 404 (Not Found). Obviously this is indicating that there is something wrong with the configuration at the Nexus end rather than the SII or Archos. Any ideas?
Having doubts about Bubble app now...possibly this app only works when bubble is installed at both ends (On the player and on the server?) If you know that this is the case, do you know an alternative which will let me test a connection to the DLNA server from the SIII?
Finally, not sure if it works this way but if I go to the address (http://192.168.1.4:8086) in a browser on my laptop I get the following message: FORBIDDEN: No directory listing.
(Sorry - keep editing as trying to provide as much info as possible)
Click to expand...
Click to collapse
That's a nice amount of info. Okay, no we have ruled out the chance of network not working between these devices.
Have you added media files to the DLNA server? Also that 404 error sounds like there are no files. You said you are using Servers Ultimate, so maybe you could try if CIFS/SMB works? I don't think 8086 is the default port for DLNA, which would explain why Archos does not find it. It looks in the default ports.
julle131 said:
That's a nice amount of info. Okay, no we have ruled out the chance of network not working between these devices.
Have you added media files to the DLNA server? Also that 404 error sounds like there are no files. You said you are using Servers Ultimate, so maybe you could try if CIFS/SMB works? I don't think 8086 is the default port for DLNA, which would explain why Archos does not find it. It looks in the default ports.
Click to expand...
Click to collapse
I've managed to see files (and play them) if I host the DLNA server on my SIII (Not using the 'Servers Ultimate' app). I ended up using 'Pixel DMS Media Server'. Seemed a bit flakey but need to do more testing. Not so sure about ports but that might make sense as Pixel Media Server uses UDP Port 1900 (Hard coded).
Annoying, if I installed exactly the same app on my Nexus, the device doesn't show on the Archos. I think I'm going to copy some more files to the SD card which currently resides in the Nexus and see what difference that makes.
I think as far as discussing this on the Archos forum goes, this is closed as the files are appearing on the Archos. Thanks for your help.
Dan
have you tried using something other than stock file app on archos?

Categories

Resources