OpenVPN streaming media services through HTC ONE M7 - One (M7) Q&A, Help & Troubleshooting

I've successfully installed LinxuonAndroid to host my website that connects to my VPN at work and is redirected to my T-Mobile phone. It really works great. One unexplained issue is that my phone is able to start services such as Yahoo sports, but when opening any media services, e.g., Pandora, Youtube, or Slacker it hangs and fails to start.
I've verified that the line in the OpenVPN scripts push 'redirect-gateway defl" is what prevents these services from starting, but from a SSH on the Android while connects, I'm successfully able to ping all the internal subnets and external traffic.
If this line is removed, it works fine, but then my website doesn't know where to route to the outside traffic.
The OpenVPN forum is a very low volume forum, so I'm hoping somewhere here can help me out.
Thanks.

next time here: http://forum.xda-developers.com/htc-one/help

techjohnny said:
I've successfully installed LinxuonAndroid to host my website that connects to my VPN at work and is redirected to my T-Mobile phone. It really works great. One unexplained issue is that my phone is able to start services such as Yahoo sports, but when opening any media services, e.g., Pandora, Youtube, or Slacker it hangs and fails to start.
I've verified that the line in the OpenVPN scripts push 'redirect-gateway defl" is what prevents these services from starting, but from a SSH on the Android while connects, I'm successfully able to ping all the internal subnets and external traffic.
If this line is removed, it works fine, but then my website doesn't know where to route to the outside traffic.
The OpenVPN forum is a very low volume forum, so I'm hoping somewhere here can help me out.
Thanks.
Click to expand...
Click to collapse
Solution:
Well by accident, changing the IPTables on the OpenVPN server to forward requests to port other than 80 on the Android device seem to have fixed the problem. My Iptables have a NAT rule forwarding port 7878 to port 80 to the LinuxonAndroid device. The firewall, our Windows 2012 machine, forward port 7878 to port 7878 to the OpenVPN server.
So, while connected to the VPN, there's full connectivity on Android device and all external traffic, i.e., websites, are successfully accessed from outside our network.

Related

WM6: Ok, VPN: Ok, Remote Desktop: NOT Ok - HELP

