一個簡單的ipf配置檔案
#pass out quick on lo0
#pass in quick on lo0
pass in quick on ce0 proto tcp from any to any port = 80 flags S keep state
#pass in quick on ce0 proto tcp from any to any port = 10000 flags S keep state
pass in quick on ce0 proto tcp from any to 59.175.238.72/32 port = 21 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 20 flags S keep state
pass out quick on ce0 from any to any port = 53 keep state
pass in quick on ce0 proto tcp from any to any port = 25 flags S keep state
pass out quick on ce0 proto tcp from any to any port = 25 keep state
pass out quick on ce0 proto tcp from any to any port = 25 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 25 keep state
pass out quick on ce0 proto tcp from any to any port = 110 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 110 keep state
pass in quick on ce0 proto tcp from any to any port = 110 flags S keep state
pass out quick on ce0 proto tcp from any to any port = 110 keep state
pass in quick on ce0 proto tcp from any to any port = 3306 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 22 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 8801 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 8089 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 8973 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 23 flags S keep state
pass in quick on xl2 proto tcp from any to any port=143
#pass out quick on ce0 proto tcp from 59.175.238.72/32 to any port = 110 flags S keep state
pass out quick on ce0 proto tcp from 59.175.238.72/32 to any port = 21 keep state
pass out quick on ce0 proto tcp from any to any port = 20 keep state
pass out quick on ce0 proto tcp from any to any port = 22 keep state
pass out quick on ce0 proto tcp from any to any port = 80 keep state
#pass out quick on ce0 proto tcp from any to any port = 10000 keep state
pass out quick on ce0 proto tcp from any to any port = 3306 keep state
pass out quick on ce0 proto tcp from any to any port = 8801 keep state
pass out quick on ce0 proto tcp from any to any port = 8089 keep state
pass out quick on ce0 proto tcp from any to any flags S keep state
pass in quick on ce0 proto icmp from any to any icmp-type 0
pass in quick on ce0 proto icmp from any to any icmp-type 11
#block in quick on ce0 proto udp from any to any port 33434 >< 33465
#pass in all
pass out quick all
block in all
#pass out all
#block out all[@more@]
#pass in quick on lo0
pass in quick on ce0 proto tcp from any to any port = 80 flags S keep state
#pass in quick on ce0 proto tcp from any to any port = 10000 flags S keep state
pass in quick on ce0 proto tcp from any to 59.175.238.72/32 port = 21 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 20 flags S keep state
pass out quick on ce0 from any to any port = 53 keep state
pass in quick on ce0 proto tcp from any to any port = 25 flags S keep state
pass out quick on ce0 proto tcp from any to any port = 25 keep state
pass out quick on ce0 proto tcp from any to any port = 25 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 25 keep state
pass out quick on ce0 proto tcp from any to any port = 110 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 110 keep state
pass in quick on ce0 proto tcp from any to any port = 110 flags S keep state
pass out quick on ce0 proto tcp from any to any port = 110 keep state
pass in quick on ce0 proto tcp from any to any port = 3306 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 22 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 8801 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 8089 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 8973 flags S keep state
pass in quick on ce0 proto tcp from any to any port = 23 flags S keep state
pass in quick on xl2 proto tcp from any to any port=143
#pass out quick on ce0 proto tcp from 59.175.238.72/32 to any port = 110 flags S keep state
pass out quick on ce0 proto tcp from 59.175.238.72/32 to any port = 21 keep state
pass out quick on ce0 proto tcp from any to any port = 20 keep state
pass out quick on ce0 proto tcp from any to any port = 22 keep state
pass out quick on ce0 proto tcp from any to any port = 80 keep state
#pass out quick on ce0 proto tcp from any to any port = 10000 keep state
pass out quick on ce0 proto tcp from any to any port = 3306 keep state
pass out quick on ce0 proto tcp from any to any port = 8801 keep state
pass out quick on ce0 proto tcp from any to any port = 8089 keep state
pass out quick on ce0 proto tcp from any to any flags S keep state
pass in quick on ce0 proto icmp from any to any icmp-type 0
pass in quick on ce0 proto icmp from any to any icmp-type 11
#block in quick on ce0 proto udp from any to any port 33434 >< 33465
#pass in all
pass out quick all
block in all
#pass out all
#block out all[@more@]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/197458/viewspace-1007295/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 一個.Net簡單、易用的配置檔案操作庫
- 簡單的ANT配置檔案
- 一個簡單的 SpringBoot 專案的 Dockfile 和 cicd 檔案配置Spring Boot
- 一個簡單的檔案管理程式 (轉)
- 一個最簡單的XML檔案(轉)XML
- 配置一個簡單的傳統SSM專案SSM
- 一個簡單的Gradle指令碼檔案Gradle指令碼
- 簡單說說webpack的配置檔案Web
- IDEA配置Maven執行一個簡單的專案IdeaMaven
- 一個簡單多庫配置
- Mybatis【配置檔案】就是這麼簡單MyBatis
- [Vue]寫一個簡單的檔案上傳控制元件Vue控制元件
- Vue封裝一個簡單輕量的上傳檔案元件Vue封裝元件
- 將framework檔案放在一個單獨的檔案中Framework
- 如何在jenkins上新建一個專案及其簡單配置Jenkins
- 最簡單的SpringBoot示例之.yml配置檔案Spring Boot
- 登入啟動shell時候呼叫的幾個配置檔案簡單總結
- 使用 Fuse 和 java 17 編寫一個簡單的檔案系統Java
- 寫了一個簡單的Linux Shell用來下載檔案Linux
- PHP單一檔案入口框架簡析PHP框架
- 一個簡單的python指令碼:從給出的svnurl取出檔案Python指令碼
- 用Vue編寫一個簡單的仿Explorer檔案管理器Vue
- 使用簡單工廠寫一個可複用的批量檔案修改工具
- 如何簡單的在TF卡上做一個Linux的檔案系統Linux
- 簡單介紹nacos單機本地配置檔案儲存位置方式
- 分享一個簡單的聊天室專案
- 最簡單的授權檔案
- SpringBoot獲取配置檔案,就這麼簡單。Spring Boot
- Nginx的另一個選擇 - Traefik 入手及簡單配置Nginx
- solrCloud單個配置檔案更新後如何上傳zookeeperSolrCloud
- hadoop 配置檔案簡析Hadoop
- 構建一個簡單的react-typescript專案ReactTypeScript
- 簡單的檔案快取函式快取函式
- Structs的配置檔案都在一個檔案(struct-config.xml)中嗎?StructXML
- IIS7禁用單個靜態檔案的快取配置方法快取
- 一個簡單vue.config.js配置和axios簡單封裝VueJSiOS封裝
- 檔案管理簡單介紹
- 一個簡單的 PWA 指南