OpenVPN and Andriod Mobiles
-
Dears,
i have configured the OpenVPN Server Successfully and i can connect from anywhere to my Network using the OpenVPN Credentials , the problem is related to connecting through OpenVPN Client by Andriod Mobiles as after connecting i got disconnected from the internet and just i can connect to my VPN Resources, Although i have commented the option " push "redirect-gateway def1" .
connecting from PC or laptop can access internet normally.
and the below my server.conf in the VPN Server :port 1194 proto udp dev tun #Certificate Configuration #ca certificate ca /etc/openvpn/keys/ca.crt #Server Certificate cert /etc/openvpn/keys/server.crt #Server Key and keep this is secret key /etc/openvpn/keys/server.key #See the size a dh key in /etc/openvpn/keys/ dh /etc/openvpn/keys/dh2048.pem #Internal IP will get when already connect server 192.168.200.0 255.255.255.0 #this line will redirect all traffic through our OpenVPN #push "redirect-gateway def1" #Provide DNS servers to the client, you can use goolge DNS push "dhcp-option DNS 8.8.8.8" push "dhcp-option DNS 8.8.4.4" #Enable multiple client to connect with same key duplicate-cn keepalive 20 60 comp-lzo persist-key persist-tun daemon #enable log log-append /var/log/myvpn/openvpn.log #Log Level verb 3
-
Does the android client have any split tunnel options?
-
@Dashrender said in OpenVPN and Andriod Mobiles:
Does the android client have any split tunnel options?
how can i check that on the mobile ?
-
@AlyRagab said in OpenVPN and Andriod Mobiles:
@Dashrender said in OpenVPN and Andriod Mobiles:
Does the android client have any split tunnel options?
how can i check that on the mobile ?
Other than just looking through the options in the app, I have no idea.
-
I use OpenVpn, pfsense, and can connect fine from my Android Phone, Samsung S5.
I just had to install the user certificate and the OpenVpn App
-
@iroal said in OpenVPN and Andriod Mobiles:
I use OpenVpn, pfsense, and can connect fine from my Android Phone, Samsung S5.
I just had to install the user certificate and the OpenVpn App
i am already connected successfully using the user certificate and OpenVPN App in andriod but the main issue is that when i am connected i can not connect to the internet while i can access internet using the same certificate on my PC .also i have tried alot of Mobiles but the same behavior !.
-
Right now I'm connected to Openvnp, in a Pfsense, and sending you this message all from my android Phone.
I use OpenVnp 0.6.60 for Android.
-
@iroal said in OpenVPN and Andriod Mobiles:
Right now I'm connected to Openvnp, in a Pfsense, and sending you this message all from my android Phone.
I use OpenVnp 0.6.60 for Android.
His problem isn't using OpenVPN from his android device. His issue is split tunneling - or the ability to surf the web through his office network's internet connection.
-
@Dashrender said in OpenVPN and Andriod Mobiles:
@iroal said in OpenVPN and Andriod Mobiles:
Right now I'm connected to Openvnp, in a Pfsense, and sending you this message all from my android Phone.
I use OpenVnp 0.6.60 for Android.
His problem isn't using OpenVPN from his android device. His issue is split tunneling - or the ability to surf the web through his office network's internet connection.
I mean I connect from a Samsung S5 using OpenVpn App, the OpenVnp server It's the Pfsense.