Bridge firewall between two lans
-
I managed to buy my first ever rack server. It's a Dell r620 and it has a quad ethernet BCM5720.
I installed proxmox and passed two ports to a pfsense VM. I plugged the ethernet cable which came from the back of my isp router (AVM Fritz 7590) into the wan port and I connected the other lan port to my l2 switch of my lan in my bedroom.At this point i followed a guide at this link:
https://forum.netgate.com/topic/46137/pfsense-2-0-transparent-firewall-firewall-bridgeSo i disabled nat, set net.link.bridge.pfil_bridge to 1, bridged wan and lan into OPT1, got locked out, disabled firewall with pfctl -d to regain access, set firewall rules, set wan and lan interfaces to none, disabled DHCP v4 and v6 and gave an ip to OPT1.
The result is that every device outside of my lan can access my devices but from the inside of my lan i cant access to the outside. If i disable the firewall with pfctl -d everything works (killing the purpose of the firewall).
Down there is the diagram of my network. I want to be able to access my server and shares even if i'm connected to my family lan as if it would be an unique lan. Dhcp is provided by my gateaway.
This is my first time ever using pfsense. Sorry for typo too. I hope you can help me, and thanks in advance.