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

    Logging?

    Scheduled Pinned Locked Moved WireGuard
    sysloglog
    1 Posts 1 Posters 604 Views 1 Watching
    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.
    • B Offline
      bsod
      last edited by

      OS: 21.05.1
      WG: 0.1.5

      Recently got WireGuard configured for the first time, thanks to the recent youtube video ( https://www.youtube.com/watch?v=bCNnP8FDSNA ) -- thanks!

      Before finding the video, I tried setting it up with older guides that are quite a bit different setup flows. It was especially hard given there was no logs on the pfsense side for WG to troubleshoot. Looking around online, it appears the common solution to enabling WG logging is

      echo 'module wireguard +p' | sudo tee /sys/kernel/debug/dynamic_debug/control
      

      However, that doesn't appear to work with pfsense.

      [21.05.1-RELEASE][admin@pfSense.local.lan]/root: echo 'module wireguard +p' | sudo tee /sys/kernel/debug/dynamic_debug/control
      sudo: Command not found.
      

      I also send all the log files to a SIEM via syslog.

      Any plans on having a native logging option one can enable? and/or something that's at least written to file I can hack to pick up by syslog-ng?

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