I finally managed to get my RH 5.2 server to masquerade.  Simply by using the
reserved 192.168.1.x addresses.  It seems that one must use one of these
ranges and can not 'invent' internal ip addresses.  This may seem obvious but
it worked with a non-standard range on the old slackware linux server.

For the information of other RH 5.2 users wanting to set up ip masq; I
followed the IPMASQ-HOWTO and edited the rc.local file to look like below.
This is actually slightly different to the HOWTO suggests.

My /etc/rc.d/rc.local file: (a snippet actaully)

echo "Setting up ip masquerading"
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp.o
echo "Setting up permissions for 192.168.1.0 for mas"
/sbin/ipfwadm -I -f
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
echo "Removing router route"
/sbin/route del default

So far everything seems to work...


-- 
Daniel Barron - Senior Technical Assistant    PC and Network Support Dept
Beebug, 117 Hatfield Road, St Albans, AL1 4JS  Tel:01727 840303/fax860263

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to