• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

22.05 - DCO and OpenVPN issue

OpenVPN
7
50
8.6k
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.
  • S
    swixo
    last edited by Jun 11, 2022, 1:05 PM

    I am not sure exactly which snapshot started this, but the remote client VPNs wont pass traffic with DCO enabled anymore. It did work on a previous snapshot.

    We're on 22.05.r.20220609.1919.

    If I disable DCO- traffic flows fine as it always has. Just to remove all doubt - the hashes are all SHA256.

    Our S-S using TLS works fine with DCO.

    Any ideas?

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Jun 11, 2022, 1:26 PM

      That enabling DCO on the server end?

      Clients still connect OK, just can't pass traffic?

      Any errors logged?

      S 1 Reply Last reply Jun 11, 2022, 3:16 PM Reply Quote 0
      • S
        swixo @stephenw10
        last edited by Jun 11, 2022, 3:16 PM

        @stephenw10
        Just repeated it and looked at the OVPN logs. No errors that I can see with DCO on.
        Clients connect OK - just no traffic.
        Enabling DCO on server end yes.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Jun 11, 2022, 3:18 PM

          Hmm, what clients are you using?

          S 1 Reply Last reply Jun 11, 2022, 3:21 PM Reply Quote 0
          • S
            swixo @stephenw10
            last edited by Jun 11, 2022, 3:21 PM

            @stephenw10 Using the OpenVPN Client for IOS this AM. The Viscosity client on MacOS has the same issue.

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Jun 12, 2022, 3:12 PM

              Hmm, do you see:

              [22.05-RC][admin@fw1.stevew.lan]/root: pkg info -s openvpn
              openvpn-2.6.0_8                805KiB
              

              Steve

              S 1 Reply Last reply Jun 12, 2022, 3:15 PM Reply Quote 0
              • S
                swixo @stephenw10
                last edited by swixo Jun 12, 2022, 4:54 PM Jun 12, 2022, 3:15 PM

                @stephenw10

                # pkg info -s openvpn
                openvpn-2.6.0_8                836KiB
                

                looks good. (Except file size)

                1 Reply Last reply Reply Quote 0
                • P
                  Pippin
                  last edited by Jun 12, 2022, 3:44 PM

                  Filesize.....

                  I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                  Halton Arp

                  S 1 Reply Last reply Jun 12, 2022, 4:53 PM Reply Quote 1
                  • M
                    maverick_slo
                    last edited by Jun 12, 2022, 4:49 PM

                    I have exact same filesize and version as @swixo
                    And if I turn ON DCO, traffic stops flowing on my android device.
                    Turn DCO OFF all is fine again...

                    1 Reply Last reply Reply Quote 1
                    • S
                      swixo @Pippin
                      last edited by Jun 12, 2022, 4:53 PM

                      @pippin Yep - I see that - disregarded initially.

                      S 1 Reply Last reply Jun 12, 2022, 5:29 PM Reply Quote 0
                      • S
                        swixo @swixo
                        last edited by swixo Jun 12, 2022, 5:33 PM Jun 12, 2022, 5:29 PM

                        @swixo Just reinstalled 22.01. Upgraded to 22.05RC.

                        pkg info -s openvpn
                        openvpn-2.6.0_8 836KiB

                        Client VPN behaved same - DCO=no data flow, no DCO, all ok.

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Jun 12, 2022, 7:09 PM

                          Mmm, I was looking on a 3100 there though. On an amd64 machine it looks good:

                          [22.05-RC][admin@4100-2.stevew.lan]/root: pkg info -s openvpn
                          openvpn-2.6.0_8                836KiB
                          

                          I assume the IOS client is still OpenVPN 2.5 based?

                          S 1 Reply Last reply Jun 12, 2022, 7:19 PM Reply Quote 0
                          • S
                            swixo @stephenw10
                            last edited by Jun 12, 2022, 7:19 PM

                            @stephenw10 Yeah - for me all iOS and MacOS have issue.
                            My platform for pf is all Netgate 1537 appliances.

                            1 Reply Last reply Reply Quote 0
                            • J
                              jimp Rebel Alliance Developer Netgate
                              last edited by Jun 13, 2022, 6:09 PM

                              I have seen an occasional glitch on OSX but I'm not sure if it's specific to OSX. The first start after a reboot sometimes it won't ping, but if I restart the server and reconnect the client it can. But since it's so intermittent and doesn't happen every time (and didn't log anything different that I recall), I hadn't been able to nail down anything solid enough to call a problem yet.

                              If you can reproduce it reliably, check the ifconfig output for the interface, the contents of the routing table, and the OpenVPN logs for when it doesn't work, then restart the server and see if you can reconnect the client and pass traffic. If you can, then compare the logs and other output and see if you notice any differences.

                              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

                              S 1 Reply Last reply Jun 13, 2022, 7:40 PM Reply Quote 0
                              • S
                                swixo @jimp
                                last edited by Jun 13, 2022, 7:40 PM

                                @jimp said in 22.05 - DCO and OpenVPN issue:

                                If you can reproduce it reliably, check the ifconfig output for the interface, the contents of the routing table, and the OpenVPN logs for when it doesn't work, then restart the server and see if you can reconnect the client and pass traffic. If you can, then compare the logs and other output and see if you notice any differences.

                                Ok! I tested and I was able to get traffic to flow ONCE after I closed the tunnel, restarted the server and restarted the tunnel. But subsequent initiations of the tunnel resulted in no data flow.

                                This is the ifconfig for the interface - and it was the same in the fail and non fail condition:

                                utun10: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
                                	inet 192.168.41.2 --> 192.168.41.2 netmask 0xffffff00
                                

                                I didn't see anything error like in the logs. Just the usual stuff.

                                s

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jimp Rebel Alliance Developer Netgate
                                  last edited by Jun 13, 2022, 8:34 PM

                                  That looks like the client side, what about differences on the server side when it works vs when it doesn't?

                                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                  Need help fast? Netgate Global Support!

                                  Do not Chat/PM for help!

                                  S 1 Reply Last reply Jun 13, 2022, 11:30 PM Reply Quote 0
                                  • S
                                    swixo @jimp
                                    last edited by Jun 13, 2022, 11:30 PM

                                    @jimp I have not been able to 'jiggle' it into working by disconnecting/restarting and reconnecting again. It just fails:

                                    This is ifconfig from Server side for each state

                                    tunnel disconnected:

                                    ovpns2: flags=8011<UP,POINTOPOINT,MULTICAST> metric 0 mtu 1500
                                    	options=80000<LINKSTATE>
                                    	inet6 fe80::3eec:efff:fe79:f1f2%ovpns2 prefixlen 64 tentative scopeid 0x19
                                    	inet 192.168.41.1 --> 192.168.41.2 netmask 0xffffff00
                                    	groups: openvpn
                                    	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
                                    

                                    Connected/Failing (No data pass)

                                    ovpns2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
                                    	options=80000<LINKSTATE>
                                    	inet6 fe80::3eec:efff:fe79:f1f2%ovpns2 prefixlen 64 scopeid 0x19
                                    	inet 192.168.41.1 --> 192.168.41.2 netmask 0xffffff00
                                    	groups: openvpn
                                    	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
                                    

                                    Hope this helps.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jimp Rebel Alliance Developer Netgate
                                      last edited by Jun 15, 2022, 12:47 PM

                                      I think this is what I hit yesterday with multiple clients failing (only the first client, e.g. .2 worked). We got a fix in yesterday afternoon and made a new build. You should be able to update to that and try it.

                                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                      Need help fast? Netgate Global Support!

                                      Do not Chat/PM for help!

                                      S 2 Replies Last reply Jun 15, 2022, 3:43 PM Reply Quote 3
                                      • S
                                        swixo @jimp
                                        last edited by Jun 15, 2022, 3:43 PM

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 1
                                        • S
                                          swixo @jimp
                                          last edited by Jun 15, 2022, 5:40 PM

                                          @jimp I may have spoken too soon -- It worked once - but shortly after - same problem returned.

                                          Did a server restart - and its blocking data again w/DCO. Sorry for any false start - just reporting what I'm seeing.

                                          1 Reply Last reply Reply Quote 0
                                          6 out of 50
                                          • First post
                                            6/50
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.