server---防火墙与NAT

1、linux防火墙类型:Netfilter(封包过滤)、Wrappers(程序管控)、Proxy
(1)Netfilter和iptables :
​Linux内核集成了网络访问控制模块Netfilter,而在用户层我们可以通过iptables这程序来对netfilter模块进行管理,从而实现允许,丢弃,拒绝等基本操作。​​
Netfilter分析对象:ip、port、mac
(2)Proxy:分析来源、目的ip
(3)Wrappers:
配置文件:/etc/hosts.allow /etc/hosts.deny
可以限制的软件:由super daemon所管理的服务(/etc/xinetd.d) 、支持libwrap.so模块的服务 (ldd $(which 服务名) )
2、iptables

猜你喜欢

转载自blog.csdn.net/misterfm/article/details/80770996