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

    Complete bridge between virtual interface and WAN

    Scheduled Pinned Locked Moved Routing and Multi WAN
    10 Posts 3 Posters 363 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.
    • S
      stijnrosaer
      last edited by

      I would like to create a bridge between a virtual interface and the WAN interface. I know that this way, the devices on that interface will receive a public IP-address. What I actually would like to achieve is some sort of virtual switch with no firewall between them.

      I have some other interfaces that still need the DHCP and private ip-addresses. But that is in place for some time.

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Why not just use a switch?

        Genuinely curious.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • S
          stijnrosaer
          last edited by

          @Derelict Because on of the devices is located in another room. There is only one UTP cable to that room so I work with VLAN's and managed switches.

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

            Huh?? What does that have to do with bridge?

            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
            • S
              stijnrosaer
              last edited by

              My devices that should be bridged are on a VLAN. The bridge should consist of that vlan and the WAN interface

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

                But you state

                with no firewall between them.

                So run whatever vlan that is there without going through pfsense..

                Why do you have pfsense being used as a bridge?? If you want pfsense wan to have an IP on its wan in that vlan, then do that.. Why should pfsense be involved in bridging that L2 to other devices?

                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
                • S
                  stijnrosaer
                  last edited by

                  I have about 6 VLAN's in total, all entering pfsense over the same UTP cable. Only one should be bridged

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

                    Not sure why you think a router should be a bridge for your vlans...

                    Put a switch in front of psfense - do whatever you want with the vlans - send them where ever.. Connect pfsense to whatever vlans it should use for its wan(s), etc.

                    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
                    • S
                      stijnrosaer
                      last edited by

                      Every vlan enters pfsense on the same physical interface, so pfsense separates the into logical interfaces. That is now all working fine.

                      What still has to be configured is the bridge between the logical interface (made from that one VLAN).

                      1 Reply Last reply Reply Quote 0
                      • DerelictD
                        Derelict LAYER 8 Netgate
                        last edited by

                        https://docs.netgate.com/pfsense/en/latest/book/bridging/index.html

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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