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

    How to block connection from pc1 to pc2 (HELP)

    Scheduled Pinned Locked Moved Firewalling
    23 Posts 4 Posters 6.6k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      so the game server is linux?  Then I would suggest you install webmin on it, this gives you an easy to use and understand graphically interface to your firewall (iptables)

      So does your switch support vlans?  Your going to have to connect the server you want to block to your other lan port as the easier option.  But what your doing it much easier with just a host firewall.  Now if you had bunch of servers that you wanted to control access from your clients then sure put all the servers on segment 1, and clients on segment 2 and then you could use pfsense to control access.

      But you got 1 server and 1 client you need to filter - this is easier done on the 1 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
      • P
        podilarius
        last edited by

        Vlans might be an over complication for this situation. You have to have a switch that supports it. Has Johnpoz said put iptables on the linux server and use that to manage iptables. This is not the place to into configuring it though. I do know how though.

        1 Reply Last reply Reply Quote 0
        • B
          billychongg
          last edited by

          @podilarius:

          Vlans might be an over complication for this situation. You have to have a switch that supports it. Has Johnpoz said put iptables on the linux server and use that to manage iptables. This is not the place to into configuring it though. I do know how though.

          Thanks Polilarius and Johnpoz. I will try the suggestion. Appreciated yours precious ideal and time to reply the post.

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