parse tunnel devices from config