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

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