How to properly add linux bridge to pfsense in proxmox
-
context: I'm a pfsense noob, sorry for the dumb questions
My current set up is I have pfsense (10.10.1.1) in a VM in proxmox (10.10.1.2) VE 7.3. Proxmox loops back to the pfsense VM. I created a linux bridge on the VE and added it to pfsense, named OPT1. I enabled OPT1, assigned it a static IPv4 (10.10.2.1/24), and then added a static lease for another VM to this interface (10.10.2.2)
The VM with 10.10.2.2 gets it's assigned IP but I have no access to the LAN or WAN. I'm guessing this is a rule thing? Admittedly I don't know what I'm missing. Thanks in advance
-
@bumzag
If you add additional interfaces to pfSense you need to create firewall rules on it to pass traffic. Otherwise devices on this interface cannot get to anywhere. -
@viragomann said in How to properly add linux bridge to pfsense in proxmox:
@bumzag
If you add additional interfaces to pfSense you need to create firewall rules on it to pass traffic. Otherwise devices on this interface cannot get to anywhere.I had a feeling. These are the rules I've added to the new interface, what's wrong about them?
-
@bumzag
Seems as you could not do more from the point of rules.Did you set pfSense as gateway on the VM?
Can you even ping the pfSense OPT1 IP?
-
@viragomann so I used
route -n
and it was indeed missing a gateway. I updated the VMs interface and added pfsense as the gateway. Now when I ping the gateway (10.10.1.1) I'm gettingFrom 10.10.2.2 icmp_seq=1 Destination Host Unreachable
whereas before it just said Network FailureEdit: nvm I got it.
I gave the VM's network interface a static IP with /etc/network/interfaces and had to set its gateway as the IP of the linux bridge on the VE.