As a security best practice, verify that your VMware virtual appliance host machines use IPv4 reverse path filtering.
About this task
Reverse-path filtering protects against spoofed source addresses by causing the system to discard packets with source addresses that have no route or a route that does not point towards the originating interface. Configure your host machines to use reverse-path filtering whenever possible. In some cases, depending on the system role, reverse-path filtering can cause the system to discard legitimate traffic. If you encounter such problems, you might need to use a more permissive mode or disable reverse-path filtering altogether.
- Run the
# grep  /proc/sys/net/ipv4/conf/*/rp_filter|egrep "default|all"command on the VMware virtual appliance host machines to verify that they use IPv4 reverse path filtering.
If the virtual machines use IPv4 reverse path filtering, this command returns the following:
If your virtual machines are configured correctly, no further action is required.
- If you need to configure IPv4 reverse path filtering on host machines, open the /etc/sysctl.conf file in a text editor.
- Check the values of the lines that begin with
If the values for the following entries are not set to 1 or if they do not exist, add them to the file or update the existing entries accordingly.
- Save the changes and close the file.