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

    How to block ports from using WAN2?

    Scheduled Pinned Locked Moved Gaming
    4 Posts 2 Posters 4.5k 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.
    • C
      cruzades
      last edited by

      my setup is:

      WAN = DSL (DHCP)
      WAN2 = Wireless Broadband (static)

      loadbalancing is working fine as well as the failover, thanks.

      however, i have this small problem with regards with ports blocking, below are the ports i wanted to block from using WAN2.

      port: 5502-5502
      port: 5105-5105
      port: 5001-5001
      port: 5003-5003

      I don't want these ports to pass on WAN2 if my two broadbands are available, but if my WAN failed, it should go to WAN2.

      psedocode:

      
      If WAN and WAN2 are available
         block ports_list from using WAN2
      endif
      
      if WAN is not available
        allow ports_list to use WAN2
      endif
      
      

      something like that, please guide me, i'm just starting to learn the beauty of this great software (pfsense). thanks

      another thing is..

      is the NIC arrangement has something to do with the priorities in regards with load balancing?

      I mean,as you can see, request are being send on my WAN2 before another request sent may WAN.

      this is how my NIC was installed on my hardware:

      a Tower-like casing
      from the PSU (located at the high most area of the casing), down is my LAN, WAN2, WAN1 respectively.

      NIC1 = LAN
      NIC2 = WAN2
      NIC3 = WAN

      was the NIC arrangements has something to do with priorities?

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        Just create an additional failoverpool for that traffic. Then create some pass firewalrules at LAN that specify that traffic to use that failoverpool. Make sure this rule is above your loadbalancerpoolrules.

        1 Reply Last reply Reply Quote 0
        • C
          cruzades
          last edited by

          @hoba

          I use the stock rules given by our manual.

          kindly give me what entries do i need to fill-up in creating rules? and where do i need to put the rules.

          btw, do i need 2 failover rules to satisfy the blocking?

          thanks again.

          1 Reply Last reply Reply Quote 0
          • C
            cruzades
            last edited by

            @hoba

            sir, thanks so much, i got it worked now.

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