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

    Blocking ports for IPs

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 1.8k 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.
    • J
      joker9494
      last edited by

      I would like to be able to block a port only on one IP, in and out bound traffic. For example Port: 1000 IP: 192.168.1.199. My basic goal is to block P2P traffic for one ip on my internal network.

      Thank You Sean

      pfSense Box:
      2.8Ghz dual core AMD
      1 Gbit DDR2 Ram
      80GB squid cash
      2 Intel Pro GT 1000

      1 Reply Last reply Reply Quote 0
      • D
        danswartz
        last edited by

        Go to rules, and then LAN.  Add whatever rules you need to block whatever you want.  You need to enable Advanced Outbound NAT, and make sure the default allow all rule comes last.

        1 Reply Last reply Reply Quote 0
        • J
          joker9494
          last edited by

          how do I enable Advanced Outbound NAT?

          pfSense Box:
          2.8Ghz dual core AMD
          1 Gbit DDR2 Ram
          80GB squid cash
          2 Intel Pro GT 1000

          1 Reply Last reply Reply Quote 0
          • D
            danswartz
            last edited by

            go to firewall => nat => outbound.  click the radio button to select AON.  after you hit save, an auto-generated allow/any rule will appear for LAN => outside will appear.  go from there.

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