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

    VPN Connection to FritzVPN

    Support
    vpnc
    5
    10
    528
    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.
    • M
      marc123454321
      last edited by

      Oneplus 3

      OTA-16

      Channel: stable

      Hey,

      I'm trying to establish a VPN connection to my VPN. Normally its accessed via VPNC like described here: https://en.avm.de/service/vpn/tips-tricks/setting-up-a-vpn-connection-to-fritzbox-in-linux/
      Now I'm trying to do the same for my UT device without making filesystem rewritable.

      My first idea was to establish it via libertine container. But this failed due to missing tun.

      Sadly my knowledge about linux based OS isn't very good, so I don't know how to get it work without getting serious safety problems.

      Can anyone give me a hint?

      Marc

      thilovT 1 Reply Last reply Reply Quote 0
      • thilovT
        thilov @marc123454321
        last edited by thilov

        @marc123454321 "IPSec" is not supported yet. Only "Open VPN".
        And AVM dosen't support OpenVPN...

        Oneplus 3T (dev)
        BQ M10, BQ E4.5, BQ E5 and Oneplus One (RIP)

        M 1 Reply Last reply Reply Quote 0
        • M
          marc123454321 @thilov
          last edited by

          @thilov Hey thilov,
          Thanks for your reply. I know there's no Ipsec support out of the box at the moment, but I was wondering if theres a possibility for a nice workarround since its a linux based os.
          Marc

          KenedaK 1 Reply Last reply Reply Quote 0
          • KenedaK
            Keneda @marc123454321
            last edited by Keneda

            @marc123454321
            Only way is "normal" GNU/linux way i guess, so r/w and so...

            2015-Now : Meizu MX4 (Stable) now for web use
            Spare : Nexus 5 (Stable), now for daily use

            M 1 Reply Last reply Reply Quote 0
            • M
              marc123454321 @Keneda
              last edited by

              @keneda Hey keneda,
              Thanks for your reply. I just tried to avoid the r/w option and go for a container solution. But if this wont work I have to go the way you're talking about since its a must have for me to connect to my vpn.
              Have you tried a ipsec vpn connection with r/w system? Wont it be deleted with ota update?
              Marc

              KenedaK arubislanderA 2 Replies Last reply Reply Quote 0
              • KenedaK
                Keneda @marc123454321
                last edited by

                @marc123454321 said in VPN Connection to FritzVPN:

                Have you tried a ipsec vpn connection with r/w system? Wont it be deleted with ota update?

                No i didn't, i'm not an advanced user, however i installed evtest that way to help Flohack at my level https://forums.ubports.com/topic/5807/disabled-touch-keys-and-stable-channel/8?_=1618327155445

                And yes you'll have to do it again after each OTA. Don't forget to save your data before doing this, as there is always a risk to brake uTouch system.

                2015-Now : Meizu MX4 (Stable) now for web use
                Spare : Nexus 5 (Stable), now for daily use

                1 Reply Last reply Reply Quote 0
                • arubislanderA
                  arubislander @marc123454321
                  last edited by

                  @marc123454321

                  One way to go about any customizations that require mounting the root filesystem r/w is to capture it all in a script and then run this whenever an OTA has overridden your desired setup. (Not every OTA update will do so, it depends on what exactly gets updated in the specific OTA.) I have just such a setup for (in my case) changing the hostname of my devices. I am currently looking to automate this, but haven't yet put in the work needed.

                  πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                  Happily running Ubuntu Touch
                  BQ Aquaris M10 FHD (16.04 RC)
                  Google Pixel 3a (20.04 DEV)
                  JingPad (20.04 DEV)
                  Meizu Pro 5 (16.04 DEV)
                  PinePhone / PineTab UT CE (20.04 daily)

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    marc123454321 @arubislander
                    last edited by

                    @arubislander Hey,

                    Thanks for you're reply too. Actually i configured vpnc by making the system r/w and established a connection.
                    So I have to write a simple scipt and fo it like you told me.

                    I have to say I'm really enthusiastic about the possibilities of UT. Its great.

                    Marc

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      marc123454321 @marc123454321
                      last edited by

                      @marc123454321 Ah if anyone try to do the same. After connecting i got a subnet mask of 255.255.255.255 on tun0 for unknown reasons and therefore cant reach any other ips. Just changed it.

                      Marc

                      CraigC 1 Reply Last reply Reply Quote 0
                      • CraigC
                        Craig @marc123454321
                        last edited by

                        @marc123454321 I wrote a script that makes open VPN connections for PrivateInternetAccess.com and developed and tested it on a Nexus 4. It works well. I see you are using a different VPN provider so I don't think it will work. If anyone needs such a script for their UT device, let me know and I can post it.

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