Announcement

Collapse
No announcement yet.

Networking Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Networking Question

    I've got a Apache web server sat behind my router here on my LAN. I need to, on occasion, open it up to the Internet. How do I go about configuring the router? Presumably I need to map my public IP onto the web servers IP. I've tried twiddling with the NAT rules but to no avail. Is it a NAT rule I need to set up or something else?

    Oh and its not on port 80.

    #2
    Sounds like you need to setup an open port to the IP address(local) for the web server. Depends on the router but most should be able to do this.

    Whats your router btw, someone here's likely to have one.

    Alternatively you could setup up a DMZ and point it to your servers IP, downside is its open to anything thrown at it.

    Comment


      #3
      Its some cheap and nasty Solwise job I got free with my ISP (so I shan't complain!). One of these in fact:



      It does seem to have a million and one configuration options so I'm sure its just finding the right thing to twiddle.

      Comment


        #4
        you need to setup 'port forwarding' (or 'source nat', 'snat', 'napt' etc) from your router's public IP address on tcp port 80 to your web server's internal IP address.

        From that link, looks like they call this 'rdr nat':

        rdr NAT rule: 'Standard' port forwarding. Allows you to make a computer on your LAN, such as a Web or FTP server, available to Internet users without requiring you to obtain a public IP address for that computer. The computer's private IP address is translated to your public IP address in all incoming and outgoing data packets.
        No real need to faff around with building a dmz, or running your router as some kind of bridge to assign a public IP address to your web server.

        Comment

        Working...
        X