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

    Block websites and ports on APU1D4

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 779 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 Offline
      HunorR
      last edited by

      Hello, I have the APU1D4 whit SD card, so the first problem is that i cant install the squidguard because it is not working, it is just installed and it doesn't do anything.So my first question is how can i make a firewall rule to block some ports and ip-s,and the second question is how to specify the time and date to activate the rule.

      thanks for the help :)

      1 Reply Last reply Reply Quote 0
      • KOMK Offline
        KOM
        last edited by

        SquidGuard relies on Squid.  Do you have Squid installed?  The hardware units with SD cards do not work well with Squid unless you set the hard disk cache size to 0 and the hard disk cache system to Null.

        https://doc.pfsense.org/index.php/Firewall_Rule_Basics

        https://doc.pfsense.org/index.php/Firewall_Rule_Troubleshooting

        https://doc.pfsense.org/index.php/Firewall_Rule_Schedules

        1 Reply Last reply Reply Quote 0
        • H Offline
          HunorR
          last edited by

          hey thanks for the replay,meanwhile i found some way to install squidguard. I just upgraded the RAM Disk settings and now i can load the blacklist to the APU1. So for the port blocking or website blocking, i think for the port blocking i found an example:
          Action: Block
          Interface : LAN
          TCP/IP Version : IPv4
          Protocol: UDP
          Source port range: from 27000
                                          to  27015

          Destination: LAN address

          This will block UDP 27000-27015 on the LAN ?
          I can't find an example for the ip or address blocking. :-[

          1 Reply Last reply Reply Quote 0
          • KOMK Offline
            KOM
            last edited by

            LIke I said earlier, if you're using Squid with an appliance & a CF card then you need to set your chache size to 0 and file system to null.

            I can't find an example for the ip or address blocking.

            If you want to block custom sites, create a Target Category.  Add your IP or domain.  Then edit your Target Category's permission in Common ACL's Target Rules List.

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