ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    OpenVPN and Andriod Mobiles

    IT Discussion
    openvpn vpn android
    3
    9
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AlyRagabA
      AlyRagab
      last edited by scottalanmiller

      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
      
      1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender
        last edited by

        Does the android client have any split tunnel options?

        AlyRagabA 1 Reply Last reply Reply Quote 0
        • AlyRagabA
          AlyRagab @Dashrender
          last edited by

          @Dashrender said in OpenVPN and Andriod Mobiles:

          Does the android client have any split tunnel options?

          how can i check that on the mobile ?

          DashrenderD 1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender @AlyRagab
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • iroalI
              iroal
              last edited by

              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

              AlyRagabA 1 Reply Last reply Reply Quote 0
              • AlyRagabA
                AlyRagab @iroal
                last edited by

                @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 !.

                1 Reply Last reply Reply Quote 0
                • iroalI
                  iroal
                  last edited by iroal

                  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.

                  DashrenderD 1 Reply Last reply Reply Quote 0
                  • DashrenderD
                    Dashrender @iroal
                    last edited by

                    @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.

                    iroalI 1 Reply Last reply Reply Quote 0
                    • iroalI
                      iroal @Dashrender
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post