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

    How to block IP camera coms with Inet, but allow it to get NTP from PFSense

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 559 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.
    • S
      skysurf76
      last edited by

      I'm sure this is crazy easy, but I'm having a brain fart.

      Whats the best way to put a rule in that blocks an IP camera from communicating out on the Wan but allows it to talk to the NTP server on PFSense (192.168.0.1)?

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @skysurf76
        last edited by johnpoz

        An allow rule to pfsense address on the ntp port.. Above your block rule to any (internet)

        For example

        rules.png

        See my allow ntp rule there near the top.. And that rule at the bottom that allows internet, if you changed that to block/reject at the bottom of your rules then internet would be blocked.

        or just removed it all together, since the default rule is deny..

        Rules are evaluated top down, first rule to trigger wins, no other rules are evaluated.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • S
          skysurf76
          last edited by

          Thanks john! Thats exactly what I was looking for.

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @skysurf76
            last edited by

            If you ever question your rules - just post them up.. Always happy to express my opinion on rule sets ;)

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

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