Hello,

  I seem to be having an iptables problem.

  Once I turn NAT on all communication between the 2 nic cards seems
  to die.  With NAT off I can send data between the 2 sides (I put a
  machine on the outside network for test.)

  in /etc/sysconfig/iptables I add the following line in the NAT
  section

  -A POSTROUTING -o eth0 -j SNAT --to 216.62.231.57-216.62.231.60

  I have also tried both with and without ip aliases on eth0 of the
  translated addresses.

        --------------------
        |       ISP        |
        |(213.62.231.62/29)|
        --------------------
                 |
                 |(ADSL line)
                 |
--------------------------------------
|            LinuxBox                |  I need the inside addresses
|    (eth0 - 216.62.231.61/29,       |  translated as needed when the
|       eth1 - 10.1.1.1/24           |  inside boxes need to go out to
|    Addresses to translate to       |  the internet.  There are more
|216.62.231.57/29 - 216.62.231.60/29)|  inside boxes than there are
--------------------------------------  outside addresses.
                 |
                 |
        -------------------
        |Cisco 2900 Switch|
        -------------------
            | | | | | |
            | | | | | |
      ------------------------
      |      InsideBoxes     |
      |(10.1.1.2 - 10.1.1.10)|
      ------------------------
  


      
-- 
Best regards,
 Robin                          mailto:[EMAIL PROTECTED]


Reply via email to