Make tunDevice configurable