在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/Linux  網(wǎng)絡(luò)安全/ failed to append linux nat table (iptabl

failed to append linux nat table (iptables)

When I enter command as below

iptables -t nat -A PREROUTING -i eth0 -s 10.0.0.0/8 -j DROP

it always displays

the "nat" table is not intended for filter,the use of DROP is therefore inhibited

But I get this rule from various guides,is there any miscommunication on it?

Any help will be appreciated.

Thanks.

回答
編輯回答
老梗

You can use iptables's filter table not nat table

2017年9月20日 10:22
編輯回答
瘋浪

因?yàn)樵?nat 里做 filter 不太合適,新版本的 iptables 就廢棄了這個(gè)功能。

估計(jì)你看的教程比較久遠(yuǎn)了吧

2018年4月20日 22:40