• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 560 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 Mar 28, 2021, 6:50 PM

    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)?

    J 1 Reply Last reply Mar 28, 2021, 7:06 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @skysurf76
      last edited by johnpoz Mar 28, 2021, 7:09 PM Mar 28, 2021, 7:06 PM

      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 Mar 28, 2021, 7:11 PM

        Thanks john! Thats exactly what I was looking for.

        J 1 Reply Last reply Mar 28, 2021, 7:13 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @skysurf76
          last edited by Mar 28, 2021, 7:13 PM

          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
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received