Sysctl configuration

From ISPWiki
Jump to: navigation, search

During setup of VMmanager OVZ and connection of cluster node, sysctl.conf parameters are modified.

#Enable package forwarding:
net.ipv4.ip_forward = 1
net.ipv4.conf.default.forwarding = 1
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
#Connect Proxy ARP:
net.ipv4.conf.default.proxy_arp = 0
#Check route from the source:
net.ipv4.conf.all.rp_filter = 1
#Enable "magic-sysrq key":
kernel.sysrq = 1
#Configure package redirect:
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
#Enable  Neighbour Discovery Protocol (NDP) for IPv6:
net.ipv6.conf.default.proxy_ndp = 1
net.ipv6.conf.all.proxy_ndp = 1