78

73.fileter表案例,NAT表的应用-雷神闪-51CTO博客

 6 years ago
source link: http://blog.51cto.com/sdwaqw/2068777
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
fileter表案例要求如下:只针对filter表,预设策略INPUT链DROP,其他两个链ACCEPT,然后针对192.168.204.0/24开通22端口,对所有网段开放80端口,对所有网段开放21端口。这个需求不算复杂,但是因为有多条规则,所以最好写成脚本的形式。脚本内容如下root@zlinux~]#cat/usr/local/sbin//iptables.shcat:/usr/local

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK