LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   IP Masquerading problem!!! (https://www.linuxquestions.org/questions/linux-newbie-8/ip-masquerading-problem-28997/)

bkmesenbrink 08-28-2002 10:40 AM

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 10.0.0.0/24 -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.

Mara 08-28-2002 03:29 PM

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.


All times are GMT -5. The time now is 05:25 PM.