Connect to Modem through Firewall (not using PPPoE)
I have a cable modem with an internal web server on 192.168.2.1 that I would like to access from hosts inside the firewall. My internal subnets are all 10./ so there is no interference there. I found this guide, but my WAN interface is not connected with PPPoE, and instead gets its IP addresses via DHCP. I am not able to create an OPT interface on the same physical interface (in this case VLAN 4090 on mvneta0).
Is this possible? What is the right approach here?
So in this case, you have only to add a virtual IP to the WAN within the modems subnet, I guess 192.168.2.0/24.
Then configure the NAT for this IP as described in the guide.