HOW TO IMPORT VOUCHER FROM A CSV FILE?



  • Is there a way to import the downloaded vouchers into a newly installed pf box that has no vouchers yet created?

    If so, how? What are the steps?

    Thanks!



  • Hi!

    also like to know if there is a way?

    Thanks!



  • Hey ho,

    okay - got it!
    The Vouchers are generated "ont he fly" with the file "usr/local/bin/voucher". As written in the documentation the vouchers are generated based on an RSA Key.
    That means there is NO Database in wich the NOT USED Vouchers are stored!!

    So i manipulated the config.xml file and did an import of this config. I needed some trials because monowall and pfsense have a slightly different format but figured it out. After "importing" the Vouchers i still had to mark the already used Vouchers within the function in the portal section but everything is working fine :)

    So anybody having the same problem try this method!


Log in to reply