[問題] 新 kernel 的 iptables nat table
更新完系統
發現 kernel 更新後
原先 iptables nat table 有用到 -j DROP 會被提出警告:
The "nat" table is not intended for filtering, hence the use of DROP is
deprecated and will permanently be disabled in the next iptables release.
Please adjust your scripts.
那請問我應該要怎麼改我的 iptables 呢?
例如:
iptables -t nat -A PREROUTING -i $intif -s $deny_msn -d 207.46.0.0/16 -j DROP
intif = 內網網卡
deny_msn = 不能上 msn 的內網 ip
感謝指教
--
my server:
http://gaga.tw
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.116.15.111
→
09/24 12:30, , 1F
09/24 12:30, 1F
→
09/24 16:59, , 2F
09/24 16:59, 2F
→
09/24 19:11, , 3F
09/24 19:11, 3F
→
09/25 08:31, , 4F
09/25 08:31, 4F
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章