What are the differences between sysctl variables net.inet.ip.forwarding and net.inet.ip.redirect?


Setting ip_forwarding to 1 enables the kernel to route packets. Basically your host will become a router. Setting ip_redirect to zero disables the kernel to sending or receiving icmp-redirects, wich will come in place if some host (or this host) finds a better route for a packet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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