This document describes how to enable IP masquerade feature on a Linux host, allowing connected computers that do not have registered Internet IP addresses to connect to the Internet through your Linux box. It is possible to connect your machines to the Linux host with ethernet, as well as other kinds of connection such as a dialup ppp link. This document will emphasize on ethernet connection, since it should be the most likely case.
This document is intended for users using kernels 2.0.x. Development kernels 2.1.x are NOT covered.
1.2 Foreword, Feedback & Credits
First of all, I would like to let you know that I am NOT a knowledgeable nor an experienced user of IP masquerade.
I find it very confusing as a new user setting up IP masquerade on a newer kernel, i.e. 2.x kernel. Although there is a FAQ and a mailing list, there is no document dedicates on that; and there are some requests on the mailing list for such a HOWTO. So, I decided to write this up as a starting point for new users, and possibly a building block for knowledgeable users to build on for documentation. If you think I’m not doing a good job, feel free to tell me so that I can make it better.
This document is heavily based on the original FAQ by Ken Eves , and numerous helpful messages in the ip_masq mailing list. And a special thanks to Mr. Matthew Driver whose mailing list message inspired me to set up ip_masq and eventually writing this.
Please feel free to send any feedback or comments to email@example.com if I’m mistaken on any information, or if any information is missing. Your invaluable feedback will certainly be influencing the future of this HOWTO!
This HOWTO is meant to be a quick guide to get your IP Masquerade working in the shortest time. The latest news and information can be found at the IP Masquerade Resource web page that I maintained. If you have any technical questions on IP Masquerade, please join the IP Masquerade Mailing List instead of sending email to me since I have limited time, and the developers of IP_Masq are more capable of answering your questions.
The latest version of this document can be found at the IP Masquerade Resource, which also contains the HTML and postscript version:
1.3 Copyright & Disclaimer
This document is
copyright(c) 1996 Ambrose Au, and it’s a free document. You can redistribute it under the terms of the GNU General Public License.
The information and other contents in this document are to the best of my knowledge. However, ip_masq is experimental, and there is chance that I make mistakes as well; so you should determine if you want to follow the information in this document.
Nobody is responsible for any damage on your computers and any other losses by using the information on this document. i.e.
THE AUTHOR IS NOT RESPONSIBLE FOR ANY DAMAGES INCURRED DUE TO ACTIONS TAKEN BASED ON THE INFORMATION IN THIS DOCUMENT.