There is a router:

The provider allocated to me an external static ip address: 48.39.242.122

Subnet mask:
255.255.255.0

Main gate:
48.39.242.1

This is wan

LAN ip router 192.168.0.1

The router runs an automatic DHCP server (192.168.0.60-192.168.0.200) and connected some nodes to mac addresses 192.168.0.101 192.168.0.102 192.168.0.103

It is necessary that my external ip 48.39.242.122 is still available on node 192.168.0.102 to configure the DNS and WWW server there

How can this be organized? That also the DHCP server functioned.


enter image description here

  • 2
    The router should be port forwarding (port forwarding or something like that) - andreymal
  • I do not see this in the settings. There is a Port Triggering - manking
  • "Redirection" maybe it is - andreymal
  • Added a picture - manking
  • 2
    "Virtual servers" maybe it - andreymal

2 answers 2

  1. DHCP - Address Reservation. Reserve ip-address 192.168.0.102 for a specific device.
  2. Forwarding - Virtual Server - Add New. Here add the necessary ports. 53 TCP / UDP for DNS and 80 TCP and 443 TCP for WEB.
  • Usually addresses are distributed as follows: 192.168.0.1 - router, 192.168.0.2 - 192.168.0.9 - "servers", 192.168.0.10 - 192.168.0.254 - DHCP - str4n9er

It seems there is such an interesting thing as DMZ, if you register your local IP there, then the computer will completely hang around the Internet with all the open holes.

If you need a WWW server, then first of all, it is advisable on the router to assign a static IP to a local computer that works as a web server. Then through "Forwarding - Virtual Servers" to redirect ports 80 and 443 (if necessary) to the assigned statics. Do not forget to check that the firewall on the local computer does not block your 80 and 443 port.