I hope this makes sense, I'm completely self taught and planning on going for formal instruction. As I understand this is possible, however I haven't been able to find definitive answers to my situation.
I'm trying to use a pfSense VM as a router/firewall to my internal VM network - routing all traffic from VMs through pfsense before the physical router/modem and then to the wild, &vice-versa
I'm having difficulty port forwarding remote incoming traffic from internet through my physical modem/router(192.168.0.1) to my bridged pfSense virtual machine (2 NICs; 1. WAN 192.168.0.30 -- 2. LAN 192.168.1.1) and then through to my centOS web-server (192.168.1.102)
Physical Modem Public IP (example 25.60.124.30) not actual ip*
physical router cisco default gateway (192.168.0.1)
guest VM pfsense (bridged 192.168.0.30, IntNet 192.168.1.1)
guest VM CentOS (IntNet 192.168.1.102)
Currently all of my VMs' outbound traffic go through pfSense and have internet access. It's the incoming traffic to a webserver VM I'm having difficulty with. I've created port forward rules in both my physical router and in pfsense but with no luck.
My question is:
Is it just a matter of port forwarding remote traffic from my public ip address on port 80 to my pfsense WAN ip, and then forward from pfsense to my centOS server?
Ie. remote connection --> my public ip(physical modem/router in my home) --> bridged pfsense vm LAN ip --> centOS VM ip
or
Do I need to somehow port forward from my public ip on port 80 to the WAN on pfsense, then to the LAN ip on pfsense before I forward again to centOS?
ie. remote connection --> my public ip(physical modem/router in my home) --> bridged pfsense vm WAN ip --> bridged pfsense LAN ip --> centOS VM ip
Is there something I'm missing or have I over-simplified this in my mind, and its just not possible?
I'm a noob; please be nice :3