常用iptables设置
摘要:
1 #!/bin/bash 2 3 # Name of wan and lan interface 4 wan_interface=eth1 5 lan_interface=eth0 6 vbox_int=vboxnet0 7 8 # Where is iptables 9 BIN=/sbin/iptables10 11 $BIN -X12 $BIN -F13 $BIN -F -t nat 14 $BIN -F -t raw15 16 #$BIN -P INPUT DROP17 $BIN -P INPUT ACCEPT18 $BIN -P OUTPUT ACCEPT19 $BIN -P ... 阅读全文
posted @ 2013-01-18 13:28 华子的代码空间 阅读(263) 评论(0) 推荐(0) 编辑