GetInterfaces(array('ip' => $_SERVER['REMOTE_ADDR'])); if (!empty($interfaces)) { $nodes = $adm->GetNodes(array($interfaces[0]['node_id'])); if (!empty($nodes)) { $node = $nodes[0]; $interfaces = $adm->GetInterfaces($node['interface_ids']); foreach ($interfaces as $interface) { // Nodes with proxy socket interfaces need to be able to forward // between the fake proxy0 interface and the real interface. if ($interface['method'] == 'proxy') { $ip_forward = 1; break; } } } } ?> # # sysctl configuration file to optionally enable/disable IP forwarding # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # # This file is generated by NodeManager Configuration Files... # do not manually edit # # Controls IP packet forwarding net.ipv4.ip_forward =