Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 08-03-2003, 08:56 AM   #1
Registered: Jul 2003
Posts: 152

Rep: Reputation: 30
Urgent: IP masquerading in Debian 3.0

Do I need to re-compile the kernel?
Or, the kernel is already support the IP masquerading?
Old 08-03-2003, 09:45 AM   #2
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 137

Rep: Reputation: 18
apt-get install ipmasq did the trick for me.
Old 08-07-2003, 11:52 AM   #3
LQ Newbie
Registered: Aug 2003
Location: Boulder, CO
Distribution: Debian & redhat
Posts: 3

Rep: Reputation: 0
iptables or ipchains?

I prefer to use iptables. I've found it to be much easier to use and more flexible than ipchains. It's quite easy to set up..

Download a 2.4 kernel and compile it.
Here are the relevant options using 2.4.21 from .config. I've put them in a link because they are too long to include here.

After you recompile (don't forget to include all your other options!), use these two commands:

echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

Where eth1 is your EXTERNAL interface. You may need to look at your routing tables (route -n) to make it work correctly.

Note that this is a WIDE OPEN configuration and provides
NO security. Beware! See the IP tables howto for information on a more secure setup.

Hope that helps...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 08:07 PM
Urgent..Im Having A Nightmare..Urgent!!!! midgcool Linux - Software 41 11-30-2004 10:19 AM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 02:22 AM
IP masquerading in Debian 3.0 swmok Linux - Networking 0 08-02-2003 01:19 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration