Re: Server in a NAT subet?



On 24 Nov 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<1164417411.948131.130310@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, UM wrote:

I can't publish node's IP address as this is not reachable from
outside, and I am not sure what happens if I publish the routers
address.

Ignoring any 'Acceptable Use Policy' or 'Terms of Use' that your ISP may
have, If you have forwarded the port from the router's world address (let's
say '88.107.131.106' that you posted from, and port 80) to the internal
address/port of the real server, then it's essentially the same as above.
The router does of IP re-writing, and the connection goes through.

Sorry I didn't get this part. I am not aware of any legal limitations
ISPs place on incoming connections.

Some ISPs have rules that a home user may not operate a server (meaning
something that provides services to the Internet). For example, more
ISPs are blocking traffic to/from port 25 in an effort to reduce zombie
spam. Others make the rules in order to increase their income - if you
want to run a server, you must have a commercial account, not a home or
personal type account.

The definition of a server in my post is a process that calls listen()
and accept()'s TCP/IP connections. Is this not allowed?

As far is being allowed, you need to read the agreement you have with
your ISP.

Your server is unaware that the world thinks it is located on a different
IP address. The world might see your server on 88.107.131.106, but the
router is re-writing the destination address to 192.168.1.2, and sending
it to that address. On the way back - the router changes the source
address from 192.168.1.2 to 88.107.131.106 and the clients out in the
world have no idea that '88.107.131.106' isn't the actual server.

The only time this might be a problem is if you are hard-coding the IP
address _within_ the data (think of a web page, that includes a URL to
another page on your server - with NAT, you need to code that URL with
the external _name_ that resolves to the external address of your
router [which will then NAT that separate connection, and fetch the page
from your server]). But this should have no effect on the network end
of your server program.

Old guy

.



Relevant Pages

  • Re: static routing
    ... Connections work going out from inside the router, ... I'll have to remove the router and connect the server directly to the cable ... A static route has been added that matches the subnet ...
    (microsoft.public.windows.server.networking)
  • Re: Connection from remote computer to network SQL Server
    ... There is no firewall on the W2K machine acting as the SQL server. ... I tried making the SQL machine a "trusted" on the router. ... connection works. ... To find the IP address of your computer inside the network, ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Networking Question - VLANs on SBS 2003 Premium SP1
    ... port on the old router so I now have a segregated WLAN. ... be sure you do not enable any DHCP server in internal network. ... On the Connection Type page, click Broadband, and then click Next. ... On the Network Connection, You must enable and configure the network ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... seleting full time broadband connection. ... Les Connor [SBS Community Member - SBS MVP] ... check the router as well and unless I missed a firewall setting on it, ... Anyway the Server Ipconfig /all is this... ...
    (microsoft.public.windows.server.sbs)
  • Re: Still cant connect to RWW or OWA remotely
    ... As for error messages when I fail to access RWW with the laptop, ... the server) when you fail to access RWW with the laptop? ... I tried accessing RWW from my laptop connected to a router ... match the broadband connection, the two NIC firewall, the remote ...
    (microsoft.public.windows.server.sbs)