Saturday, March 20, 2010

iptables註解

給未來的裕翔

如果像要對iptables進行註解

必須注意, 註解和設定不能同一行

以下是可以的

# ssh
-A CLASS-RULES -p tcp --dport 22 -j ACCEPT


以下是會錯誤的

-A CLASS-RULES -p tcp --dport 22 -j ACCEPT # ssh

No comments:

Post a Comment