Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can someone please explain with an example why reverse path filtering need to be disabled while using IPIP/GRE tunneling?

echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
share|improve this question
up vote 2 down vote accepted

Reverse path filter was introduced to support Strong Send and Receive. Which now most of the Operating Systems have as default setting. In Strong Send and Receive OS transmits outgoing packet only from the same interface from which it has received it. In tunneling packets are received on tunnel interface but they go out from different interface. Hence if RPF is enabled on back-end servers response will not be delivered to clients.

Hence, Reverse Path Filtering should be disabled on routers for the subnet of back-end servers.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.