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

Openvpn missing option inside config.ovpn

2.5 Development Snapshots (Retired)
5
21
3.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.
  • J
    johnpoz LAYER 8 Global Moderator
    last edited by Nov 9, 2020, 11:33 AM

    I get ya now - hmmm... I don't currently have 2.5 to fire up..

    For clarity besides saying lastest, you should always list the exact version your using even if saying latest.. That goes for anything firmware, software, etc.. You might want to add that.. Lets see if I can fire up a 2.5 snap to test with.

    An intelligent man is sometimes forced to be drunk to spend time with his fools
    If you get confused: Listen to the Music Play
    Please don't Chat/PM me for help, unless mod related
    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

    1 Reply Last reply Reply Quote 0
    • K
      kiokoman LAYER 8
      last edited by Nov 9, 2020, 11:37 AM

      @kiokoman said in Openvpn missing option inside config.ovpn:

      Version 2.5.0-DEVELOPMENT (amd64)
      built on Sun Nov 08 13:03:56 EST 2020
      FreeBSD 12.2-STABLE

      faststone: 😀
      login-to-view

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      B 1 Reply Last reply Nov 9, 2020, 12:49 PM Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator
        last edited by Nov 9, 2020, 11:57 AM

        There you go, much better ;) just 1 picture. heheh

        I looked I had purged the 2.5 vm I was playing with - have to reset it up to try and duplicate..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Nov 9, 2020, 12:20 PM

          Ok - VM is up, I can try and duplicate.. But your not on the "latest"

          login-to-view

          Nov 9 build is out..

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • B
            Bob.Dig LAYER 8 @kiokoman
            last edited by Bob.Dig Nov 9, 2020, 12:49 PM Nov 9, 2020, 12:49 PM

            @kiokoman said in Openvpn missing option inside config.ovpn:

            faststone: 😀

            Firefox can do that too. 😉

            1 Reply Last reply Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by johnpoz Nov 9, 2020, 12:50 PM Nov 9, 2020, 12:49 PM

              Ok - your setup as shared key.. So yeah ncp would be disabled anyway.

              Do you really have a shared key setup? That was working before.. I can fire up another 2.5 vm..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              1 Reply Last reply Reply Quote 0
              • J
                JeGr LAYER 8 Moderator
                last edited by Nov 9, 2020, 1:22 PM

                Maybe it's an update to OpenVPN 2.5? I checked the changelog/release log a while ago and there were quite a few changes to NCP etc.?

                Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                1 Reply Last reply Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator
                  last edited by Nov 9, 2020, 1:25 PM

                  Well having a bit of problem setting up my lab..

                  Tried to add some vlans to my 2 vms, so could route those networks over the shared key vpn.. And both are crashing with this..

                  login-to-view

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                  1 Reply Last reply Reply Quote 0
                  • K
                    kiokoman LAYER 8
                    last edited by kiokoman Nov 9, 2020, 2:22 PM Nov 9, 2020, 2:20 PM

                    it was working without any problem before the upgrade to the latest snapshot 🙄

                    Already being worked on: #10919
                    https://redmine.pfsense.org/issues/10919

                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                    Please do not use chat/PM to ask for help
                    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                    1 Reply Last reply Reply Quote 0
                    • J
                      JeGr LAYER 8 Moderator
                      last edited by Nov 9, 2020, 4:39 PM

                      Yep, as I thought, that's one of the new 2.5-series changes to handling ciphers and now "defaulting" to use ciphers alternative/additional to ncp-ciphers (that are to be renamed) etc. I saw quite a few small changes to config files that way. And I'm still not sure why the hell I should provide multiple ciphers via NCP or with ciphers: (now), if I control the server and roll out the clients. Just define a good working set like AES-256-GCM, SHA256, ECDH only with secp384r1 and be done with it. Bit annoying but once the UI will deal with it - not that much of my problem anymore. ;)

                      Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                      If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                      1 Reply Last reply Reply Quote 0
                      • J
                        jimp Rebel Alliance Developer Netgate
                        last edited by Nov 9, 2020, 6:18 PM

                        This should be all good now. It'll be in snapshots later today, or you can gitsync from a snapshot with the problem to pick up the fix.

                        It primarily affected shared key instances. When I was testing on Friday before I committed the changes that broke it, I was primarily focused on SSL/TLS configurations and didn't spot that shared key would have ended up with nothing.

                        Though also from the looks of it, the Data Ciphers (formerly known as NCP ciphers) may not have been working with shared key even before this.

                        But it should be all good now on 2.5.0.

                        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!

                        1 Reply Last reply Reply Quote 1
                        • K
                          kiokoman LAYER 8
                          last edited by Nov 9, 2020, 7:36 PM

                          yes, it's ok now 👍

                          [2.5.0-DEVELOPMENT][root@pfSense.kiokoman.home]/root: cat /var/etc/openvpn/server1/config.ovpn
                          dev ovpns1
                          verb 1
                          dev-type tun
                          dev-node /dev/tun1
                          writepid /var/run/openvpn_server1.pid
                          #user nobody
                          #group nobody
                          script-security 3
                          daemon
                          keepalive 10 60
                          ping-timer-rem
                          persist-tun
                          persist-key
                          proto udp4
                          auth SHA256
                          up /usr/local/sbin/ovpn-linkup
                          down /usr/local/sbin/ovpn-linkdown
                          local xxx.xxx.xxx.xxx
                          engine rdrand
                          ifconfig 10.0.8.1 10.0.8.2
                          lport 1194
                          management /var/etc/openvpn/server1/sock unix
                          route 192.168.1.0 255.255.255.0
                          route 172.16.0.0 255.255.255.0
                          secret /var/etc/openvpn/server1/secret
                          data-ciphers AES-256-CBC:AES-256-CFB:AES-256-CFB1:AES-256-CFB8:AES-256-GCM:AES-256-OFB
                          data-ciphers-fallback AES-256-CBC
                          allow-compression asym
                          sndbuf 524288
                          rcvbuf 524288
                          fragment 1450
                          
                          mssfix 1450
                          

                          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                          Please do not use chat/PM to ask for help
                          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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