This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Web Server behind firewall

I am trying to setup a web server behind astaro. I know there is lots of other threads on this topic but my setup is a little more confusing then others. lets see if I can even explain it. I want to be secure behind astaro. my parents cant because of reasons. So i started my own network. its part of there network  physically but not logically. There network is 192.168.0.X and mine is 192.168.1.X. I want a web server in my network viewable by world. what do i have to setup in astro to make this happen and what will i have to setup on there netgear router. DHCP will be turned off on my network once i get all my servers up, i know that it will cause problems.



so in summery

Objective: web server accessible by world.

webserver ip:192.168.1.103
astro ip on my side: 192.168.1.2
astro ip on parents side: 192.168.0.6
netgear (parents) router: 192.168.0.1

Astaro settings

fully uptodate 7.202

DNAT
traffic source: any
Traffic Service: HTTP
Traffic Destination: Netgear(192.168.0.1)
NAT mode: DNAT
Destination: webserver(192.168.1.103)
Destination Service:HTTP

Packet Filter
Source: any
Service: http
Destination: webserver(192.168.1.103)
Action: allow

Netgear forwarding settings

port:80
Destination:192.168.0.6

Anything else you need to know to help. Thank you for your time.



This thread was automatically locked due to age.
  • I'd strongly recommend physically separating the 2 networks.
    Having the same IPs appear on the EXT and INT interfaces of the firewall are likely to cause stability problems. (not to mention the security risks)

    Hook your parent's computer, and the EXT Astaro interface to the Netgear. Use a switch or the linksys AP if the Netgear doesn't have a switch built-in.

    Hook your PCs and the web server to the INT interface of Astaro.

    Forward port 80 through the Netgear to the EXT interface of Astaro, and then forward (DNAT) that on Astaro to the webserver.

    Barry
    • DNAT
      traffic source: any
      Traffic Service: HTTP
      Traffic Destination: Netgear(192.168.0.1)
      NAT mode: DNAT
      Destination: webserver(192.168.1.103)
      Destination Service:HTTP


      The first destination should be the Astaro EXT interface, not the Netgear.

      Also keep in mind that many residential ISPs don't allow incoming port 80 traffic.

      Barry
      • The first destination should be the Astaro EXT interface, not the Netgear.

        Also keep in mind that many residential ISPs don't allow incoming port 80 traffic.

        Barry


        thanks that fixed it thread can be closed