Re: CentOS 6.5 equivalents in CentOS 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux