Post Reply

OpenVPN streaming media services through HTC ONE M7

13th June 2014, 07:37 PM   |  #1  
OP Member
Thanks Meter: 1
 
81 posts
Join Date:Joined: Aug 2008
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.
13th June 2014, 07:54 PM   |  #2  
gagp2p's Avatar
Senior Member
Flag Porto Alegre
Thanks Meter: 87
 
287 posts
Join Date:Joined: Dec 2013
More
next time here: http://forum.xda-developers.com/htc-one/help
18th June 2014, 05:18 PM   |  #3  
OP Member
Thanks Meter: 1
 
81 posts
Join Date:Joined: Aug 2008
Quote:
Originally Posted by techjohnny

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.

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.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes