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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. VPN
  3. Bad argument `eth0' openvpn after update

Bad argument `eth0' openvpn after update

Scheduled Pinned Locked Moved VPN
24 Posts 3 Posters 3.2k Views 3 Watching
  • 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.
  • A ApplegateR

    @girish Screenshot_20220525-093128_Chrome.jpg

    I getting this error...

    A Offline
    A Offline
    ApplegateR
    wrote on last edited by
    #3

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

    girishG 1 Reply Last reply
    0
    • J Offline
      J Offline
      JLX89
      wrote on last edited by
      #4

      @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
      0
      • A ApplegateR

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

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #5

        @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
        0
        • girishG 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 Offline
          A Offline
          ApplegateR
          wrote on last edited by
          #6

          @girish
          Platform versionv7.2.1 (Ubuntu 20.04.4 LTS)

          girishG 2 Replies Last reply
          0
          • A ApplegateR

            @girish
            Platform versionv7.2.1 (Ubuntu 20.04.4 LTS)

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by girish
            #7

            @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
            0
            • A ApplegateR

              @girish
              Platform versionv7.2.1 (Ubuntu 20.04.4 LTS)

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #8

              @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
              0
              • girishG girish

                @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 Offline
                A Offline
                ApplegateR
                wrote on last edited by
                #9

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

                girishG 1 Reply Last reply
                0
                • A ApplegateR

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

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by girish
                  #10

                  @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
                  0
                  • girishG 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 Offline
                    A Offline
                    ApplegateR
                    wrote on last edited by
                    #11

                    @girish alright going to test that

                    A 1 Reply Last reply
                    0
                    • A ApplegateR

                      @girish alright going to test that

                      A Offline
                      A Offline
                      ApplegateR
                      wrote on last edited by
                      #12

                      @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

                      girishG 1 Reply Last reply
                      0
                      • A ApplegateR

                        @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

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #13

                        @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
                        1
                        • girishG girish

                          @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 Offline
                          A Offline
                          ApplegateR
                          wrote on last edited by
                          #14

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

                          girishG 1 Reply Last reply
                          0
                          • A ApplegateR

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

                            girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #15

                            @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
                            0
                            • girishG girish

                              @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 Offline
                              A Offline
                              ApplegateR
                              wrote on last edited by
                              #16

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

                              A 1 Reply Last reply
                              0
                              • A ApplegateR

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

                                A Offline
                                A Offline
                                ApplegateR
                                wrote on last edited by
                                #17

                                @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
                                0
                                • A ApplegateR

                                  @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 Offline
                                  A Offline
                                  ApplegateR
                                  wrote on last edited by
                                  #18
                                  This post is deleted!
                                  1 Reply Last reply
                                  0
                                  • A ApplegateR

                                    @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 Offline
                                    A Offline
                                    ApplegateR
                                    wrote on last edited by
                                    #19

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

                                    J 1 Reply Last reply
                                    0
                                    • A ApplegateR

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

                                      J Offline
                                      J Offline
                                      JLX89
                                      wrote on last edited by
                                      #20

                                      @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
                                      0
                                      • J JLX89

                                        @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 Offline
                                        A Offline
                                        ApplegateR
                                        wrote on last edited by
                                        #21

                                        @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
                                        0
                                        • A ApplegateR

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

                                          J Offline
                                          J Offline
                                          JLX89
                                          wrote on last edited by
                                          #22

                                          @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
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search