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

NAT forwarding for UBUNTU

Hello, I recently added a box that runs the latest ubuntu.  This box is behind astaro.  I assigned a network definition for this box and assigned it its own IP address with the gateway IP being the astaro internal address.  I set up DNAT as: Traffic selector: Any - Any - External Address, destination: Linux IP. SNAT: Linux IP - Any - Internet IPv4, source: External Address.  Both rules have automatic packet filtering enabled.  Within Ubuntu when I type: apt-get update it fails to connect to the outside to update the box.  Is there something I need to set in Ubuntu to communicate with the gateway any further than I already have?  When I type ifconfig the IP matches the IP assigned to it in astaro.  Any help is greatly appreciated.  Thank you.


This thread was automatically locked due to age.
  • Hello, I recently added a box that runs the latest ubuntu.  This box is behind astaro.  I assigned a network definition for this box and assigned it its own IP address with the gateway IP being the astaro internal address.  I set up DNAT as: Traffic selector: Any - Any - External Address, destination: Linux IP. SNAT: Linux IP - Any - Internet IPv4, source: External Address.  Both rules have automatic packet filtering enabled.  Within Ubuntu when I type: apt-get update it fails to connect to the outside to update the box.  Is there something I need to set in Ubuntu to communicate with the gateway any further than I already have?  When I type ifconfig the IP matches the IP assigned to it in astaro.  Any help is greatly appreciated.  Thank you.


    Hi rdx,

    Normally in the situation you describe you'd use masquerading instead of separate dnat & snat rules.
  • Always check the packet filter (firewall) log.  If the mystery persists, check the Intrusion Prevention log.

    Cheers - Bob