Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
there are a lot of ways. you can set up ip masquerading. to do that check out the ipmasq how to at www.linuxdoc.org.
Or, you can do what i did and download a distrobution that sets it all up for you. i use freesco (www.freesco.org). Its really easy to set up and you don't even need a hard drive.
I'd suggest that you do as Mr. Fightclub recommends and printout the ipmasquerading documentation and follow it page by page. It describes in detail how to set up masquerading and forwarding, and you probably can have it all running in one evening. One thing the document does not provide is a good set of rules for the firewall. An easy way to do this is to search for a good script as a starting point and modify it from there.
Building and configuring it your self will help you learn linux much more in the long run as apposed to using a fully functioning Linux firewall release. You will probably have to rebuild the kernel; insert modules; mess around with the init scripts and more. It's a lot of fun. You will be a linux guru before you know it.
One thing to remember, if you are using kernel version 2.2.x or less you will be using ipchains as your IP packet filter. For kernels 2.4.x or greater, iptables is the packed filter.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.