20150312Wrapper, Firewall

Source: Internet
Author: User

1,TCP Wrapper is a tool for access control . Effective in real time. /etc/hosts.allow,/etc/hosts.deny

Eg: allow only 172.16.0.1 logon Telnet:vim/etc/hosts.deny write: In.telnetd:ALL EXCEPT 172.16.0.1

Not all services can be implemented with TCP wrapper, only the daemon that are connected to the LibWrap module.

LDD $ (which httpd) |grep wrap

2. One of the biggest advantages of FIREWALLD is that any change takes effect in real time because he modifies only the changed parts, while Iptables is recreating all the rule, thus breaking the current connection.

systemctl The Service systemctl command to serve and Chkconfig commands combined.

Although the FIREWALLD is in effect immediately, if a restart is required, you can restart the service, or you can reload the service

650) this.width=650; "src=" http://www.linuxidc.com/upload/2015_02/1502162149801813.jpg "style=" border:0px; "/>

http://blog.csdn.net/julius819/article/details/7665679

 firewall-cmd--get-service View service, Firewall-cmd--query-service=http judge whether the service is open, --permanent Permanent entry

3. Port forwarding


20150312Wrapper, Firewall

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.