/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */


Hi,

 I am trying to test ip_masq_h323 using Redhat ver 6.1, kernel 2.2.12-20. I have a 
simple firewall script which looks like this.. 

#!/bin/sh
#
# rc.firewall - Initial SIMPLE IP Masquerade test for 2.1.x and 2.2.x kernels using 
IPCHAINS

# Needed to initially load modules
#
/sbin/depmod -a

# Supports ip_masq_h323
#
/sbin/insmod ip_masq_h323

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

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

# MASQ timeouts
#
/sbin/ipchains -M -S 7200 10 160

# Enable simple IP forwarding and Masquerading
#
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.0.0/24 -i eth1 -j MASQ

 I have added the line

echo "Loading the rc.firewall ruleset.." /etc/rc.d/rc.firewall 

to my rc.local. 

However if I reboot the ip_masq_h323 module is not loaded automatically. 

Any suggestions? 

Thanks,

Jaimin.


Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at 
http://www.eudoramail.com

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES 
UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to