On Wednesday 07 January 2004 9:34 am, Gilles Yue wrote: > Hi, > Opening port 1491 does not work. Any other idea? As far as I know SNMP uses UDP ports 161 and 162. This is confirmed by the entries in my /etc/services file too. I don't know if that's what MRTG uses, but might be worth trying. The other approach is to turn on LOGging of dropped packets on your firewall - try using MRTG and see what protocols/ports you see being dropped. That will tell you what you need to allow through. Antony. > -----Original Message----- > From: Eugene Joubert [mailto:EugeneJ@xxxxxxxxxxxxxxx] > Sent: Wednesday, January 07, 2004 12:29 PM > Cc: netfilter@xxxxxxxxxxxxxxxxxxx > Subject: RE: MRTG and IPTABLES > > Hi, > > It uses SNMP protocol. I think this is built on top of the UDP protocol. > I > am not sure. Try opening up UDP port 1491. > > Hope this helps > > Eugene > > -----Original Message----- > From: John A. Sullivan III [mailto:john.sullivan@xxxxxxxxxxxxx] > Sent: 07/01/2004 10:04 AM > To: Gilles Yue > Cc: netfilter@xxxxxxxxxxxxxxxxxxx > Subject: Re: MRTG and IPTABLES > > On Wed, 2004-01-07 at 01:54, Gilles Yue wrote: > > MRTG cannot work properly due to iptables running. > > > > > > > > Anybody knows which port number to open to enable MRTG to work > > properly. > > <snip> > > No, not off hand but you can use a tool like Ethereal > (http://www.ethereal.com) or just tcpdump or even just log the ropped > packets in iptables to determine what MRTG is trying to do. Good luck - > John -- This email is intended for the use of the individual addressee(s) named above and may contain information that is confidential, privileged or unsuitable for overly sensitive persons with low self-esteem, no sense of humour, or irrational religious beliefs. If you have received this email in error, you are required to shred it immediately, add some nutmeg, three egg whites and a dessertspoonful of caster sugar. Whisk until soft peaks form, then place in a warm oven for 40 minutes. Remove promptly and let stand for 2 hours before adding some decorative kiwi fruit and cream. Then notify me immediately by return email and eat the original message. Please reply to the list; please don't CC me.