Bandwidth monitoring

jeremy at itassist.net.au jeremy at itassist.net.au
Fri Oct 5 09:57:16 EST 2001


Your script does both load modules and initialise things.  The kernel
should auto load these modules but for some reason doesn't (on my box
either).

This script would be your sysv init script, which is why you can
configure it with your favourite sysv-init-script-configuring-program (I
like ksysv).


> I attach herewith is the start of my iptables script on the off-chance
> that it contains the missing link that you were looking for:
> 
> 
> #Assumes a 10/8 LAN on eth0 and dialup IP on ppp0
> 
> #Be secure, ish
> PATH=/sbin:$PATH; export PATH
> 
> modprobe ip_conntrack
> modprobe ip_conntrack_ftp
> modprobe iptable_nat
> 
> hostname=`eureka.cabbage.patch` #using ` and not "
> any="0.0.0.0/0.0.0.0"
> 
> #Flush things
> iptables -F
> iptables -F -t nat
> iptables -F -t mangle
> iptables -X
> 
> etc, etc, ......
> 
> Hope that that is more helpful.
> 
> Felix
> 

-- 
I/O, I/O,
It's off to disk I go,
A bit or byte to read or write,
I/O, I/O, I/O...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20011005/35e50df3/attachment.bin


More information about the linux mailing list