Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-28-2002, 11:40 AM   #1
Registered: Jul 2002
Posts: 38

Rep: Reputation: 15
IP Masquerading problem!!!

I am trying to get IP-Masquerading going on a RH7.1 machine. I have to use RH7.1 for this server. I created the following ipmasq script;

# !/bin/sh

echo "Setting up IP Masquerading ..."


echo "1" > /proc/sys/net/ipv4/ip_forward


/sbin/ipchains -P forward DENY

/sbin/ipchains -A forward -s -j MASQ


#--- end of file

when I execute the script I get the following errors;

ipchains: Protocol not available

ipchains: Protocol not available

What is causing this??? I need help with this. This is quite urgent since the server is to ship out this Friday for a show.
Old 08-28-2002, 04:29 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,684

Rep: Reputation: 230Reputation: 230Reputation: 230
Your script is OK. It looks tou don't have ipchains support compiled into your kernel.
You need:
Networking options -> Network firewalls, Unix domain sockets, TCP/IP Networking, IP: firewalling, IP: masquerading.


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
Masquerading problem eqxro Linux - Networking 0 01-14-2005 06:01 PM
IP Masquerading problem. jsaxton86 Linux - Networking 3 09-03-2004 10:45 PM
IP Masquerading problem cijunet Slackware 1 04-04-2003 07:42 PM
IP MAsquerading /Routing Problem krpotdar Linux - Networking 0 09-27-2001 07:36 AM
*REALLY* strange problem with ip masquerading 10e999 Linux - Networking 1 04-14-2001 11:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:39 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