This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
device_filtering [2023/05/24 21:17] – [ebtables] -changed MAC address to caps for easier reading hogwild | device_filtering [2023/05/24 21:20] – [iptables] -formatting, syntax corrections hogwild | ||
---|---|---|---|
Line 28: | Line 28: | ||
===== iptables ===== | ===== iptables ===== | ||
- | # Block Internet access (or any intra-vlan)\\ | + | # Block Internet access (or any intra-vlan)\\ |
\\ | \\ | ||
- | # Block any network | + | # Block any network |
\\ | \\ | ||
- | # Unblock just rever whatever command | + | # Unblock just rever whatever command |
\\ | \\ | ||
- | # Flush\\ | + | # Flush\\ |
- | These days, blocking MAC addresses can be tedious task. Many client devices use a MAC randomization function. MAC addresses can " | + | \\ |
+ | |||
+ | These days, blocking MAC addresses can be tedious task. Many client devices use a MAC randomization function. MAC addresses can " | ||
For dealing with this, one alternative is to filter using hostnames. | For dealing with this, one alternative is to filter using hostnames. |