RouterModem + pfsense Router
karlpox last edited by
I was wondering how do I port forward from 2 routers with 2 different gateways?
My connection is like this:
Internet -> RouterModem (192.168.254.254) -> pfsense box (192.168.254.101 from RouterModem and 192.168.0.1 from Client Devices/PCs)
I wanted to open a port for my Apache. But I cant add the IP (192.168.0.189) of my PC to the RouterModem because its from a different gateway. How do I make this work?
I already tried opening a port (8181) from RouterModem on IP 192.168.254.101. Then I opened the same port (8181) on pfsense for the IP 192.168.0.189 but doesnt seem to work.
viragomann last edited by
You should switch the router in bridge mode if this is possible and configure your public IP on pfSenses WAN interface.
In your setup you do double-NAT and the are issues if you want to reach a host behind from the internet.
You may also switch your pfSense in bridge mode, but when do so you cannot use services on pfSense like captive portal or VPN server.