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

    How to isolate a computer from the Internet by applying firewall rules?

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 3 Posters 541 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.
    • F
      fmohcine26
      last edited by

      Hello
      I want to isolate the Ethernet network card of a computer from the Internet access, by forcing the user to connect by wifi, to no longer activate the Wi-Fi mobile hotspot on the computer
      on my network, there are machines connected by cable, including a television and 3 computers
      I want to keep the cable connected and apply the rule on the firewall
      Thank you
      Schéma-sécurisation-de-son-ordinateur-et-box-768x576.jpg
      Schéma-sécurisation-de-son-ordinateur-et-box-768x576.jpg_thumb

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

        Create a rule above the default any any rule that blocks access to any..  Use as source the IP address of the devices you want to block.  If there are multiple devices you can use an alias, or create individual rules.

        Make sure the device always has that IP by either setting it static on the device or creating a reservation for its mac address in the dhcp server.

        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
        • SammyWooS
          SammyWoo
          last edited by

          @fmohcine26:

          by forcing the user to connect by wifi, to no longer activate the Wi-Fi mobile hotspot on the computer

          HUH?

          The above says is here nor there.  Do you want the user Internet access through WIFI or not?

          1 Reply Last reply Reply Quote 0
          • F
            fmohcine26
            last edited by

            I want to allow Wi-Fi to connect to the Internet and prevent ethernet card

            1 Reply Last reply Reply Quote 0
            • SammyWooS
              SammyWoo
              last edited by

              Then John's solution will work.

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