Re: CentOS 6.5 equivalents in CentOS 7

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



On Wed, 2014-10-29 at 19:14 -0700, Jason T. Slack-Moehrle wrote:

> so I figured this out, I think:
> 
> firewall-cmd --zone=public --add-port=2888/tcp --permanent
> 
> but if is a known service, you can use:
> 
> firewall-cmd --zone=public --add-service=http --permanent
> 
> and then reload the firewall
> 
> firewall-cmd --reload

iptables -A table-name -p tcp --dport 80 -j ACCEPT

No reboot needed. 'table-name' can be INPUT or another user defined
table name.

firewall-cmd with its Windoze-like structure and syntax is definitely
unappealing to many normal firewall users.


-- 
Regards,

Paul.
England, EU.

Learning until I die or experience dementia.


_______________________________________________
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