Jun 3, 2003 #1 cajunrob IS-IT--Management May 14, 2003 4 US I am running ipchains on Redhat 7.2. I can't access snmp whenever I bring up ipchains. I am using this line: -A input -s 0/0 -d 0/0 161 -p tcp -y -j ACCEPT But I still can't access it. What other ports do I need to open and how?
I am running ipchains on Redhat 7.2. I can't access snmp whenever I bring up ipchains. I am using this line: -A input -s 0/0 -d 0/0 161 -p tcp -y -j ACCEPT But I still can't access it. What other ports do I need to open and how?
Jun 3, 2003 #2 newmangj Technical User Jun 16, 2002 150 AU You specify TCP, snmp traffic uses UDP by default. You may also want to open port 162 for snmp trap handling. Upvote 0 Downvote
You specify TCP, snmp traffic uses UDP by default. You may also want to open port 162 for snmp trap handling.
Jun 4, 2003 Thread starter #3 cajunrob IS-IT--Management May 14, 2003 4 US How do I open UDP? I've tried "-A input -s 0/0 -d 0/0 161 -p udp -y -j ACCEPT" but ipchains won't accept that. What is the syntax for UDP? Upvote 0 Downvote
How do I open UDP? I've tried "-A input -s 0/0 -d 0/0 161 -p udp -y -j ACCEPT" but ipchains won't accept that. What is the syntax for UDP?
Jun 5, 2003 Thread starter #5 cajunrob IS-IT--Management May 14, 2003 4 US I finally figured it out. I am using the following: -A input -s 0/0 -d 0/0 161 -p udp -j ACCEPT -A input -s 0/0 -d 0/0 162 -p udp -j ACCEPT Upvote 0 Downvote
I finally figured it out. I am using the following: -A input -s 0/0 -d 0/0 161 -p udp -j ACCEPT -A input -s 0/0 -d 0/0 162 -p udp -j ACCEPT