To access a private web server from outside public network, we require live ips, the following diagram shows how to setup the network for accessing the web server.


The above mentioned diagram shows the following things

1)      Outside Internet

2)      Router

3)      Firewall

4)      The Inside Server

The outside internet is terminated to the Router, It may also be a modem, This can be configured with bridge mode. So that there is no need to give a live ip to this device.

The Router is connected to the firewall. In firewall there are two interfaces, One is outside interface and the other one is Inside Interface. We need to assign the live ip to the outside interface. The Inside interface will be having a Local ip. (In the above diagram the outside ip is 172.30.x.1 and the inside ip of firewall is 192.254.x.254)

The firewall inside interface noramllay terminates to a switch. Sometimes the firewall is having inbuilt switch, in that case you can connect the inside servers to this switch.

The server is having a local ip (diagram it is 192.254.x.1) The Gateway ip of this server will be the inside interface ip of the firewall.

To access the web service from outside you need to do a port forwarding on the firewall


1)      The above scenario is possible only if your service provide supports bridged modem setup

2)      If you are using a single live ip , then this ip will be used for internal internet browsing and external web server access. This will reduce the performance.

Post By Editor (2,827 Posts)

Website: →