how to Allow udp access to 1 ip address on 1 port - iptables

Florez, Nestor NFlorez at sdcwa.org
Fri Mar 27 00:04:36 UTC 2015


Frank,

I will try that,

thanks

Né§t☼r  Authority gone to one's head is the greatest enemy of Truth

-----Original Message-----
From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Fran Garcia
Sent: Thursday, March 26, 2015 3:09 PM
To: redhat-sysadmin-list at redhat.com
Subject: Re: how to Allow udp access to 1 ip address on 1 port - iptables

On 26 March 2015 at 16:34, Florez, Nestor <NFlorez at sdcwa.org> wrote:
> I am trying the rules below and the network guy tells me that he can 
> not access my server for access with solar winds; -A 
> RH-Firewall-1-INPUT -p tcp -s 192.168.324.27 -m tcp --dport 161 -j 
> ACCEPT -A RH-Firewall-1-INPUT -p udp -s 192.168.324.27 -m udp --dport 
> 162 -j ACCEPT

"snmp poll"  traffic is usually 161/UDP, not tcp.

if this doesn't fix the issue, paste iptables -L -n -v --line-numbers . You might be dropping the traffic with some other DROP line above.

Cheers

f.

--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list




More information about the redhat-sysadmin-list mailing list