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

View active connections

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 3 Posters 8.7k 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.
  • H
    Heli0s
    last edited by May 29, 2014, 1:24 AM

    I have a pfSense installation that's acting as a firewall, DNS, IDS/IPS and DHCP server. Behind it I have a web server that users can connect to. I've setup port forwarding so that when a user connects to http://WAN_IP:PORT1, it gets forwarded to http://LAN_IP:PORT2. Everything is working great.

    My question is: is there a way to see who connected (their IP) and when on pfSense? I went through the logs but couldn't find anything.

    1 Reply Last reply Reply Quote 0
    • M
      MindfulCoyote
      last edited by May 29, 2014, 4:11 AM

      There are a number of packages to show various connection statistics. If you're trying to view the information using only the default installation, then Menu; "Diagnostics"; "States" will show you the active translations. (You could put the LAN_IP in the filter field.) Additionally, Menu "Diagnostics"; "pfTop" will show you live connections in realtime.

      Neither of those options will show an actual timestamp or much of any historical data at all. For that type of information you'll want to install a package.  I like ntop personally, but again not much historical data there.

      Err

      –
      Erreu Gedmon

      Firewalls are hard...
      but the book makes it easier: https://portal.pfsense.org/book/

      1 Reply Last reply Reply Quote 0
      • B
        BBcan177 Moderator
        last edited by May 29, 2014, 5:44 AM

        Hi Hell0s,

        If you edit the rule that you created to allow the Web access, scroll to the bottom of the rule and you will see a checkbox for logging.

        "Log packets that are handled by this rule
        Hint: the firewall has limited local log space. Don't turn on logging for everything. If you want to do a lot of logging, consider using a remote syslog server (see the Diagnostics: System logs: Settings page)."

        "Experience is something you don't get until just after you need it."

        Website: http://pfBlockerNG.com
        Twitter: @BBcan177  #pfBlockerNG
        Reddit: https://www.reddit.com/r/pfBlockerNG/new/

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received