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

    OpenVPN problems

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    17 Posts 4 Posters 7.0k Views
    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 Offline
      mikesamo
      last edited by

      dev ovpnc2
      dev-type tun
      tun-ipv6
      dev-node /dev/tun2
      writepid /var/run/openvpn_client2.pid
      #user nobody
      #group nobody
      script-security 3
      daemon
      keepalive 10 60
      ping-timer-rem
      persist-tun
      persist-key
      proto udp
      cipher AES-128-CBC
      up /usr/local/sbin/ovpn-linkup
      down /usr/local/sbin/ovpn-linkdown
      client-connect /usr/local/sbin/openvpn.attributes.sh
      client-disconnect /usr/local/sbin/openvpn.attributes.sh
      local 4.3.2.1
      engine padlock
      tls-client
      client
      lport 0
      management /var/etc/openvpn/client2.sock unix
      remote 1.2.3.4 1234
      ca /var/etc/openvpn/client2.ca
      cert /var/etc/openvpn/client2.cert
      key /var/etc/openvpn/client2.key
      tls-auth /var/etc/openvpn/client2.tls-auth 1
      comp-lzo
      resolv-retry infinite
      verb 5
      tun-mtu 1500
      keysize 128
      persist-key
      fragment 1389
      mssfix 1389

      1 Reply Last reply Reply Quote 0
      • M Offline
        mikesamo
        last edited by

        Ok I got it with comment theses 2 lines from the conf files

        #client-connect /usr/local/sbin/openvpn.attributes.sh
        #client-disconnect /usr/local/sbin/openvpn.attributes.sh

        1 Reply Last reply Reply Quote 0
        • M Offline
          mikesamo
          last edited by

          theses line are only for server config.

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            ok that's probably from the radius acl import that happened yesterday.

            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 0
            • P Offline
              podilarius
              last edited by

              Commented the lines out myself and the VPN connects. Was there a commit that put those in there?

              1 Reply Last reply Reply Quote 0
              • P Offline
                podilarius
                last edited by

                commit 1492e02 does this.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mikesamo
                  last edited by

                  https://github.com/bsdperimeter/pfsense/commit/5b4ee05e58777606c988c099139adb25633b50c3

                  1 Reply Last reply Reply Quote 0
                  • jimpJ Offline
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    Fix commited, gitsync and it should be ok

                    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 0
                    • M Offline
                      mikesamo
                      last edited by

                      seem to work after reboot thx!

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        podilarius
                        last edited by

                        Thanks for fixing that. :-D

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          Cino
                          last edited by

                          Thanks Jim!

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