Hi all,
I've read a bunch of articles about this, but I can't seem to find a specific article for my use case. Here it is:
I will be hosting a web server on public WAN and would like pfSense to be the firewall that only allows traffic from ports 80/443 into the DMZ to that web server. The pfSense firewall will be virtualized on my Proxmox host.
What I think I should do:
So, from the articles I read I'd need to create 2 Linux Bridges, vmbr0 (DMZ network) and vmbr1 (Public WAN facing). The host I have has 4 NICs, but I'm thinking I'll only need to use 1 since pfSense will be handling NAT.
So for vmbr0, I'm assuming I'll set that IP to be the subnet of the internal DMZ network. vmbr1 will have no configuration, just a bridge with the physical NIC in it. Then once that's done, I'll need to create the VM for pfSense with 2 NICs, one tied to vmbr0 and vmbr1. I think that's the correct method, but would love someone to confirm.
Also, could someone post an example /etc/network/interfaces layout that would work? I'm a bit confused on that part.
I also will probably need to temporarily hook up the Proxmox host to a dumb switch and then my laptop with an IP on the same DMZ subnet so I can access the management interface to install the pfSense VM.
If there's a better way to do it, all advice/tips appreciated! Thank you.
I've read a bunch of articles about this, but I can't seem to find a specific article for my use case. Here it is:
I will be hosting a web server on public WAN and would like pfSense to be the firewall that only allows traffic from ports 80/443 into the DMZ to that web server. The pfSense firewall will be virtualized on my Proxmox host.
What I think I should do:
So, from the articles I read I'd need to create 2 Linux Bridges, vmbr0 (DMZ network) and vmbr1 (Public WAN facing). The host I have has 4 NICs, but I'm thinking I'll only need to use 1 since pfSense will be handling NAT.
So for vmbr0, I'm assuming I'll set that IP to be the subnet of the internal DMZ network. vmbr1 will have no configuration, just a bridge with the physical NIC in it. Then once that's done, I'll need to create the VM for pfSense with 2 NICs, one tied to vmbr0 and vmbr1. I think that's the correct method, but would love someone to confirm.
Also, could someone post an example /etc/network/interfaces layout that would work? I'm a bit confused on that part.
I also will probably need to temporarily hook up the Proxmox host to a dumb switch and then my laptop with an IP on the same DMZ subnet so I can access the management interface to install the pfSense VM.
If there's a better way to do it, all advice/tips appreciated! Thank you.