new helper class: get network information
Corrected LAN rules, some refactoring

- Use new network helper lib
- Get LAN subnet instead of having static, default subnets
- Allow LAN DNS, though this may create troubles later (no onion access
  anymore for example)