Re: Public / private IP addresses

From: Alan Chandler (alan_at_chandlerfamily.org.uk)
Date: 12/30/03

  • Next message: Shaul Karl: "Re: modem external"
    To: debian-user@lists.debian.org
    Date: Tue, 30 Dec 2003 08:07:40 +0000
    
    

    On Monday 29 December 2003 11:43, Antony Gelberg wrote:
    > Hi all,
    >
    > I've dealt with quite a few LANs over the years. I'd like to try
    > something that I never have done before...
    >
    > I work with ADSL providers who allocate 5 public IP addresses (sometimes
    > 1) to a connection. If I have a LAN of, say, 20 workstations, I can use
    > NAT, and give them private addresses - no problem.
    >
    > I usually have an ADSL router / modem, hooked up to a Linux box
    > configured as a bridging firewall, which connects to a switch.
    >
    > But if they wanted to run a public email server as well, clearly that
    > needs a public IP address. Fine, but how does the routing aspect work?
    > Do I need to ditch the bridging configuration on the firewall and
    > reconfigure it as a router with 3 NICs? One connected to the WAN, one
    > to the private LAN switch, and one to the public server(s) switch?

    There is ANOTHER way - one that I use. My router allows port forwarding. In
    other words a mail connection request on port 25 (SMTP) is forwarded by the
    router from its WAN side IP address to a designated IP address on the Lan
    side (10.0.10.100 in by case). I can do the same on other ports as well - so
    for instance to make the web site available externally I forward port 80 to
    the same machine.

    -- 
    Alan Chandler
    alan@chandlerfamily.org.uk
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Shaul Karl: "Re: modem external"

    Relevant Pages

    • Re: Remote desktop & Netgear router
      ... if you can connect to the PC from another PC using the "private LAN IP address" over your ... local LAN then Remote Desktop is obviously setup right and working. ... The issue then is the port forwarding on the router. ...
      (microsoft.public.windowsxp.work_remotely)
    • Re: [Full-Disclosure] Microsoft urging users to buy Harware Firewalls
      ... I have a 5 machine LAN here at home and I have Astaro Security Linux ... >>I agree with Microsoft's recommendation for a hardware firewall on all ... Then the user finds about port forwarding, and as soon as the user has ... > at the router and cannot get to the computers in the local network. ...
      (Full-Disclosure)
    • Re: Network nightmare
      ... device than that 8 port switch. ... Power on only the ISP's box and wait for it to stabilize. ... procedure then any router will take care of your PC's ...
      (alt.comp.hardware.pc-homebuilt)
    • Re: probably an easy routing question, so please help
      ... plugged into the same gigabit switch as Server B in Block 2 and they ... from a 10Mb link to the router and the computers are both hooked into ... not run out the 10Mb port to the router with all of its traffic, ... nodes in the two networks you don't own. ...
      (comp.dcom.sys.cisco)
    • Re: It works, but now....
      ... The switch is transparant. ... > LAN connected to a DSL router-modem, which means that the router is the ... reason to send packets to its port otherwise. ...
      (comp.os.linux.networking)