[CentOS] CentOS 6.5 equivalents in CentOS 7

Thu Oct 30 14:20:03 UTC 2014
Always Learning <centos at u62.u22.net>

On Thu, 2014-10-30 at 10:01 -0400, Toby Bluhm wrote:

> On 10/30/2014 8:38 AM, Marko Vojinovic wrote:

> >     iptables -I INPUT -p tcp --dport 80 -j ACCEPT
> >
> > and
> >
> >     firewall-cmd --add-service=http

> To do this in cmd line on Windows:
> 
> netsh advfirewall firewall add rule name=httpd dir=in \
> localport=80 protocol=tcp enable=yes \
> profile=private,domain \
> remoteip=192.168.1.1,192.168.2.1 action=allow

Ugh. Very unappealing. I am so happy to be on Centos 5 and 6. :-)

How does one modify that Windoze rule ? In IPtables,

 -R 4web 5 -p tcp --dport 888 -s 192.168.2.1/23 -j ACCEPT


-- 
Regards,

Paul.
England, EU.