>BUT, Im so new to this and have re-done my system 2 times, becuase Ive
>royally screwed it up fiddling with settings from this page of that :)  

Best way to learn if you ask me.


>2) I added these lines to /etc/rc.d/rc.local:    (thanks a million John
>Henderson!)
>
>echo "ip_masq 192.168.0.1"
>echo "1" > /proc/sys/net/ipv4/ip_forward
>/sbin/depmod -a
>/sbin/modprobe ip_masq_ftp.o
>/sbin/modprobe ip_irc.o
>/sbin/modprobe ip_masq_raudio.o
>/sbin/ipfwadm -F -p deny
>/sbin/ipfwadm -F -a m -S192.168.0.0/24 -D0.0.0.0/0
>/sbin/ifconfig eth1 192.168.0.1
>/sbin/route add -net 192.168.0.0

Redhat will do the ifconfig and route statements for you.  So, 
delete these out of your /etc/rc.d/rc.local file.  Also, I
would recommmend to optimize your network performance with
TCP windows.  This is documented in the TrinityOS doc:

http://www.ecst.csuchico.edu/~dranch/LINUX/index-linux.html



>And that's all Ive done, It seems to be working ok. But, i get an error on
>boot up, rc.d/rc.6/routed -no file.   

routed is a routing protocol which you DON'T need nor want.  Disable it
by running "ntsysv" and unselecting that daemon.


>Should I re-do the kernel (2.0.36) and add ip masq like it says ? Would it
>be more efficient if I did so ? Or am I ok ?

Naw.. Redhat's 5.2 kernel has everything under the sun module'ized into
it.  Unless you are comfortable with recompiling, don't mess with it.
If you are curious, kernel compiling is covered in the TrinityOS doc
too.


>Since I finally got something working, I'd like to leave it alone, but if
>there's someting taboo in this, I'd like to fix it asap.

SECURITY.  Again.. read the TrinityOS doc.

--David
.----------------------------------------------------------------------------.
|  David A. Ranch - Linux/Networking/PC hardware         [EMAIL PROTECTED]  |
!----                                                                    ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to