Khwooo’s Weblog

February 29, 2008

iptables tips

Filed under: linux — khwooo @ 1:22 pm

最近在調整我的wl500g
wl500g是利用iptables來設定防火牆的
於是研究了一下iptables這個指令

iptables -h 列出help
iptables -A append加上一條規則
iptables -D 刪除一條規則
iptables -L 列出所有目前規則
iptables -L INPUT -vn 僅列出input規則且顯示數據

參考資料:
iptables 入門
Linux 2.4 Packet Filtering HOWTO: 使用 iptables
鳥哥的 Linux 私房菜 — Linux 防火牆與 NAT 主機

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: