added polling policy and calculation of default port forwardings