achau123 / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

OpenVPN browser tunneling #98

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I want use my browser to connect on my corporate intranet via VPN connection, 
but I'm not able to do it.

Someone can help me?

Some information:
I tried 2 way to confgure OpenVPN:

1) I've configured OpenVPN via openvpn-settings apps (using pre-created cert 
files located on <rootsdcard>/openvpn ).
The .ovpn config files sound like

port yyyy
dev tun
# dev-node ovpn
proto tcp-client
remote xxx1.xxxx.it yyyy
remote xxx2.xxxx.it yyyy
remote xxx3.xxxx.it jjj
remote xxx4.xxxx.it jjj
ping 30

persist-tun
persist-key

tls-client
ca xxx.ca.crt
cert xxx.aaaa.bbbb.crt
key xxx.aaaa.bbbb.key

ns-cert-type server
comp-lzo
pull
verb 5

I connect to VPN with no problems, and I can use for example ssh to connect on 
my corporate linux server.

2) I've created a VPN from Menu->Settings-> Wireless & network-> VPN settings 
-> add VPN-> add VPN OpenVPN

and set parameters according with previous .ovpn config file
I connect also to VPN with no problems, and I can use for example ssh to 
connect on my corporate linux server.

On both cases I'm not able to browse intranet. So I checked the IP address I go 
out with, pointing to h**p://m.showip.net/, and It display my provider IP, not 
assigned VPN IP!
It can be that VPN don't tunnel all traffic? Maybe I need to change the default 
gateway?
I'm confused

My O.S. is Android 2.3.7
kernel 2.6.35.14-nFinity
ROM Cyanogenmod 7.1.0.1 stable
Phone HTC Wildfire (Buzz) 

Original issue reported on code.google.com by robeg...@gmail.com on 10 Nov 2011 at 11:38

GoogleCodeExporter commented 8 years ago

Original comment by friedrich.schaeuffelhut on 29 Dec 2011 at 12:34

GoogleCodeExporter commented 8 years ago
Not an issue of OpenVPN Client, you just need to add "redirect-gateway" to your 
config and everything will be tunneled :-)

Original comment by cyberde on 8 Jan 2012 at 11:34

GoogleCodeExporter commented 8 years ago

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 9:13

GoogleCodeExporter commented 8 years ago
I havve the same, but I use  the "redirect-gateway" option.

With Terminal emularor, traceroute give me the right path ( all traffic use the 
VPN channel), but with a browser (opera, stock, chrome) it's is unable to 
browse internet...

Any idea ?

Samsung GT-i9100, Cyanogen 9-20120411 nightly build, Kernel 3.0.27

Original comment by william....@gmail.com on 16 Apr 2012 at 6:53