how to Allow udp access to 1 ip address on 1 port - iptables
Fran Garcia
franchu.garcia at gmail.com
Thu Mar 26 22:08:30 UTC 2015
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.
More information about the redhat-sysadmin-list
mailing list