Results 1 to 5 of 5

Thread: OpenVPN replay-persist

  1. #1
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    OpenVPN replay-persist

    I've just been tinkering with my VPN setup and tried adding the following line
    replay-persist persist.txt
    However, the daemon doesn't seem to be creating the file, and even if I manually create it with open permissions, nothing seems to be written to it despite opening/closing sessions.

    Does anyone have any experience with this option and/or know what's meant to happen? I can't even see any mention of it in the logs with fairly high verbosity.

    ipp.txt is defined similarly and seems to be functioning fine.

    Thanks

  2. #2
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: OpenVPN replay-persist

    There is a bit of info in the msn psge.

    I found the basic open vpn manual here

    http://openvpn.net/index.php/open-so...x-manpage.html

    The use of the replay-persist file is mentioned. Are you using it as a directive in a conf file?
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  3. Received thanks from:

    watercooled (10-10-2013)

  4. #3
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: OpenVPN replay-persist

    Yeah that's the line I inserted into the config file. The man page doesn't really go into explaining the use of the file etc, but I assumed, if anything, it should work with a pre-created file with 777 permissions.

    It just doesn't seem to be touching the file or even referencing it in the log files, let alone any errors AFAICT.

  5. #4
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: OpenVPN replay-persist

    Are you using the secret or tls-auth modes for the encryption? The man file mentions that as a pre-requisite.
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  6. #5
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,478
    Thanks
    1,541
    Thanked
    1,029 times in 872 posts

    Re: OpenVPN replay-persist

    Yeah I'm using tls-auth so it should be working AFAICT.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •