2
I want to build a home network which has multiple webservers inside and plan to use tiny processor boards like raspberry pi, etc. as webservers.
I found that I need to use reverse proxy to reach multiple servers from one public IP's. My plan is, the behind the modem there will be two separate networks: one for everything other than servers, second for servers only. On server network next device is reverse-proxy and last devices servers.
Server network like this: [ modem -> reverseProxy -> Servers). ] -> OtherDevices (PC,Phone etc.)]
My questions are:
My reverse proxy device which I plan to use has 2 Network Ethernet Controllers. Do I need to create another sub-network(NAT I guess) for security or other reason? Do I need to use both ethernet ports?
My second question if I use both ethernet ports do I need routing between 2 network or nginx reverse proxy will just handle it?
My last question if I use routing between two networks does it cause any security issue? Is it worth to use both ethernet controllers? Take spending time and security into account, should I just use one controller or both with bridging or Nat?
I cannot help you with all the details, but it sounds to me like what you are going to set up with two networks is similiar to what is known as a DMZ where the computers in the DMZ are accessible from the outside and from the other inside networks, but where they are not able (for security reasons) to access anything in the other inside networks. – MortenSickel – 2019-12-11T08:01:17.737
@MortenSickel Actually only reverse proxy device can be accessible from outside with help of Port forwarding so i think my network has no DMZ but not sure :) – Emre Anıl TERZİOĞLU – 2019-12-12T07:45:44.673