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

    Open vpn

    Scheduled Pinned Locked Moved Support
    18 Posts 2 Posters 130 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.
    • 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 Online
        Privacy+freedom @Vlad Nirky
        last edited by

        @Vlad-Nirky will try this

        1 Reply Last reply Reply Quote 0
        • P Online
          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 Online
                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 Online
                    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 Online
                      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 Online
                          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 1 Reply 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 Online
                              Privacy+freedom @Vlad Nirky
                              last edited by Privacy+freedom

                              @Vlad-Nirky
                              this is what ip routes says

                              mby it has something to do with the meteic values

                              default via dev tun0 proto static metric 50
                              default via dev ccmni2 proto static metric 700
                              /22 dev tun0 proto kernel scope link src metric 50
                              100.0.0.0/8 dev ccmni2 proto kernel scope link src
                              dev ccmni2 proto static scope link metric 700
                              dev ccmni2 proto unspec scope link metric 700
                              via dev ccmni2 proto unspec metric 700

                              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