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

    Routing of broadcast traffic

    Scheduled Pinned Locked Moved Routing and Multi WAN
    9 Posts 4 Posters 15.9k 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.
    • P
      pwnell
      last edited by

      Is it possible in pfSense to route broadcast traffic on one subnet to another?  For instance, I want traffic destined for the broadcast address of subnet 192.168.0.0/24 to be forwarded to the broadcast address of subnet 192.168.1.0/24, and vice versa.  (LAN and OPT1).  So for broadcasts on one subnet should span to the other as well.  But I do NOT want to bridge them. Is this possible?

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

        What are you trying to achieve? What protocol(s) are involved?

        I doubt that it's possible with an out-of-the-box pfSense - you're probably going to need some kind of relaying service on pfSense.

        1 Reply Last reply Reply Quote 0
        • P
          pwnell
          last edited by

          UDP.  I want to play StarCraft on my LAN, which has two subnets.  It uses UDP broadcast traffic to port 6111 on 255.255.255.255 so obviously currently only the subnet the server is on sees its traffic, and only the subnet the other pc is on sees the polling broadcasts from that pc.  Both the server and client(s) send out UDP broadcasts, so the forwarding will have to happen both ways.

          I tried udp-proxy, and it sort of works.  I can see the game appear in the list, however the moment I click on it or wait 5 seconds it disappears again.

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

            Try using VLan it should pass all broadcast traffic to each subnet. Or simply re-subnet your network like 192.168.0.0/23.

            1 Reply Last reply Reply Quote 0
            • P
              pwnell
              last edited by

              If I re-subnet my network how will I control the firewall rules between the two networks?  Surely then they become one subnet?  I want to keep the Wireless subnet separate from the LAN for security reasons.

              I'll have a look at VLAN's - thanks.

              1 Reply Last reply Reply Quote 0
              • P
                pwnell
                last edited by

                I am not that familiar with setting up VLANs.  How would I go about it?  I assume I want one VLAN since it defines the broadcast domain, right? But how do I join both my NIC's to this VLAN? Not sure I follow… Wiki/articles here did not help that much as most people uses VLANs with VLAN capable switches and/or the WAN interface.

                1 Reply Last reply Reply Quote 0
                • GruensFroeschliG
                  GruensFroeschli
                  last edited by

                  VLANs will not work!
                  VLANs are used to separate groups on the same layer1.
                  They kind of do the exact opposite of what you want.

                  What you need is some kind of broadcast proxy.
                  This might help you:
                  http://forum.pfsense.org/index.php/topic,15569.msg81508.html#msg81508

                  We do what we must, because we can.

                  Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                  1 Reply Last reply Reply Quote 0
                  • P
                    pwnell
                    last edited by

                    Thanks.  I ended up doing exactly that and it works perfectly.  I had to modify the guy's code a bit but here is what I did (if someone else has the same problem): http://www.waldonell.com/me/node/336

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

                      Thanks! This is very useful.

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