Open the Promiscuous mode of interface

作者: shaneZhang 分类: 互联网技术 发布时间: 2022-02-24 08:59

Toggling promiscuous mode will make a (wireless) NIC forward all traffic it receives to the OS for further processing. This is opposite to “normal mode” where a NIC will drop frames it is not intended to receive. It is most often used for advanced network troubleshooting and packet sniffing.

sudo vim /etc/systemd/system/promiscuous@.service

Description=Set %i interface in promiscuous mode

ExecStart=/usr/bin/ip link set dev %i promisc on


If you want to enable promiscuous mode on interface enp2s0 run enable promiscuous@enp2s0.service.

sudo systemctl enable promiscuous@enp2s0.service

本页面支持繁体中文友好显示:Open the Promiscuous mode of interface



您的电子邮箱地址不会被公开。 必填项已用 * 标注