SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Linux OS.: Technical questions -- Ignore unavailable to you. Want to Upgrade?


To: E. Charters who wrote (251)8/27/1999 8:08:00 AM
From: Thomas A Watson  Read Replies (1) | Respond to of 484
 
Oh! Yeah When you use ipmasqerading, redhat by default does not turn on some modules.

I manually start the modules in /etc/rc.d/rc.local

# SuSe by default adds a ip_ modules for general clients to the kernal at start.
# Redhat does not.
# add ip forwarding of general clients
# /sbin/modprobe "module" modules are found in /lib/module/kernal_#/ipv4
/sbin/modprobe ip_masq_ftp.o
/sbin/modprobe ip_masq_irc.o
/sbin/modprobe ip_masq_raudio.o
/sbin/modprobe ip_masq_vdolive.o
/sbin/modprobe ip_masq_cuseeme.o
/sbin/modprobe ip_masq_quake.o

I also place my other generic ipfwadm commands here.

# added by taw for ipforward admin.

# By default DENY all services
/sbin/ipfwadm -F -p deny
# Flush all commands
/sbin/ipfwadm -F -f
/sbin/ipfwadm -I -f
/sbin/ipfwadm -O -f

# Forward email to your server
/sbin/ipfwadm -F -a accept -b -P tcp -S 0.0.0.0/0 1024:65535 -D 192.168.1.1 25
# Forward email connections to outside email servers
/sbin/ipfwadm -F -a accept -b -P tcp -S 192.168.1.1 25 -D 0.0.0.0/0 1024:65535

# Forward Web connections to your Web Server
/sbin/ipfwadm -F -a accept -b -P tcp -S 0.0.0.0/0 1024:65535 -D 192.168.1.1 80

# Forward Web connections to outside Web Serve
/sbin/ipfwadm -F -a accept -b -P tcp -S 192.168.1.0 80 -D 0.0.0.0/0 1024:65535

# Forward DNS traffic
/sbin/ipfwadm -F -a accept -b -P udp -S 0.0.0.0/0 53 -D 198.168.1.0/24

etc etc.

Hope this helps... Don't use net whatever.

Tom Watson tosiwmee