Quantcast
Viewing all articles
Browse latest Browse all 5970

Persisting arptables on Ubuntu 18

I am using Ubuntu 18 with UFW as the basic firewall.

I need to restrict some ARP traffic from the box, and I can that by using the following arptables command:

sudo arptables -I OUTPUT --source-mac source-mac-here --destination-mac destination-mac-here -j DROP

However, when I reboot the machine the arptables entries are lost.

How can I persist the arptable entries across a reboot?I need this to work with the existing UFW config.

Thanks


Viewing all articles
Browse latest Browse all 5970

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>