Complete bridge between virtual interface and WAN
-
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.
-
Why not just use a switch?
Genuinely curious.
-
@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.
-
Huh?? What does that have to do with bridge?
-
My devices that should be bridged are on a VLAN. The bridge should consist of that vlan and the WAN interface
-
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?
-
I have about 6 VLAN's in total, all entering pfsense over the same UTP cable. Only one should be bridged
-
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.
-
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).
-
https://docs.netgate.com/pfsense/en/latest/book/bridging/index.html