Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to configure NAT for my network of 10 computers so that the data is transmitted via a single pc.

Can anyone give a good tutorial for it?

share|improve this question
possible duplicate of NATTING in Ubuntu Server – Mitch Jun 13 '13 at 7:12
@Mitch Here the OP is asking about "a good tutorial", there the question is a little bit confused. – Radu Rădeanu Jun 13 '13 at 7:23
up vote 6 down vote accepted

This tutorial is a step-by-step configuration of NAT with iptables:

Configure Nat - 1 Configure Nat - 2


share|improve this answer
This is mildly okay for RedHat/SUSE but those aren't the right files/settings for Debian or Ubuntu. – Mead Mar 10 at 23:31

There are a few good tutorials out there.

share|improve this answer
Thanks for the reply Radu and Steven. – Tarun Jun 13 '13 at 6:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.