This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NATTING a routed network

We have an unusual public network setup.  We have a total of 3 interfaces.

Interface 1: has a public 209.44.60.253/30 network
Interface 2: has a public 209.44.70.XX/24 network.
Interface 3: is our private network.

Interface 1 is connected to our ISP routers.  Interface two is connected to a switch with public servers with a public IP...they are not natted.

Essentially, our "block" of pulbic ip's are routed to the second interface by the first public interface that is on a different routable public ip.  Thats the way the ISP gave us this block...i know..its weird.  This does work fine for servers on the switch connected to Interface 2.

Interface 1 and 2 act like a pure router and do not NAt between each other.

Now we have a server in the internal network we need to nat a 209.44.70.XX IP to the internal server.  But the normal NAT rule does work.  If we create a new secondary IP on interface 2, and then create a simply DNAT to send that to an internal IP it does not work.  We have no spare IP's on the primary Interface 1 as it's subnet is a single IP. 

Its like the astaro doesn't like to route the traffic to the second interface, and then NAT it to the third interface.

Anybody see a way around this?  With logging turned on for the rule, I do see the initial NAT rule get processed, but no traffic after that.

-Tim


This thread was automatically locked due to age.
Parents
  • Hard to say. [;)] You never mentioned eth4, and you completely hid the IPs - you can hide the details without hiding the meaning.

    Also, please show pics of the DNAT and the packet filter if you didn't use auto packet filter.

    Then again, if this is a new server, maybe its default gateway is set incorrectly.

    Cheers - Bob
Reply
  • Hard to say. [;)] You never mentioned eth4, and you completely hid the IPs - you can hide the details without hiding the meaning.

    Also, please show pics of the DNAT and the packet filter if you didn't use auto packet filter.

    Then again, if this is a new server, maybe its default gateway is set incorrectly.

    Cheers - Bob
Children
  • Yup, it was the default gateway.  We are currently dual homed with a sonicwall.

    It was still pointing to the sonicwall as the default gateway.  

    I guess I thought that the server would see the traffic as coming from the Private IP on the astaro and would send the traffic back to the astaro but I guess it does not....that would be a Full nat ;-)

    Eitherway, setting the gateway to the Astaro worked.  

    Thanks!