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

    OpenVPN logging all traffic

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 210 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.
    • A
      AlexMercer
      last edited by

      My setup is the following :

      I have 2 pfSenses in a cluster, running 2 instances of OpenVPN. Everything works perfectly so far.
      I want to log all traffic, every start and end of sessions on just one of the instances of OpenVPN.
      This instance, that I want logged uses tun L3 Mode and 10.250.1.0/24 network. The goal is to send to a syslog server every transaction happening from 10.250.1.0/24 to 0.0.0.0/0 start and end of session.
      I have syslog enabled and I am pushing all the messages to Graylog.
      I have no idea how to setup the logging of start and end of all traffic on that particular OpenVPN instance.
      Any input is welcome!
      Thank you!

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