Hi,

Here is the VERYT END of my /etc/rc.d/rc.local  entry that handles this..


/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -i eth0 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward



If you are getting permission denied, make sure ROOT has RW ..... You may need
to actually create the file first by??

touch /proc/sys/net/ipv4/ip_forward


I too, am using my cable mode for shared access.  It may possibly be that you
need to change perms on ipchains.  This worked
without modification on all my prev. Mandrake indstalls, but I know for whatever
 reason, not two setups are ever the same!!


Hope this helps!


Bryan







Jaguar <[EMAIL PROTECTED]> on 03/24/2000 10:52:38 AM

Please respond to [EMAIL PROTECTED]

To:   Linux Newbie <[EMAIL PROTECTED]>
cc:    (bcc: Bryan Moorehead/Link/Allied Holdings)
Subject:  [newbie] IPCHAINS/MASQ/FORWARDING




I wrote to the list a few days ago, asking for some help...the _ONLY_ reply I
got was, RTFM...well I have RTFM's till I am more confused.  I wanted to know
if in MDK7.02, IPV4 is compiled in the default install kerenl, or if I have to
recompile with IPV4 enabled???
How pucking hard is it to tell me yes or no???
I have run the /proc/(something's??)/ip_chains, and got PERMISSION DENIED ,
and yes as ROOT.
Is there a HOWTO posted on installing/setting up IPCHAINS for sharing a cable
modem over a network?
Jaguar

____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.







Reply via email to