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

    Voucher lenght?

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 3 Posters 2.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.
    • S
      Sobowolf
      last edited by

      Hello,

      is it possible to shorten the lenght of the voucher. At the moment I have 11 letters. Is it also Possibel to have for example for letters?

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Four is pretty short.  Mine is set to generate 7 to 8.

        RSA key: generated 39 bits (openssl genrsa 39  then put that private key through "openssl rsa -pubout" to get the corresponding public key)

        Character set: 2345678abcdefhijkmnpqrstuvwxyz

        Roll bits: 12

        Ticket bits: 12

        Checksum bits: 8

        Magic number: blahblahblah

        If you add non-confusing capital letters (Stay away from B, V, U, O, I, S, Z, etc) , I'll bet the length would be 4-5 characters. This will cost you in increased difficulty in entering the code.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • S
          Sobowolf
          last edited by

          where am I able to access the shell? my WebGuI doesn´t show me any option to open the shell to insert commands?

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            Enable ssh in System->Advanced and ssh to it or get on the console.  It's not necessary though.  I did all the openssl work on a mac.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • J
              jpt.ericsongmail.com
              last edited by

              on my part.

              I'm using a 6 to 7 length in voucher

              using my mac terminal

              1. openssl genrsa 31 > key.private
              2. openssl rsa -pubout < key.private >key.public
              3. cat key.private
              3.1 copy the keys
              4. cat key.public
              4.1 copy the keys

              hope it helps,

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