Forum OpenACS Q&A: Response to Setting up firewall with a range of ports?

Collapse
Posted by Jade Rubick on
Well, I see a few ways I could do this:

Possibility #1

External Network (BAD)
           |
           |1.2.3.4-9
           |
    ---------------
    | router      |
    ---------------------
    |1.2.3.4  |1.2.3.5   | 1.2.3.6
    |         |          |
  server1  server2     old pc
The problem with this setup is there is no firewall :(

Possibility #2

           |
           |1.2.3.4-9
           |
    ---------------
    | router      |
    ---------------
           |1.2.3.4-9
           |
    ---------------
    |     eth0    |
    |  firewall   |
    |             |
    ---------------
    |eth1    |eth2
    |        
    |         
   switch      switch
    |             
    |              
  server1          home network
   @ 1.2.3.4
  server2
   @ 1.2.3.5
  server3
   @ 1.2.3.6
What I guess I'm curious about is that in the past, I've always set up eth0 to listen to one IP address, say.. 1.2.3.4 Is there a way I can have it listen to the range of ports from 1.2.3.4-9, and then assign these out to server1-3?