HOWTO Activate NAT on Debian

  1. Peru's Dokeos Kids Syllabus, 5th volume
  2. Integracion entre Dokeos y Joomla
  3. Dokeos Joomla Integration
  4. config1
  5. cargarplugin
  6. group
  7. panel
  8. administracion
  9. config2
This article is incomplete and was first written in September 2006
for the BeezNest technical website (

An example on how to activate NAT on a Debian box (on Etch and up).

First, activate IP forwarding in /etc/sysctl.conf.

Then, you need to activate NAT itself in /etc/network/interfaces:

auto eth0
iface eth0 inet static
        up iptables -t nat -A POSTROUTING -o $IFACE -j MASQUERADE

There you are.

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on TumblrEmail this to someone

Leave a Reply

Your email address will not be published. Required fields are marked *