Hello all,
I have been successful in loading the WM6 ROM: works great! I have been successful at using the phone for Bluetooth DUN. I have been successfull at setting up a VPN connection to my place of employment: I can look at the RRAS server GUI and see that I have established a viable connection.
What I have NOT been successful at is getting Remote Desktop to work. RD is one of the reasons I upgraded to this ROM. Has any one been able to get their Windows desktop on their Treo? If so, how did you do it?
I can't seem to find any pertinent information on how to make this work so anything you can tell me would be a great help.
Cheers,
idyllic
http://forum.xda-developers.com/showthread.php?p=1453117#post1453117
http://forum.xda-developers.com/showthread.php?p=1451613#post1451613
joannaex said:
http://forum.xda-developers.com/showthread.php?p=1453117#post1453117
http://forum.xda-developers.com/showthread.php?p=1451613#post1451613
Click to expand...
Click to collapse
Joannaex,
thank you for the forum pointers. Alas, they did not help. I did try to load the cab file from one of the threads, but it loaded the same version of Remote Desktop Mobile that I already had. I still get the same errors encountered with the previous version. Maybe this behavior is due to the "unofficial" ROM not being fully functional in some way? I don't know. It would be interesting to hear from someone that actually got this to work.
Cheers
idyllic
PS: in occurs to me that this might be a routing issue in the 10.x.x.x/192.x.x.x space. I could verify this if there were a command prompt where I could run things like ipconfig, tracert, netstat, etc. Or a log file that could be viewed. Just wishful thoughts I suppose
PPS: Just found two great progs, one called VXIPCONFIG which give you the info you would get in you did an ipconfig /all. The other is called VXUTIL which you can do PING, TRACERT, WHOIS and a lot more. The utilities are available from http://www.cam.com/windowdsce.html.
I have been able to connect to remote desktop. What has been successful for me has been to already initiate my 3G connection then connect using remote desktop. It doesn't seem to be able to start up the connection itself.
andokai said:
I have been able to connect to remote desktop. What has been successful for me has been to already initiate my 3G connection then connect using remote desktop. It doesn't seem to be able to start up the connection itself.
Click to expand...
Click to collapse
andokia,
I am doing the exact same thing: starting my 3G connection, then my VPN connection, and lastly Remote Desktop Mobile. The RDN ALWAYS times out with one of these two errors: "Connection Status - Cannot Connect. Likely reasons are: 1. Specified computer name or IP does not exist, 2. A network error occurred while establishing a connection." So, I'm kind of at a loss here as the troubleshooting tools available are not great. Thank you for the response!
Cheers,
idyllic
Hi idyllic,
Can you access a remote desktop when a VPN session isn't active? I have used the two separately without problems but haven't tried them together.
andokai said:
Hi idyllic,
Can you access a remote desktop when a VPN session isn't active? I have used the two separately without problems but haven't tried them together.
Click to expand...
Click to collapse
andokia,
no, I cannot access any system. I have tried my home system (firewalls turned off and on). I have tried my work systems (VPN on and off). Nothing seems to work. It's really frustrating to have a tool that you know can help you, but it doesn't work: aaaaaaaaaaaahhhhhhhhhhhhhhhhhhhhhhhh!
Cheers,
idyllic
I'm assuming you're trying to use a local address because you are connecting with vpn first. Did you put the local address in the exceptions list? If not the vpn connection will disconnect anytime you try to use an address that is not in the exceptions list.
Exceptions list: start\settings\connections\connections\advanced\exceptions
then add the local url
Hope this helps. Used to be the problem I had when trying to use VPN.
chris44gw said:
I'm assuming you're trying to use a local address because you are connecting with vpn first. Did you put the local address in the exceptions list? If not the vpn connection will disconnect anytime you try to use an address that is not in the exceptions list.
Exceptions list: start\settings\connections\connections\advanced\exceptions
then add the local url
Hope this helps. Used to be the problem I had when trying to use VPN.
Click to expand...
Click to collapse
chris44gw,
yes, I'm trying to connect to a local addres, but that address isn't a URL. The address I'm entering is an IP address of the machine for which I want to get a desktop. Now maybe I'm wrong, but my understanding is that I can use Remote Desktop Mobile to get, say, a desktop/console of one of my servers.
I've been able to surf the web on the phone, I've been able to use the phone as a Bluetooth modem, I've been able to connect to each of my companies VPN servers. Still now desktop. Whether I enter a fully qualified domain name or an IP address it never works.
Now, I have a little more information. If I just connect to the AT&T 3G network I can do a traceroute to the VPN servers. If I then connect to the VPN (PPTP connection verfied and active) I CANNOT ping anything on the corp. net. It has to be a routing issue I'm thinking. It seems that it needs to be fixed on the phone side, but I can't seem to figure out where to do this.
Anyway, I appreciate the pointer about the URL exception list.
Cheers,
idyllic
That's what mine looks like. Once I'm connected vpn wise into my 2003 server I can RDP into it and another XP machine on the network through the local IP. Only thing I can think of is if you have activesync connecting to an exchange server. It might disconnect the vpn. I think you've said you're verifying the vpn connections so I might look into the firewall on the computer or make sure RDP is on for the computer (although you've probably done that). Good luck though.
chris44gw said:
That's what mine looks like. Once I'm connected vpn wise into my 2003 server I can RDP into it and another XP machine on the network through the local IP. Only thing I can think of is if you have activesync connecting to an exchange server. It might disconnect the vpn. I think you've said you're verifying the vpn connections so I might look into the firewall on the computer or make sure RDP is on for the computer (although you've probably done that). Good luck though.
Click to expand...
Click to collapse
chris44gw,
thank you for the screen-shot. I gave this a try, but no luck. We don't use exchange servers at work and I've verified that no active sync is active during the connect process. Having downloaded a couple of tools to help troubleshoot, I've noticed that I CANNOT ping anything on the internal network: this after verify that the VPN connection active and viable. I have also verified that each system that I am connecting to has RDP turned on. I guess I'll just keep experimenting. I just can't help but think that there is ONE LITTLE THING that is keeping this from working.
Cheers,
idyllic
PS: What encryption level does the Treo 750 VPN app use? 56bit? 128?
PPS: Upon further testing... when I connect to the RRAS server (and connecting to the RRAS server has NEVER been the problem) on the West Coast (Windows 2000 Server std. SP4) I cannot ping the "inside" network. When I connect to the East coast RRAS server (Windows Server 2003 SP2) I CAN ping "inside" network. In either case I still cannot get a remote desktop.
Have the same problem on Diamond
Hi all,
After upgrading to wm6.1 on O2 Diamond unable connect to Remote Desktop.
When manually connected to Internet it works perfect, but from RD Client there is always an error (dial up or Proxy settings). All other programmes can always correctly initiate internet connection via GPRS/UMTS. Via Active sync RD works always.
MFG
Sorry, never got it to work. Call me a traitor, but I now have an iPhone and everything works the way I expect it... with two major exceptions: 1. no cut-and-paste, 2. can't be used as a tethered modem without jail-breaking the phone (which I'm not willing to do).
--idyllic
Similar problem HTC Touch HD
Hi all, sorry in advance if my problem ends up being because I've missed something basic; I'm trying to setup RDC on my HTC Touch HD with no luck. Computer name is right, password is right, IP is right. Fail message:
"connection status. cannot connect. likely reasons are: 1. specified computer name or ip does not exist. 2. A network error occurred while establishing the connection."
I'm connected to my WiFi network which also has the machine i'm trying to connect to on it. I've also tried when out of network range, connecting via 3G/HSDPA. Steps I've taken:
-Enabled remote desktop in system properties on target machine. Haven't added any remote users as it already allows me (admin on target machine) and I'm using those login details to access.
-Allowed RD in the packet settings of Kaspersky antivirus, using the address as the ip of my mobile, found by going to whatsmyip.com, and name as the name I've set on the device.
-Probably unrelatedly, I've also allowed the HTC to access the wifi through the MAC address access list
I can connect via a standard windows machine on the same router (which just needs the computer name, not the IP). Have found this useful as I had the details around the wrong way, but even now it's not working. Based on the tips in the link above, I'm under the impression that I should set things up thus:
Computer: the ip address of target machine
User name: EITHER my username OR MACHINENAME/User Name, e.g. John Smith OR JOHNSPC\John Smith
Password: pw
Domain: either machinename or blank.
Anyone know if this is right / which of the options for username and domain is right?
Cheers
Dez

VPN issues on 6.1 - Can connect but no resource access.

I am trying to establish a VPN connection to my home servers.
The device is connecting to a Microsoft RRAS server.
I have been successful in establishing a VPN connection both over PPTP and L2TP (using a pre-shared key) to my server.
I know that it is successful, because I use VxTools and check out my IP info. I am also able to ping the RRAS server and other servers on my internal network successfully. I CAN use Windows Mobile desktop over the VPN by both IP and local name (e.g. SERVER01). So I am 100% positive a VPN is established and that traffic flows over it.
The problem lies in when I actually try to do anything else within the VPN.
If I try to map a drive using either Resco or the HTC network plugin, I am unable to browse to any machines. I am also not able to type the names in directly to connect. In addition if I use PIE to access a webpage internally it tells me it can't connect.
I try by FQDN and by IP. I have set up exceptions to my internal FQDN in the network settings...nothing seems to work.
But, there is no point in having the VPN if I can't actually access any resources!
any ideas?
thanks
p.s. This has been tried on both the stock 6.1 AT&T and HTC ROMS following a clean flash.
just curious if you have found a solution. My RDP will not even connect over the VPN, i think this is bescause I have a newer version of RDP. But i can ping across the vpn just fine. from internal Machines and to them. This is annoying.
I have 300+ GB of music I want to listen to over this thing.

Third Party Programs on Kaiser Unable to Connect to Servers

Hopefully someone can give me some advice on this issue.
I have Windows Mobile 6.0 for my HTC TYTN II.
I have no problem accessing the internet through my phone connection or my wifi. Most programs that connect to the internet i.e. youtubeplay, opera, coreplayer, all work perfectly.
However, certain programs that I have that connect to a server i.e., zsIRC and Real Dice Poker, are unable to connect.
Not too long ago, I had no issue connecting with these programs. But suddenly, they cannot establish a connection.
Any solutions or possible words of wisdom? Thanks.
That sounds like a proxy problem;
Start>Settings>Connections>Tasks turn off proxies.
Hi WillardZ,
I can confirm that I have no proxies turned on in the connections section.
Is it possible that this information can be stored elsewhere?
open internet explorer and pull up a site (making sure the phone gets a data connection) leave PIE open and then try your IRC client (or whatever else).
Hi Chumley,
This still didn't work. I got the error message in the IRC client "unable to connect (10061)".
Is there a possibility that the phone has a firewall active somewhere?
IS it just the IRC app or others as well? Try Fring
It's any app that requires connection to a server i.e. IRC or multiplayer online games.

reverse tethering

Dears,
I just finished to setup my laptop to be an AccessPoint for my nexus.
I did this creating a new ad-hoc wireless connection.
It works! ...for browsing websites
does not work for market or app web connection...
I configured proxy settings to enable websites browsing.
If I try change proxy settings on my phone, obviously websites browsing stops.
Note I'm inside an office network now and I cannot change or control about network setups.
any idea why android market does not work with my setup?
does market need some "special ports" opened?
help me please....
Just download connectify. It's a program that makes your computer a WiFi hotspot. I use it to get internet on my x 10, and it works flawlessly
-------------------------------------
Sent via the XDA Tapatalk App
eh......
I already tried... bit my network card is not supported by connectify...
The same with VirtualRouter.
The only way I has some success is as described before (ad-hoc network).
Please help me with that market issue...
Could it be that it's blocked by your company? Like can you go to youtube on your pc?
Like i understand you are using proxy to connect the net so http is allowd and all the others are closed.
correct: proxy is only working for http access.
I have troubles also with google sync, gmail, youtube, market etc...
I'm only able to surf the web via browser.
Note that wih my notebook I have access to all youtube... so cannot understand why it works whit notebook but does not work with nexusOne...
maybe notebook and nexus use different protocols or services that are closed by the proxy.
Any idea to make my ad-hoc network fully open?
I'm having trouble getting connectify to work... it loads up and runs fine on my Win7 x64 laptop, but when I try to connect with the N1 it appears to be eternally stuck at the "Obtaining IP Address" stage before it finally times out and the network state is reported as "Unsuccessful". I've tried both pulling the IP from DHCP and manually specifying a static IP address on the correct network, and I have attempted running both Android 2.1 and 2.2.
Even when specifying a static IP, I still get the "Obtaining address..." status before it fails out.
Any thoughts?
for me too: both with ad-hoc connection, Connectify (@home) or VirtualRouter (@home) I have same issue than you.
Sometimes n1 connects the wireless network with no problems, other times it dont connect the network... Dont know the reason. Only I saw that if you delete the ad-hoc network and create a new one it works... It's boring, I know... but works..
also I saw that @home connecting in same mode than in office I was able to navigate market, youtube and all other programs that need an internet connection .
This to confirm that the problem I'm having @office is caused by some LAN restrictions (filters, firewalls and something like this)
Cool, I'll give that a go when I get off work I suppose. I've only got about another week or so here in Afghanistan, but while I'm here the only accessible internet is a wifi access point that passes through a fairly restrictive firewall/proxy before hitting the satellite internet. I'm able to bypass the firewall and proxy if I use an ethernet connection on my laptop (luck of the draw: my room in the tent is the one with all the networking gear ), and was hoping I could use this Connectify or VirtualRouter business to then extend that internet offering to my N1. So far, no luck. Maybe I'll fight with it some more tonight and get somewhere with it.
Off-topic: How's Padova this time of year? I spent about three months up in Aviano back at the end of last summer and fall... absolutely gorgeous country.
Maybe is useful for you to knwo ho I'm able to surf web using browser on my N1 (using win7).
3 modes:
- ad-hoc network (pc-to-n1) directly from network control center of win7
- connectify (using a virtual access point)
- virtual router (same as connectify)
@ home: LAN without filters or restrictions. I'm able to surf web, use youtube player, market etc.
@ work: LAN with filters and restrictions. I'm able to surf web only.
These are my tests. I hope you will have more luck than me.
OT: Padova is great in this period. Weather is hot (25-28°), summer is starting. Unfortunatly in these days we have some rain but our "sunny season" is already started.
I know Aviano, there's a US militay base. Are you a soldier? I'm a fan of the "soldiers world" (I played for a long time a free online game called "America's Army" )
Sorry for OT
_PeTiT_ said:
Maybe is useful for you to knwo ho I'm able to surf web using browser on my N1 (using win7).
3 modes:
- ad-hoc network (pc-to-n1) directly from network control center of win7
- connectify (using a virtual access point)
- virtual router (same as connectify)
@ home: LAN without filters or restrictions. I'm able to surf web, use youtube player, market etc.
@ work: LAN with filters and restrictions. I'm able to surf web only.
These are my tests. I hope you will have more luck than me.
OT: Padova is great in this period. Weather is hot (25-28°), summer is starting. Unfortunatly in these days we have some rain but our "sunny season" is already started.
I know Aviano, there's a US militay base. Are you a soldier? I'm a fan of the "soldiers world" (I played for a long time a free online game called "America's Army" )
Sorry for OT
Click to expand...
Click to collapse
Thanks for the info
And no, I'm not a soldier, but I work as a civilian geek/technician/engineer for a US defense contractor that builds air/battlespace control systems - like a glorified Air Traffic Control. I get sent for a few months at a time to different locations that we have our systems to support the soldiers and airmen who use them.
Needless to say, Aviano has been the best assignment yet
_PeTiT_ said:
Maybe is useful for you to knwo ho I'm able to surf web using browser on my N1 (using win7).
3 modes:
- ad-hoc network (pc-to-n1) directly from network control center of win7
- connectify (using a virtual access point)
- virtual router (same as connectify)
@ home: LAN without filters or restrictions. I'm able to surf web, use youtube player, market etc.
@ work: LAN with filters and restrictions. I'm able to surf web only.
These are my tests. I hope you will have more luck than me.
Click to expand...
Click to collapse
If you can use everything @home this isn't a fault of your setup. everything gets blocked by the proxy server. if you really want it you have to talk with the administrator, i really doubt that he will do changes to please you.
for now i think it's impossible to use them.
ok... thanks for the bad news...
codesplice said:
I'm having trouble getting connectify to work... it loads up and runs fine on my Win7 x64 laptop, but when I try to connect with the N1 it appears to be eternally stuck at the "Obtaining IP Address" stage before it finally times out and the network state is reported as "Unsuccessful". I've tried both pulling the IP from DHCP and manually specifying a static IP address on the correct network, and I have attempted running both Android 2.1 and 2.2.
Even when specifying a static IP, I still get the "Obtaining address..." status before it fails out.
Any thoughts?
Click to expand...
Click to collapse
I have the same problem (ok, with a Desire). No IP obtained. OS is Win7/64 too.
Did you have any success in the meantime?
I think the market actually uses https:// ... is that set up as well? Even if it is, the phone might reject it because of redirecting certificate issues...
You're probably better off setting up a VPN on your home machine, or some server outside the network. Then VPN to that on your phone for open access (Of course u can buy vpn accounts from various companies too.)
What kind of proxy is it? Socks? http? remember most don't support UDP, and may only support port http or https.
How do you get N1 to see ad-hoc wifi? I tried but wasn't able to using stock froyo...
Heeeeeeeeeelp please!!!
i have installed connectify and the virtual router on my win7 laptop.
i can connect to the new wireless networks created by these softwares but I can't browse the web (no data is received in my Nexus one)
can you please help me?
I have stock froyo FRF91 on my Nexus one
reverse tether
nokia 5000 how to reverse tethering
connectify does not transmit internet signal from PC to CP

Any way to make STOCK chromecast work offline?

I'm using my chromecast to watch files stored on the same network. But when I lose connection to to my ISP, chromecast gets stuck trying to talk to the internet and is useless for watching things from Plex. I know Plex still works, because I can watch it on my Ouya.
So, the question is, are there any tricks out there to make a STOCK chromecast think it is able to talk to the internet? Can I run a local server and point chromecast to my local server when it attempts to see if it online?
Nope, It needs internet to load up the receiver apps it uses to play...
Technically you should be able to continue playing locally once that is loaded without Internet access but the device may now sense the loss and unload apps to report the loss of connection.
and you can't spoof the whitelist server because it uses HTTPS and Chromecast only has the certificates for the Google server.
Adding a certificate for your own local server requires root.

Categories

Resources