man, 2002-04-08 kl. 15:16 skrev Dionysus: > I was reading the netfilter docs hosted at samba.org for setting up > masquerading on a linux box for a dynamic ip ppp connection....there > were 3 commands in section 4.1 (I just want masquerading...help!), but > when I tried them out on my stock redhat 7.2 box, I got these error > blocks for the modprobe and iptables commands respectively: > > Note: /etc/modules.conf is more recent than > /lib/modules/2.4.2-2/modules.dep > /lib/modules/2.4.2-2/kernel/net/ipv4/netfilter/ip_tables.o: > init_module: Device or resource busy > Hint: insmod errors can be caused by incorrect module parameters, > including invalid IO or IRQ parameters
We seem to have had this time and time again on this list - and in fact it happened to me all those months ago. A standard RH 7.2 install will set up ipchains. Thus, you have the ipchains modules loaded. "chkconfig --del ipchains"; /etc/rc.d/init.d/ipchains stop"; 'lsmod | grep ipchains'; 'rmmod everything to do with ipchains'; "chkconfig --add iptables";"/etc/rc.d/init.d/iptables start". You will need /etc/iptables.rules; in this config file (which is a shell script) you'll need to load the iptables modules you want: modprobe ip_tables modprobe ip_conntrack modprobe ip_conntrack_ftp After that, the fun starts. Tony -- Tony Earnshaw e-post: [EMAIL PROTECTED] www: http://www.billy.demon.nl Telefoon: (+31) (0)172 530428 Mobiel: (+31) (0)6 51153356 GPG/PGP Fingerprint: 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
signature.asc
Description: Dette er en digitalt signert meldingsdel
