You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
257 B

#!/bin/bash
printf "Disabling rp filter on local interfaces..\n"
sudo sysctl -w net.ipv4.conf.all.rp_filter=0
sudo sysctl -w net.ipv4.conf.default.rp_filter=0
sudo sysctl -w net.ipv4.conf.enp0s8.rp_filter=0
sudo sysctl -w net.ipv4.conf.lo.rp_filter=0