Copy paste failed me - the iptables rules should be like this: -A RH-Firewall-1-INPUT -p tcp -s 192.168.124.27 -m tcp --dport 161 -j ACCEPT -A RH-Firewall-1-INPUT -p udp -s 192.168.124.27 -m udp --dport 162 -j ACCEPT
Né§t☼r Authority gone to one's head is the greatest enemy of Truth -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Florez, Nestor Sent: Thursday, March 26, 2015 10:45 AM To: [email protected] Subject: RE: how to Allow udp access to 1 ip address on 1 port - iptables I had a typo when I enter the IP address and this is the rule I am using to Allow solar winds to access my server. Once it is working I need to add the rule other server: -A RH-Firewall-1-INPUT -p tcp -s 192.168.124.27 -m tcp --dport 161 -j ACCEPT -A RH-Firewall-1-INPUT -p udp -s 192.168.124.27 -m udp --dport 162 -j ACCEPT Thanks Né§t☼r Authority gone to one's head is the greatest enemy of Truth -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Florez, Nestor Sent: Thursday, March 26, 2015 10:09 AM To: [email protected] Subject: RE: how to Allow udp access to 1 ip address on 1 port - iptables I meant any ideas why my iptables set up is not working to allow IP 192.168.324.27 snmp access on port 161 and 162 Né§t☼r Authority gone to one's head is the greatest enemy of Truth -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sean Sent: Thursday, March 26, 2015 8:53 AM To: [email protected] Subject: Re: how to Allow udp access to 1 ip address on 1 port - iptables > Any ideas? Do you mean for the ports to be different? > On Mar 26, 2015, at 10:34 AM, Florez, Nestor <[email protected]> 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 > > Any ideas? > > > Né§t☼r Authority gone to one's head is the greatest enemy of Truth > > <winmail.dat>-- > redhat-sysadmin-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- redhat-sysadmin-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- redhat-sysadmin-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- redhat-sysadmin-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- redhat-sysadmin-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
