UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Open vpn

    Scheduled Pinned Locked Moved Support
    21 Posts 2 Posters 1.5k Views 1 Watching
    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.
    • P Offline
      Privacy+freedom @Vlad Nirky
      last edited by Privacy+freedom

      @Vlad-Nirky client I downloaded the openvpn config from ivpn and imported it with nmcli but I had to manually input the ca cert and tsl cert

      Its working 100% perfect on WiFi but when I go on 4g it connects to the VPN but I get no internet

      I'm on ubuntu touch version 24.04.1.3

      Vlad NirkyV 2 Replies Last reply Reply Quote 0
      • Vlad NirkyV Offline
        Vlad Nirky @Privacy+freedom
        last edited by

        @Privacy-freedom said:

        client I downloaded the openvpn config from ivpn and imported it with nmcli but I had to manually input the ca cert and tsl cert

        Its working 100% perfect on WiFi but when I go on 4g it connects to the VPN but I get no internet

        I'm on ubuntu touch version 24.04.1.3

        Perhaps could you try to reduce the MTU packet size?
        nmcli connection modify "Your_VPN" +vpn.data "mssfix=1300"

        P 1 Reply Last reply Reply Quote 0
        • Vlad NirkyV Offline
          Vlad Nirky @Privacy+freedom
          last edited by

          @Privacy-freedom
          Another possibility is to disable IPV6
          nmcli connection modify "Your_VPN" ipv6.method ignore

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            Privacy+freedom @Vlad Nirky
            last edited by

            @Vlad-Nirky will try this

            1 Reply Last reply Reply Quote 0
            • P Offline
              Privacy+freedom @Vlad Nirky
              last edited by Privacy+freedom

              @Vlad-Nirky sadly non of those commands fixed it

              Pretty weird that openvpn works on WiFi but not mobile data

              Vlad NirkyV 2 Replies Last reply Reply Quote 0
              • Vlad NirkyV Offline
                Vlad Nirky @Privacy+freedom
                last edited by

                @Privacy-freedom
                Last chance, force the openvpn
                nmcli connection modify "Your_VPN" ipv4.never-default no
                nmcli connection modify "Your_VPN" ipv6.never-default no

                1 Reply Last reply Reply Quote 0
                • Vlad NirkyV Offline
                  Vlad Nirky @Privacy+freedom
                  last edited by

                  @Privacy-freedom
                  Did you tried a ping of an IP address or a domain name?

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    Privacy+freedom @Vlad Nirky
                    last edited by

                    @Vlad-Nirky tried to ping google now i just get Temporary failure in name resolution
                    those commands did not fix it also
                    mby its s bug with openvpn on ut

                    Vlad NirkyV 1 Reply Last reply Reply Quote 0
                    • Vlad NirkyV Offline
                      Vlad Nirky @Privacy+freedom
                      last edited by

                      @Privacy-freedom
                      I was wondering if you could ping 8.8.8.8 instead of www.google.com
                      More likely a block by the ISP

                      P 2 Replies Last reply Reply Quote 0
                      • P Offline
                        Privacy+freedom @Vlad Nirky
                        last edited by Privacy+freedom

                        when i run ping 8.8.8.8 i get
                        PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data
                        when i dissable vpn on 4g i get much more output when i ping

                        never heard of isp/carriers blocking vpns where i live might try a config with port 443 then.

                        443 i heard can often get around vpn blocks

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          Privacy+freedom @Vlad Nirky
                          last edited by Privacy+freedom

                          @Vlad-Nirky tried a new config with TCP at port 443 same issue

                          I'm pretty sure my mobile data carrier doesn't block VPNs. On my old Android phone I used OpenVPN 24/7 when I was on 4G before I switched to using Ubuntu Touch as my daily driver.

                          i run vpn on my router so its really only for when im on 4g/mobile data i woude want a vpn on the phone
                          when im at home i get vpn over wireless

                          Vlad NirkyV 1 Reply Last reply Reply Quote 0
                          • Vlad NirkyV Offline
                            Vlad Nirky @Privacy+freedom
                            last edited by

                            @Privacy-freedom
                            Any errors in
                            sudo journalctl -u NetworkManager -f
                            What gives ip route show when vpn is active (mentionning tun interface)?

                            P 1 Reply Last reply Reply Quote 0
                            • P Offline
                              Privacy+freedom @Vlad Nirky
                              last edited by Privacy+freedom

                              @Vlad-Nirky

                              when i run sudo journalctl -u NetworkManager -f
                              these are the only errors i noticed

                              Dnsmasq is just using nameservers and NetworkManager is bringing up tun0. The only real problem in the snippet is the VPN restarting:

                              nm-openvpn: Inactivity timeout (--ping-restart), restarting
                              nm-openvpn: SIGUSR1[soft,ping-restart] received, process restarting

                              this is the active connections listed when i run mnlci connection show --active

                              o1.gw.ivpn.net
                              NetCon
                              lo
                              tun0

                              @Vlad-Nirky

                              Vlad NirkyV 3 Replies Last reply Reply Quote 0
                              • Vlad NirkyV Offline
                                Vlad Nirky @Privacy+freedom
                                last edited by Vlad Nirky

                                @Privacy-freedom
                                I restarted my OpenVPN (on Pi-hole).
                                I was able to connect my phone to it and access my home network via 4G LTE.
                                Running on 24.04-2.x (don't know if this matter)

                                P 1 Reply Last reply Reply Quote 0
                                • P Offline
                                  Privacy+freedom @Vlad Nirky
                                  last edited by Privacy+freedom

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • Vlad NirkyV Offline
                                    Vlad Nirky @Privacy+freedom
                                    last edited by

                                    @Privacy-freedom
                                    Yes not easy to share things without leaking some private informations...

                                    Perhaps could you take a look at this exchange
                                    https://forums.ubports.com/topic/11513/openvpn-setup-does-not-offer-what-i-need-for-my-vpn-server..../38

                                    P 1 Reply Last reply Reply Quote 0
                                    • Vlad NirkyV Offline
                                      Vlad Nirky @Privacy+freedom
                                      last edited by

                                      @Privacy-freedom
                                      I can give you my openvpn server config if you think it could help

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        Privacy+freedom @Vlad Nirky
                                        last edited by Privacy+freedom

                                        @Vlad-Nirky thanks
                                        I anonymize the IP routes log but I quickly realized it woude baisicly be useless when anonymized

                                        So I just deleted it since it had no value

                                        1 Reply Last reply Reply Quote 0

                                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                        With your input, this post could be even better 💗

                                        Register Login
                                        • First post
                                          Last post