Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Bad argument `eth0' openvpn after update

    OpenVPN
    3
    24
    425
    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.
    • J
      JLX89 @girish last edited by

      Is anyone else getting a "Bad argument `eth0' openvpn" after updating OpenVPN with the IPv6 update?

      1 Reply Last reply Reply Quote 0
      • A
        ApplegateR @girish last edited by

        @girish Screenshot_20220525-093128_Chrome.jpg

        I getting this error...

        A 1 Reply Last reply Reply Quote 0
        • A
          ApplegateR @ApplegateR last edited by

          @ApplegateR updated automatically yesterday and it can't run it was not respond.

          girish 1 Reply Last reply Reply Quote 0
          • J
            JLX89 last edited by

            @ApplegateR , we might want to spin this off into a support topic. @girish Can we get this split into a new topic?

            1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @ApplegateR last edited by girish

              @ApplegateR @JLX89 Can you tell me which Ubuntu version you are on?

              Also, I assume both of you are already on 7.2.1 ?

              A 1 Reply Last reply Reply Quote 0
              • A
                ApplegateR @girish last edited by

                @girish
                Platform versionv7.2.1 (Ubuntu 20.04.4 LTS)

                girish 2 Replies Last reply Reply Quote 0
                • girish
                  girish Staff @ApplegateR last edited by girish

                  @ApplegateR Does your server have IPv6 ?

                  Maybe the auto detection logic in the package is wrong. I did test all the combinations (ubuntu+ipv6 availability+iptables/nftables) but looks like I missed something.

                  1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff @ApplegateR last edited by

                    @ApplegateR Ah! Sorry, I know what the problem is. There is a bug in the update.

                    Can you please add this line in /app/data/openvpn.conf using the File manager:

                    server-ipv6 fd42:feed:feed:feed::/64
                    

                    That should fix it. I will make a new package in the meantime.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      ApplegateR @girish last edited by

                      @girish it does fixed, thank you now I am testing to make sure.

                      girish 1 Reply Last reply Reply Quote 0
                      • girish
                        girish Staff @ApplegateR last edited by girish

                        @ApplegateR Your IPv6 should also be hidden now (only if your server has IPv6 though). You can use https://www.whatismyip.com/ or https://www.iplocation.net/find-ip-address

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          ApplegateR @girish last edited by

                          @girish alright going to test that

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            ApplegateR @ApplegateR last edited by

                            @ApplegateR great work. My server disabled ipv6. And it still detected my phone tower ipv6 instead cloudron server was it because my cloudron disabled ipv6?

                            If I try switch to public on ipv6 I still get error this message

                            AddressUnable to detect IPv6.
                            API server (ipv6.api.cloudron.io) unreachable

                            girish 1 Reply Last reply Reply Quote 0
                            • girish
                              girish Staff @ApplegateR last edited by

                              @ApplegateR said in Bad argument `eth0' openvpn after update:

                              If I try switch to public on ipv6 I still get error this message

                              Currently, the IPv6 detection is only done on the app startup. So, if you add/remove IPv6 on the fly, you have to restart the app.

                              A 1 Reply Last reply Reply Quote 1
                              • A
                                ApplegateR @girish last edited by

                                @girish okay it disabled and I did restart the app and I still get leak ipv6. So I guessing something configure is missing that bypass ipv6 I think.. but will look more into it 🙂

                                girish 1 Reply Last reply Reply Quote 0
                                • girish
                                  girish Staff @ApplegateR last edited by

                                  @ApplegateR The openvpn.conf should have push "redirect-gateway def1 ipv6 bypass-dhcp" . If it does, then it's probably a client side thing. Are you on a Mac ? I only tested this the setting on linux.

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    ApplegateR @girish last edited by

                                    @girish i on phone galaxy but I notice my Linux wasn't show ipv6 which is working great.

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      ApplegateR @ApplegateR last edited by

                                      @ApplegateR

                                      In openvpn.conf

                                      push "redirect-gateway def1 bypass-dhcp"

                                      Not showing ipv6 so I added second line below that. Let see test see if it works.

                                      push "redirect-gateway def1 bypass-dhcp"
                                      push "redirect-gateway def1 ipv6 bypass-dhcp"

                                      A 2 Replies Last reply Reply Quote 0
                                      • A
                                        ApplegateR @ApplegateR last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          ApplegateR @ApplegateR last edited by

                                          @ApplegateR switch to data on my phone and it still get ipv6 however on wifi does not show ipv6

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            JLX89 @ApplegateR last edited by

                                            @ApplegateR Thanks! Yes, the app will now start without issue, but it's not pushing the IPv6 address -- which isn't a huge issue for us at the moment.

                                            A 1 Reply Last reply Reply Quote 0
                                            • A
                                              ApplegateR @JLX89 last edited by

                                              @JLX89 yes for me I just don't want it being leak ipv6 on data so still work on it..

                                              J 1 Reply Last reply Reply Quote 0
                                              • J
                                                JLX89 @ApplegateR last edited by

                                                @ApplegateR said in Bad argument `eth0' openvpn after update:

                                                @JLX89 yes for me I just don't want it being leak ipv6 on data so still work on it..

                                                Yes, I agree -- so far I did some testing and used https://ipleak.net to see if there were any issues and didn't see any.

                                                A 1 Reply Last reply Reply Quote 0
                                                • A
                                                  ApplegateR @JLX89 last edited by ApplegateR

                                                  @JLX89 me too, everything is great but my ipv6 still show as Verizon business. I want see if that ipv6 can blocked or mask it up something .

                                                  1 Reply Last reply Reply Quote 0
                                                  • girish
                                                    girish Staff last edited by

                                                    Would be good if you guys put a note on which clients have this issue. See https://community.openvpn.net/openvpn/wiki/IPv6#Clientissues for OpenVPN/IPv6 issues.

                                                    I mostly only tested only on Linux and it works there.

                                                    1 Reply Last reply Reply Quote 0
                                                    • First post
                                                      Last post
                                                    Powered by NodeBB