Fix iptables and sysctl settings.