User Tools

Site Tools


scraps


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scraps [2024/05/17 16:00] adminscraps [2025/03/13 13:08] (current) millerjs
Line 218: Line 218:
 allow allow
 cmdallow cmdallow
 +</code>
 +
 +===== Set NIC to promiscuous mode at boot =====
 +Using systemd:
 +
 +`/etc/systemd/system/promisc-eth0.service`
 +
 +<code>
 +[Unit]
 +Description=Control promiscuous mode for interface eth0
 +After=network.target
 +
 +[Service]
 +Type=oneshot
 +ExecStart=/usr/bin/ip link set eth0 promisc on
 +ExecStop=/usr/bin/ip link set eth0 promisc off
 +RemainAfterExit=yes
 +
 +[Install]
 +WantedBy=multi-user.target
 </code> </code>
  
scraps.1715961623.txt.gz · Last modified: 2024/11/14 02:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki