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

    How to log all access to a certain web address or ip?

    Firewalling
    2
    4
    667
    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.
    • C
      cinlung
      last edited by

      Hi All PFSense Experts

      I am recently having trouble of my ISP suspending my account because they logged that my IP (shared ISP IP Address) is trying to access my domain cpanel and made many errors.

      Because of this, I want to be able to log all possible access coming out of my office to our cpanel ip or domain name. How do I do this with CPanel?

      I want to catch who has been trying to break my cpanel. Is it virus or human, from which computer and so on.

      Please help

      Thank you

      1 Reply Last reply Reply Quote 0
      • G
        guardian Rebel Alliance
        last edited by

        I would create an allow rule to pass traffic to your web host with logging enabled.  I am assuming you have only a WAN/LAN.  If you have other interfaces, you would either have to put a rule on each interface or use a floating rule with "quick match" selected.

        Go to Firewall / Rules / LAN

        • Click button to add a rule to the top of the list.

        Under Firewall / Rules / Edit
        -Action: Allow
        -Interface: LAN
        -Destination: Single Host or Alias (Insert address of your host)
        -Check: Log: Log packets that are handled by this rule
        (Select any protocol / port restrictions if appropriate)

        Hope that gives you a start.

        If you find my post useful, please give it a thumbs up!
        pfSense 2.7.2-RELEASE

        1 Reply Last reply Reply Quote 0
        • C
          cinlung
          last edited by

          Thank you sooooo much @guardian. You are a guardian angel :)  :D

          1 Reply Last reply Reply Quote 0
          • G
            guardian Rebel Alliance
            last edited by

            @cinlung:

            Thank you sooooo much @guardian. You are a guardian angel :)  :D

            Welcome…. Please click the thank you or applaud on the message...

            If you find my post useful, please give it a thumbs up!
            pfSense 2.7.2-RELEASE

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