how to Allow udp access to 1 ip address on 1 port - iptables
Florez, Nestor
NFlorez at sdcwa.org
Thu Mar 26 18:01:12 UTC 2015
Agggggggg, it keeps removing my newline character
-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: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Florez, Nestor
Sent: Thursday, March 26, 2015 10:51 AM
To: redhat-sysadmin-list at redhat.com
Subject: RE: how to Allow udp access to 1 ip address on 1 port - iptables
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: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Florez, Nestor
Sent: Thursday, March 26, 2015 10:45 AM
To: redhat-sysadmin-list at redhat.com
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: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Florez, Nestor
Sent: Thursday, March 26, 2015 10:09 AM
To: redhat-sysadmin-list at redhat.com
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: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Sean
Sent: Thursday, March 26, 2015 8:53 AM
To: redhat-sysadmin-list at redhat.com
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 <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
>
> Any ideas?
>
>
> Né§t☼r Authority gone to one's head is the greatest enemy of Truth
>
> <winmail.dat>--
> redhat-sysadmin-list mailing list
> redhat-sysadmin-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
--
redhat-sysadmin-list mailing list
redhat-sysadmin-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
--
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