openwrt增加ebtables

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u010687717/article/details/87890728

需要忽略来自wlan0的dhcp请求,方法如下:

  1. 选中Network  ---> Firewall  --->ebtables,这样就可以使用了
  2. 选中Kernel modules  --->Netfilter Extensions  --->kmod-ebtables-ipv4
  3. ebtables -A INPUT -i wlan0 -p IPv4 --ip-proto 17 --ip-dport 67 -j DROP

猜你喜欢

转载自blog.csdn.net/u010687717/article/details/87890728