I have a D-Link DSL-321B modem and an Asus RN-N12E_B1 router.
The modem is connected directly with the internet. The router is the only device directly connected to the modem. My computer is connected with the router and gets its IP address via DHCP. I want to be able to access the Apache Web server (port 80) running on my computer from the internet. The server can be reached from within the LAN.
Here a little sketch to illustrate the topology:
Both devices have the option to port forward. Which device do I have to port forward how (and why)? I already tried all possible combinations but it doesn't work.
IP addresses to make explanations easier:
- Modem global 84.141.XXX.XXX
- Modem local 192.168.1.1
- Router local 192.168.2.1
- My computer local 192.168.2.216
- Enabling DMZ in the modem doesn't help either (pointing to the router).
- DHCP is disabled in the modem. The port is forwarded on the router.