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

Put IoT reject rules on WAN or LAN?

Scheduled Pinned Locked Moved Firewalling
5 Posts 3 Posters 538 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.
  • L
    left4apple
    last edited by left4apple Oct 30, 2023, 1:53 AM Oct 30, 2023, 1:41 AM

    Hi guys. Quick question about firewall. All of my IoT devices are under the IP range of 10.0.1.0/24 and I want to ban their access to the Internet. There are two places where I can put the rule,

    1. WAN rules. Reject traffics from 10.0.1.0/24 to !RFC1918
    2. LAN rules. The same rule

    Is there a preference that one is better than the other? Thanks!


    Update: Seems my understanding is WRONG. The rule should only be placed on LAN firewall since the firewall only takes effect on "INCOME" traffics

    J S 2 Replies Last reply Oct 30, 2023, 1:59 AM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @left4apple
      last edited by Oct 30, 2023, 1:59 AM

      @left4apple well you can put outbound rules in the floating tab.

      But why would you let traffic into pfsense, just to stop it from leaving.. If you don' want some traffic to get to the internet, its best to stop it before it even enters pfsense.

      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.7.2, 24.11

      L 1 Reply Last reply Oct 30, 2023, 2:05 AM Reply Quote 0
      • L
        left4apple @johnpoz
        last edited by Oct 30, 2023, 2:05 AM

        @johnpoz Hi not sure if I understand the comment correctly. The IoT devices gets DHCP IP from pfSense, and they keep trying to connect to cloud servers. I only want to use them locally via RTSP.

        What would be the correct way to stop the traffic from getting into pfSense? Thanks

        J 1 Reply Last reply Oct 30, 2023, 3:09 AM Reply Quote 0
        • S
          SteveITS Galactic Empire @left4apple
          last edited by Oct 30, 2023, 3:03 AM

          @left4apple said in Put IoT reject rules on WAN or LAN?:

          The rule should only be placed on LAN firewall since the firewall only takes effect on "INCOME" traffics

          This comment is correct. If you are trying to block DNS and/or pfSense port 443 you can block from the IOT network to This Firewall which is all IPs on pfSense.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          1 Reply Last reply Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator @left4apple
            last edited by Oct 30, 2023, 3:09 AM

            @left4apple said in Put IoT reject rules on WAN or LAN?:

            What would be the correct way to stop the traffic from getting into pfSense?

            As you already stated - on the lan side of pfsense.. Before it enters pfsense..

            If someone came to your front door and said hey can I walk through your house to go to your back yard.. Would you stop right there at the front door, or would you let them stomp their muddy feet all through your house and then when they were going to exit your back door say - hey wait a minute I don't want you to go there..

            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.7.2, 24.11

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